On Sat, Oct 4 2025 at 10:11:07 PM -00:00:00, Wolfgang Rupprecht <[email protected]> wrote:
The two aspects that scared me were:

1) that UID wasn't shown in /etc/passwd  (minor bug)

/etc/passwd is only one of many possible providers of user accounts. To see them all, check the passwd line in /etc/nsswitch.conf. On my system it looks like this:

passwd:     files systemd

nss-files provides user accounts from /etc/passwd, but nss-systemd can also provide user accounts, which is what's happening here. I think we used to use nss-sssd as well, but I guess that's not enabled by default anymore. At least, it's not there for me.

2) that UID didn't follow the convention of system UID's being less than 1000 (another minor bug

That convention only applies to statically-allocated uids, not for dynamic users. The login screen is uses a new dynamic (temporary) user each time you start it. For more info:

https://gitlab.gnome.org/GNOME/gdm/-/issues/553
https://gitlab.gnome.org/GNOME/gdm/-/merge_requests/289

There is actual documentation here:

https://systemd.io/USER_GROUP_API/

Michael


--
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to