Re: Username Length and Password Expiry

This is a discussion on Re: Username Length and Password Expiry within the OpenSSH Development forums, part of the Networking and Network Related category; mark clarkson wrote: > I am having a problem with usernames that are longer than 8 characters > on the ...


Go Back   Usenet Forums > Networking and Network Related > OpenSSH Development

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-01-2006
Darren Tucker
 
Posts: n/a
Default Re: Username Length and Password Expiry

mark clarkson wrote:
> I am having a problem with usernames that are longer than 8 characters
> on the following system types:
>
> Solaris 8, Solaris 9
> OpenSSH 4.2p1
> OpenSSL 0.9.8a
>
> When logging in with an SSH client like PuTTY, OpenSSH or SecureCRT,
> the username is truncated when the password is asked to be changed.

[...]
> WARNING: Your password has expired.
> You must change your password now and login again!
> passwd: Changing password for bclarkso
> passwd: User unknown: bclarkso
> Permission denied
>
> Notice the "n" at the end of the user name is dropped.


All it does in that case is run "passwd" with no arguments. If you log
on (via telnet or ssh) and just run "passwd", does that work?

Solaris doesn't seem to support usernames longer than 8 chars:
$ uname -sr
SunOS 5.8
$ sudo useradd abcdefghi
UX: useradd: abcdefghi name too long.

> This works just fine using telnet as can be seen in the output below:

[...]
> Does anyone know of any fixes for this or if it is a bug?


You can try building with and enabling PAM (that's probably what telnet
is using).

--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://www.mindrot.org/mailman/listi...enssh-unix-dev
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:53 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0