/etc/group is meant to hold "extended" group information: that is, it
maps users into groups above and beyond their "real" group.
If you are specifying their actual gid as the one for 'users', it would
be unnecessary and incorrect to add them to 'users' as an extended group
as well. Therefore, what you are experiencing is correct behavior.
Try the following on Ubuntu, and if you have access to another Linux
system, I invite you to try it there as well. Add a new user with the
real group defaulting to the user's name. You'll notice that an entry
for the new user will appear in /etc/passwd with the user's gid set
correctly. You'l find an entry in /etc/group for that gid, but without
any users listed for it. This situation is similar to what you've been
experiencing, and is normal.
** Changed in: adduser (Ubuntu)
Status: Unconfirmed => Rejected
--
Adduser fails to change the /etc/group file
https://launchpad.net/bugs/50470
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs