Summary :The length of User Name

From: Liu Lihua (
Date: Fri Sep 13 1996 - 10:09:03 CDT

Original Post:
> Is there a limit to the length of user name ? After I add a new user, if the
> length of user name is more than 8 characters, the system will ask the user
> input password on the first login( but I didn't set any password). But everything
> will be O.K. if the user name is less than 8. I use SunOs 4.1.3.

The lenght of a username is limitted to 8 characters under SunOS 4.x,
see passwd(4) man page. To see this page use the command:

  man 4 passwd

The command /usr/etc/pwck will verify passwd file has no errors.

my sincere thanks to..

Glenn Satchell
J. Bern ,bern@TI.Uni-Trier.DE
Michael Sullivan
Danny Johnson
Benjamin R. Cline
Frank Pardo
Sanford Whitehouse

Thanks a lot

Lihua Liu
Central South Univ. of Tech.
Changsha ,Hunan , 410083

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:10 CDT