tuigreet icon indicating copy to clipboard operation
tuigreet copied to clipboard

[Suggestion] Use a different method, such as getent() or userdbctl(), to get list of usernames for the user-menu.

Open benniekiss opened this issue 2 years ago • 0 comments

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

benniekiss avatar Aug 13 '22 17:08 benniekiss