Re: problem creating user with first letter as number "4elzqp" (72 Views)
Reply
Super Advisor
senthil_kumar_1
Posts: 901
Registered: ‎03-02-2009
Message 1 of 8 (72 Views)
Accepted Solution

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.
Please use plain text.
Respected Contributor
Bijeesh
Posts: 187
Registered: ‎05-22-2008
Message 2 of 8 (72 Views)

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
Please use plain text.
Outstanding Contributor
Pete Randall
Posts: 16,205
Registered: ‎11-03-1996
Message 3 of 8 (72 Views)

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
Please use plain text.
Respected Contributor
Sivakumar MJ._1
Posts: 415
Registered: ‎03-11-2009
Message 4 of 8 (72 Views)

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



http://nixdoc.net/man-pages/HP-UX/passwd.1.html
For HP Online Case Logging-->http://support.openview.hp.com/
Please use plain text.
Honored Contributor
Bill McNAMARA_1
Posts: 3,866
Registered: ‎11-14-2000
Message 5 of 8 (72 Views)

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)
Please use plain text.
Trusted Contributor
Trusted Contributor
UVK
Posts: 111
Registered: ‎08-17-2006
Message 6 of 8 (72 Views)

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 !!
Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,956
Registered: ‎03-06-2006
Message 7 of 8 (72 Views)

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
Please use plain text.
Honored Contributor
Ganesan R
Posts: 1,891
Registered: ‎05-23-2006
Message 8 of 8 (72 Views)

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.
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation