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



Dear all,

Thank you very much for your answers. Indeed after I've removed the comments from my /etc/passwd.conf file and left

default:
        localcipher = md5

The whole new password was considered including the 9-th character. I beg your pardon for this trouble. Unfortunately I couldn't find any mention of this limitation neither in man page for passwd nor for passwd.conf. A friend of mine told me that this limit could have been mentioned during the installation procedure. But I can't remember now whether it was.

2012/3/19 David Holland <dholland-bugs%netbsd.org@localhost>
The following reply was made to PR bin/46226; it has been noted by GNATS.

From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: bin/46226: underscore character ignored at the end of password
Date: Mon, 19 Mar 2012 11:19:40 +0000

 On Mon, Mar 19, 2012 at 10:40:05AM +0000, Manuel Bouyer wrote:
 >  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.

 If so, is there any reason we shouldn't change that? Neither the old
 cipher nor 8-character passwords are a very good choice these days.

 --
 David A. Holland
 dholland%netbsd.org@localhost




Home | Main Index | Thread Index | Old Index