Computing.Net > Forums > Unix > increase user login characters

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

increase user login characters

Reply to Message Icon

Name: jrunix
Date: June 27, 2003 at 07:38:09 Pacific
OS: Solaris 8
CPU/Ram: Sparc 256 RAM
Comment:

Hello,

I have a simple question. Currently on my sunblade 100 running Solaris 8 my users are limited to 8 character login names. However in the /etc/passwd file I have users who have 8+ characters login names. When my user with these long user names attempt to log in with either ssh or ftp they are unable to.

Anyone have any ideas as to how I can let my users login with their full 8+ character names?

Thank in advance for any help,
jrunix



Sponsored Link
Ads by Google

Response Number 1
Name: Jerry Lemieux
Date: June 28, 2003 at 21:30:26 Pacific
Reply:

Unix login names are limited to 8 characters maximum. Perhaps (particularily with ssh) the ssh program will not allow a variable with a size greater than the declared length to be read in. This will avoid a buffer overflow.

Your users with login names greater than 8 characters will become an issue if you have a user named abcdefgh and a user named abcdefghi. User abcdefghi will not be able to log in because the passwd authentication will only read in the first 8 characters in the passwd file and the password won't match. If you assign the same password to both users, user abcdefghi will end up in the home directory of user abcdefgh.

Since the mkuser command will normally not allow a user name greater than 8 characters, it is possible that someone has manually edited the names to make them longer.



0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: increase user login characters

Trace User Login www.computing.net/answers/unix/trace-user-login/3922.html

HELP! Time Controlled user login/logout www.computing.net/answers/unix/help-time-controlled-user-loginlogout-/2791.html

user login control www.computing.net/answers/unix/user-login-control/442.html