probably not a huge deal, but bigger implications
probably not a huge deal, but bigger implications
Posted Jun 24, 2025 14:20 UTC (Tue) by rjones (guest, #159862)In reply to: probably not a huge deal, but bigger implications by joib
Parent article: GNOME deepens systemd dependencies
I've always just used 'getent' to look up users and groups.
This leverages nss and thus works regardless of what service is sourcing the id numbers for these things. This includes the systemd dynamic uids, which is also exposed via nss with the nss-systemd module.
Cat your /etc/nsswitch.conf to confirm. You should see 'systemd' listed there after files, etc
I don't think there is anything special that applications need to do to support anything at this point. Even if /etc/passwd was to magically disappear.
