NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/46226: underscore character ignored at the end of password
On Mon, Mar 19, 2012 at 09:20:01AM +0000, wlsidorenko%gmail.com@localhost wrote:
> It seems, that underscore character is ignored at the end of one's password.
> For example if I set a password for user xxx to
>
> 1suirrel_
>
> I'm able to do `su xxx' by just typing
>
> 1suirrel
>
> And `1suirrel_' works too. Though when underscore is used at the beginning
> of password it seemingly isn't ignored.
>
> /etc/passwd.conf is default as it came with the base system
> >cat /etc/passwd.conf
> # $NetBSD: passwd.conf,v 1.2 2002/04/15 07:48:00 ad Exp $
> #
> # passwd.conf(5) -
> # password configuration file
> #
>
> #default:
> # localcipher = md5
> # ypcipher = old
>
I think that, by default, localcipher is 'old'. With this cipher, only
the 8 first characters of password are used. So in your test case,
it's the 9th caracter which is ignored, whatever it is.
--
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
--
Home |
Main Index |
Thread Index |
Old Index