why is a number at beginnig invalid ?
hp712-ts: / # useradd 1joke
Login '1joke' is invalid
Regards,
Stefan
From the man page: passwd(4)
The login name must begin with an alpha character and may only contain
alphanumeric and underscore characters.
Siem
--
_________________________________________________________
Siem Korteweg
Open Challenge www.open-challenge.nl/scc/index.html
Havenweg 24A telefoon: 0347 324 130
4131 NM Vianen fax : 0347 324 120
_________________________________________________________
>The login name must begin with an alpha character and may only contain
Why ?
A customer changed from another Unix to HP-UX and cannot use his old
login id's.
Stefan
Stefan,
It means this is a "feature/limitation" of HP-UX. Also for Solaris, from the
manual page of useradd for Solaris (2.6):
The login field (login) is a string no more than eight bytes
consisting of characters from the set of alphabetic charac-
ters, numeric characters, period (.), underscore (_), and
hypen (-). The first character should be alphabetic and the
field should contain at least one lower case alphabetic
character.
--
Walt Howard /"\ ASCII Ribbon Campaign
InterNet: who...@ieee.org \ / No HTML in mail or news!
BellNet: +1 780 492 6306 X
/ \