Operating System - HP-UX
1753290 Members
5186 Online
108792 Solutions
New Discussion юеВ

Re: problem creating user with first letter as number "4elzqp"

 
SOLVED
Go to solution
senthil_kumar_1
Super Advisor

problem creating user with first letter as number "4elzqp"

Hi

I am not able to create user with first letter as number.

Ex:

root@lgapps:/home > useradd -m 4elzqp
Login '4elzqp' is invalid

so how to create the user.
7 REPLIES 7
Bijeesh
Respected Contributor
Solution

Re: problem creating user with first letter as number "4elzqp"

hi

The login name must begin with an alpha character.

see this thread

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1139359
Pete Randall
Outstanding Contributor

Re: problem creating user with first letter as number "4elzqp"

man 4 passwd:

"The login name must begin with an alpha character and may only contain alphanumeric and underscore characters."


Pete

Pete
Sivakumar MJ._1
Respected Contributor

Re: problem creating user with first letter as number "4elzqp"

Bill McNAMARA_1
Honored Contributor

Re: problem creating user with first letter as number "4elzqp"

I think there are similar restrictions with the hostnames too......

at least used by some software I develop with there is..
It works for me (tm)
UVK
Trusted Contributor

Re: problem creating user with first letter as number "4elzqp"

If you read the man page of useradd command, you should notice that it makes a point that username should start with alphabetic character

-------------------------------------------
Like it or worked !! Click kudos !!
Dennis Handly
Acclaimed Contributor

Re: problem creating user with first letter as number "4elzqp"

>I am not able to create user with first letter as number.

You'll need to be on Sept 2008, 11.31 and install Feature Enablement Patch Bundle (FEATURE11i) for Numeric User Group Name:
http://docs.hp.com/en/5992-4174/ch05s06.html
http://docs.hp.com/en/5992-4174/ch10s10.html
Ganesan R
Honored Contributor

Re: problem creating user with first letter as number "4elzqp"

Hi Senthil,

Refer my recent thread regarding the same topic..

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1321614
Best wishes,

Ganesh.