Skip to main content

user creation

More
18 years 6 months ago #14480 by gainil
user creation was created by gainil
Hi,

I am using Redhat 9 (2.4.20). I can not add user name with a dot (firstname.lastname) says Invalid username.

Also it dosent take undescores (firstname_lastname)

how can this issue be resolved??

Regards
More
18 years 6 months ago #14490 by nske
Replied by nske on topic Re: user creation
The dot and underscore characters are perfectly valid for the authentication system, which means that is propably a limitation enforced by redhat's add-user script.

Try using the /usr/sbin/useradd program to add users instead.
More
18 years 6 months ago #14497 by gainil
Replied by gainil on topic Re: user creation
Hi NSKE,

Thanks for the reply,

but sadly adduser program too not working it too gives the same error, i tried on 3 pcs same error.

Cany anyone help???

Regards
More
18 years 6 months ago #14499 by nske
Replied by nske on topic Re: user creation
Hello,

You are right, after a little googling it turns out this is an unresolved bug of Redhat 9. The problem lies in the Shadow-utils RPM, however a fixed version is not available (and it never will since redhat 9 is unsupported).

You could try to upgrade the Shadow program manually, however because many things have changed since redhat 9 was abandoned, it is very possible that something will break.

Of course you can still enter users manually by editing the etc/passwd and etc/shadow files (or automate it with some script).

The only other solution I've found, is install the libuser program which provides an alternative to useradd (named "luseradd").
More
18 years 6 months ago #14521 by gainil
Replied by gainil on topic Re: user creation
Hi,

Thanks for the update.

FYI

if you add user as firstname.last name or FirstNameLastName in Fedora Core4, It allows u to add, but while doing any changes from GUI it gives error "the user name contains puncuation character, Please do not use puncuation in username"

may be this still is a bug.

Regards
Time to create page: 0.123 seconds