adduser should support managing additional password/shadow/group files from libnss-extrausers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
adduser (Debian) |
Confirmed
|
Unknown
|
|||
adduser (Ubuntu) |
Fix Released
|
High
|
Steve Langasek | ||
Vivid |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
with our readonly system-image setup when adding a user or changing a password using the /etc/{passwd,
we plan to solve this via using libnss-extrausers and patching the config in /etc/nsswitch.conf at image build-time. this way we can make /var/lib/extrausers writable and use passwd,shadow and group from there.
unfortunately adduser is not able to operate on these files in the non-standard location. to set a user password (for having a properly working lock screen), add new users or drop the "nopasswordlogin" group from the phablet user it needs to learn handling these files so that we do not need to use weird hacks to manage users on system-image installs.
Related branches
- Ubuntu branches: Pending requested
-
Diff: 214 lines (+75/-18)5 files modifiedAdduserCommon.pm (+1/-0)
adduser (+64/-17)
adduser.conf (+3/-0)
debian/changelog (+6/-0)
debian/control (+1/-1)
Changed in adduser (Ubuntu): | |
importance: | Undecided → High |
assignee: | nobody → Steve Langasek (vorlon) |
Changed in adduser (Ubuntu): | |
milestone: | none → ubuntu-14.07 |
Changed in adduser (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in adduser (Ubuntu): | |
status: | In Progress → Fix Released |
Changed in adduser (Debian): | |
status: | Unknown → New |
Changed in adduser (Debian): | |
status: | New → Confirmed |
Poke on this. We'd like to land support for using PAM on the phone within the next few weeks.