This appears to be an issue with the patches to shadow for subuid/subgid
support. The --{add,del}-sub{uid,gid}s options don't operate on
/etc/passwd, only on /etc/sub{uid,gid}; but the code causes usermod to
fail if called for any non-local user.
Assuming there's no policy reason why non-local users are disallowed
from /etc/sub{uid,gid}, this is a simple fix. Cc:ing Serge Hallyn for
comment, as he originally pulled these patches in.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1475749
Title:
usermod --add-subuids fails for users not in /etc/passwd
To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1475749/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs