Operating System - HP-UX
1835531 Members
3482 Online
110078 Solutions
New Discussion

Re: add numeric username on HPUX

 
Radouan Bouzite
Advisor

add numeric username on HPUX

I am testing an HPUX rx4640 with HPUXv2, and I notice that there is a restriction to create usernames : "the login name must meet the following requirements :
* Must begin with an alphabetic character . "

IS there any to change this restriction ?
6 REPLIES 6
Patrick Wallek
Honored Contributor

Re: add numeric username on HPUX

Nope, no way to change it that I know of.

All user names MUST begin with an alphabetic character, AND, should all be lower case.
A. Clay Stephenson
Acclaimed Contributor

Re: add numeric username on HPUX

There is no way to change this and if you did bypass the usual useradd routines and manually add this user, you would introduce a host of other problems. For example, you would break the chmod command because the test that is used to determine whether or not the argument supplied is a login name or a UID is to look at thge first character of ther argument. If it's a numeric character then the argument is assummed to be a UID.
If it ain't broke, I can fix that.
George Liu_4
Trusted Contributor

Re: add numeric username on HPUX

How does it behave if ldap is used?
John Guster
Trusted Contributor

Re: add numeric username on HPUX

there will be a map mapping unix login ID and Window login ID.

jguster = "John Guster" something like that.
Radouan Bouzite
Advisor

Re: add numeric username on HPUX

Hi Patrick,

you said that I can use only lower case also ?
Radouan Bouzite
Advisor

Re: add numeric username on HPUX


This restriction will cause us a problem if we want ot migrate to HPUX (I am using TRU64) because I have more than 100 users with numeric username for our apllication need

Many thanks for all .