Problems with long usernames

Archaic archaic at indy.rr.com
Fri Apr 11 07:40:10 PDT 2003


On Fri, Apr 11, 2003 at 04:25:15PM +0600, Alexander E. Patrakov wrote:
> On Friday 11 April 2003 14:27, Jeroen Coumans wrote:
> > I don't use useradd but creating usernames longer than 8 characters
> > manually never gave me a problem.
> >
> Manually adding a long username to /etc/passwd and and /etc/shadow never gave 
> me a problem. It was useradd who behaved in wrong way.

[tty2 root 09:33am ~] useradd -m supercalfragilisticexpealadocious
useradd: invalid user name 'supercalfragilisticexpealadocious'

[tty2 root 09:34am ~] useradd -m supercalfragilisticexpealadociou

                                 123456879012345678901234568790123

[tty2 root 09:35am ~] ls -la /home/supercalfragilisticexpealadociou/
total 8.0k
drwxr-xr-x    2 supercal localusr     4.0k Apr 11 09:34 .
drwxr-xr-x    4 root     root         4.0k Apr 11 09:34 ..

The only deviation from the book is adding MD5 support.

-- 
Archaic

-- 
The only purpose for which power can be rightfully exercised over any
member of a civilized community, against his will, is to prevent harm to
others. His own good, either physical or moral, is not a sufficient
warrant.

- John Stuart Mill, "On Liberty", 1859

-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-dev' in the subject header of the message



More information about the lfs-dev mailing list