>re,
> I need a pointer for the restrictions on login names. I can't seem to
>dig one up...
>IE. have a user that wants to use 4sight as a login name...
>Solaris 2.5.1
>Such an easy question, so difficult an answer ;)
>--------------
>Andy
An obvious limit, a username cannot contain the ':' character. The
':' character is a field separator in the passwd file.
passwd(4) says that the name field in the passwd file should conform to the
checks performed by pwck(1). I looked at the source for pwck(1) and it
tests for the following:
All characters in the name must test true by isalnum().
At least one character must be a lower case alpha.
There must be at least 1 and less than 8 total characters.