Re: problem creating user with first letter as number "4elzqp" (184 Views)
Reply
Super Advisor
Posts: 901
Registered: ‎03-02-2009
Message 1 of 8 (184 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.
Respected Contributor
Posts: 187
Registered: ‎05-22-2008
Message 2 of 8 (184 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
Outstanding Contributor
Posts: 16,207
Registered: ‎11-03-1996
Message 3 of 8 (184 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
Respected Contributor
Posts: 415
Registered: ‎03-11-2009
Message 4 of 8 (184 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/
Highlighted
Honored Contributor
Posts: 3,866
Registered: ‎11-14-2000
Message 5 of 8 (184 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)
Trusted Contributor
Trusted Contributor
Posts: 111
Registered: ‎08-17-2006
Message 6 of 8 (184 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 !!
Acclaimed Contributor
Posts: 26,109
Registered: ‎03-06-2006
Message 7 of 8 (184 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
Honored Contributor
Posts: 1,891
Registered: ‎05-23-2006
Message 8 of 8 (184 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.
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.