Bug#400683: [Pkg-shadow-devel] Bug#400683: passwd: useradd creates users with spaces in usernames

Christian Perrier bubulle at debian.org
Wed Nov 29 05:48:07 UTC 2006


> There are probably a lot of solutions to this, like cleaning files out
> of /tmp when a user logs out, or fixing gnome to be more robust. But
> fundamentally I think spaces in the username are a bad idea, especially
> given getpwnam()'s behavior.


Leading spaces, I agree, yes.

Actually, useradd documentation does need to be updated, also, because
it never says that spaces in usernames are OK while they are...

So, we currently have three bugs:

-adduser allowing to create users with lkeading spaces
-deluser not able to delete them (this sounds to be the getpwnam issue
you spotted
-inaccurate documentation about all this


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-shadow-devel/attachments/20061129/acbee498/attachment.pgp


More information about the Pkg-shadow-devel mailing list