Christian Perrier [EMAIL PROTECTED] said:
> -adduser allowing to create users with lkeading spaces
This should be easy to fix, I think.
> -deluser not able to delete them (this sounds to be the getpwnam issue
> you spotted
I guess this is a bug in libc6?
> -inaccurate documentation about all th
> 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, userad
Christian Perrier [EMAIL PROTECTED] said:
> > [EMAIL PROTECTED] [08:47 AM] [0] ~$ sudo useradd " foo"
> > [EMAIL PROTECTED] [08:47 AM] [0] ~$ sudo userdel " foo"
> > userdel: user foo does not exist
>
> *that* could be considered a bug but another one...Either one in
> useradd because it allows cr
> [EMAIL PROTECTED] [08:47 AM] [0] ~$ sudo useradd " foo"
> [EMAIL PROTECTED] [08:47 AM] [0] ~$ sudo userdel " foo"
> userdel: user foo does not exist
*that* could be considered a bug but another one...Either one in
useradd because it allows creating users with leading spaces in their
usernames..
On Tue, Nov 28, 2006 at 07:15:38AM +0100, Christian Perrier wrote:
> Quoting Paul Visscher ([EMAIL PROTECTED]):
> > This problem is also present in 4.0.18.1-5 from unstable, but I'm not
> > running unstable. The patch is similar, though the proper place to add a
> > similar patch is debian/patches/
severity 400683 wishlist
retitle 400683 Please don't allow spaces in usernames in useradd
tags 400683 wontfix
thanks
Quoting Paul Visscher ([EMAIL PROTECTED]):
> Package: passwd
> Version: 1:4.0.3-31sarge9
> Severity: important
> Tags: patch
>
> (Despite the similarity in domain name, I am not in
Package: passwd
Version: 1:4.0.3-31sarge9
Severity: important
Tags: patch
(Despite the similarity in domain name, I am not in any way affiliated
with Ubuntu or Canonical Ltd.)
useradd allows users to be created with spaces in their usernames.
Worse, all the utilities to delete users can't delete
7 matches
Mail list logo