1833875 Members
1464 Online
110063 Solutions
New Discussion

User name length

 
Miquel_2
Advisor

User name length

Can I create a user name with more than 8 characters ?

Thanks,
Miquel.
2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: User name length

useradd jerusalem

Response:
Login 'jerusalem' is invalid

HP-UX 11.11(11i v1).

Characters beyond 8 will be ignored in certain contexts.

That may be different in 11.23.

The system I tested on is trusted.

You can take authentication to ADS or LDAP and get Unix to accept user names longer than eight characters.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Granite
Frequent Advisor

Re: User name length

Hi,

No, you cannot set the username more than 8 characters.Useradd validates only for 8 characters and if its more it returns command invalidity.

Regds,granite
HPmania - The World of HP