[Adduser-devel] Bug#473379: deluser incorrectly warns that a group has no more members

Geert Uytterhoeven geert at linux-m68k.org
Sun Mar 30 09:08:19 UTC 2008


Package: adduser
Version: 3.107

When deleting a user which is a member of the `users' group, `deluser'
gives an incorrect warning:

| [10:58:14]~# deluser foo
| Removing user `foo' ...
| Warning: group `users' has no more members.
| Done.
| [10:59:14]~#

While there are no members of this group left in /etc/group:

| [10:59:37]~# grep users /etc/group
| users:x:100:
| [10:59:45]~#

there are still several users who have `100' as their default gid in
/etc/passwd.

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds





More information about the Adduser-devel mailing list