reload_passwd uses fgetpwent rather than getpwent, ignoring /etc/nsswitch.conf
Bug #873784 reported by
Alex Rolfe
This bug affects 6 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
accountsservice |
Fix Released
|
Wishlist
|
|||
accountsservice (Ubuntu) |
Confirmed
|
Undecided
|
Vibhav Pant | ||
Bug Description
In daemon.c, reload_passwd opens /etc/passwd and reads it with fgetpwent. This only finds local accounts whereas using getpwent would respect the settings in /etc/nsswitch.conf and also find accounts provided via ldap, nis, etc. This means that login screens (eg, lightdm) don't display the full list of users, only those in /etc/passwd. All users are able to login, so this is an annoyance rather than a serious problem.
accountsservice 0.6.14-1git1 in oneiric (haven't checked other versions).
Changed in accountsservice: | |
importance: | Unknown → Wishlist |
status: | Unknown → Fix Released |
Changed in accountsservice (Ubuntu): | |
assignee: | nobody → Vibhav Pant (vibhavp) |
Changed in accountsservice (Ubuntu): | |
assignee: | Vibhav Pant (vibhavp) → nobody |
Changed in accountsservice (Ubuntu): | |
assignee: | nobody → Vibhav Pant (vibhavp) |
To post a comment you must log in.
Status changed to 'Confirmed' because the bug affects multiple users.