[Gllug] user has two passwords?

Alain Williams addw at phcomp.co.uk
Mon Nov 5 19:40:20 UTC 2001


On Mon, Nov 05, 2001 at 06:50:05PM +0000, Tom Gilbert wrote:
> * Steve Nicholson (steve.nicholson at yoursolutions.com) wrote:
> > Some how I have managed to set up a server so I have two different
> > passwords for my same user account.  Only thing I can think that I have
> > done is add a different password when I put samba on.  I have removed
> > samba and can still logon at the console with either password.  This is
> > bothering me, mainly coz I don't know why/how it is happening.  This is
> > a new install and box isn't available on the Net (although I would like
> > to put it there hence wanting to find out what's happening).
> > 
> > at the console or using ssh I can login as user "steve" with psw
> > "abcxxx" or psw "abcyyy".  The passwords are similar but not the same.
> > 
> > Any ideas where I should be looking for this, "shadow" only appears to
> > have one password in it.
> 
> $ grep -B4 PASS_MAX_LEN /etc/login.defs 
> # Number of significant characters in the password for crypt().
> # Default is 8, don't change unless your crypt() is better.
> # If using MD5 in your PAM configuration, set this higher.
> #
> PASS_MAX_LEN            128
> 
> Tweak that, it defaults to 8 on most systems.

BEWARE - this may cause probs if you use NIS or some other form of password
sharing.

-- 
Alain Williams

#include <std_disclaimer.h>

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list