chfn needs to learn about the --extrausers argument and use libnss-extrausers files when set
Bug #1495580 reported by
Oliver Grawert
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snappy |
Fix Released
|
High
|
Unassigned | ||
shadow (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Medium
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
as seen in bug 1492327, adduser now works for creating users in the extrausers db but when it tries to update the GECOS field at the end of adding a user (interactively and noninteractively) chfn falls over ...
chfn needs similar patches to the other shadow binaries that recently got extrausers support.
TEST CASE:
- create a user "foo" on an Ubuntu Core system
- run "chfn --extrausers -f some-name foo" on an Ubuntu Core system
REGRESSION POTENTIAL:
- low: this requires the new (and optional) --extrausers switch to change anything.
Changed in snappy: | |
milestone: | none → 15.04.3 |
Changed in snappy: | |
assignee: | nobody → Oliver Grawert (ogra) |
importance: | Undecided → High |
Changed in snappy: | |
status: | New → Triaged |
Changed in snappy: | |
milestone: | 15.04.3 → 15.04.4 |
Changed in snappy: | |
milestone: | 15.04.4 → none |
assignee: | Oliver Grawert (ogra) → nobody |
status: | In Progress → Fix Released |
affects: | snapd (Ubuntu) → shadow (Ubuntu) |
Changed in shadow (Ubuntu Xenial): | |
status: | New → Confirmed |
Changed in shadow (Ubuntu): | |
status: | New → Confirmed |
Changed in shadow (Ubuntu): | |
status: | New → In Progress |
Changed in shadow (Ubuntu Xenial): | |
importance: | Undecided → Medium |
description: | updated |
description: | updated |
Changed in shadow (Ubuntu Bionic): | |
status: | New → Fix Released |
To post a comment you must log in.
I uploaded a potential fix to https:/ /launchpad. net/~snappy- dev/+archive/ ubuntu/ image/+ sourcepub/ 6585931/ +listing- archive- extra