[Pkg-shadow-devel] Bug#584868: Bug#584868: passwd: userdel removes the group with the same name as 'username'

Christian PERRIER bubulle at debian.org
Mon Jun 7 17:20:38 UTC 2010


Quoting Teodor (mteodor at gmail.com):
> Package: passwd
> Version: 1:4.1.4.2-1
> Severity: important
> Tags: sid lenny
> 
> Hi,
> 
> I've removed the 'staff' username and the group 'staff' was also removed. This has
> happened on a Lenny system, on a 'sid/testing' system the group was not removed
> due to this reason:


My first reaction to this is: "does it hurt hard when you shoot
yourself in the foot?"

Indeed, creating users with the same username than a system group
*and* making their primary group this system group *and* doing that
without adduser (if you try to create the "staff" user with adduser, you'll be
warned that "adduser: The group `staff' already exists.").....is
 a good way to create problems.

Maybe Nicolas swill have another interpretation, we'll see..:-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-shadow-devel/attachments/20100607/d267e084/attachment.pgp>


More information about the Pkg-shadow-devel mailing list