tuigreet
tuigreet copied to clipboard
[Suggestion] Use a different method, such as getent() or userdbctl(), to get list of usernames for the user-menu.
Enhancement/Suggestion
Currently, the user-menu is sourced by directly reading /etc/passwd > https://github.com/apognu/tuigreet/blob/599d8d5d3657e6c25b3877f84a09979a79256600/src/info.rs#L91
This method gets most users, but it leaves out other user databases.
Using getent passwd
, userdbctl users
, or another method would capture many more user databases.
My use case is that I am using systemd-homed, so my users do not appear in /etc/passwd, and they do not show up in the greeter user-menu