Hi.

>From userdel.c, line 172, (shadow version 4.0.18.1): <-- this is actually 
>called when you do sudo userdel bugtest
        /*
         * we've removed their name from all the groups above, so
         * now if they have a group with the same name as their
         * user name, with no members, we delete it.
         */

Actually this is not a "bug", but rather a feature :-). If you add
another user to group bugtest, group bugtest will not be deleted, when
you run userdel bugtest again.

What is "better" depends on a person and we can start just another
flamewar. :)

Any suggestions?

Rok

-- 
deluser --system deletes group with same name as user even if user is not in 
this group !
https://bugs.launchpad.net/bugs/45970
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to