HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

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
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"



http://nixdoc.net/man-pages/HP-UX/passwd.1.html
For HP Online Case Logging-->http://support.openview.hp.com/
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 !!

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.