System Administration
Showing results for 
Search instead for 
Do you mean 

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

SOLVED
Go to Solution
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
Respected Contributor Respected Contributor

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 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
Respected Contributor Respected Contributor

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 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)
Trusted Contributor 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 !!
Acclaimed Contributor 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
Honored Contributor 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.