Bug#406046: [Pkg-shadow-devel] Bug#406046: Useradd: limits password to eight characters

2007-01-09 Thread Nicolas François
On Tue, Jan 09, 2007 at 11:32:32AM +0100, [EMAIL PROTECTED] wrote: > Nicolas François wrote: > Yes, I realize that now after studying crypt some more. By the way, the > reason for using 'useradd' was the need for making a script to add a > batch of users read from a file. That's afaik not easily

Bug#406046: [Pkg-shadow-devel] Bug#406046: Useradd: limits password to eight characters

2007-01-09 Thread Tina
Nicolas François wrote: On Tue, Jan 09, 2007 at 08:14:52AM +0100, [EMAIL PROTECTED] wrote: The user(s) was created using: useradd -c "Real Name" -g group -m -p encryptedpass username Referring to useradd manpage I used crypt() to encrypt the password. crypt indicates that it uses only

Bug#406046: [Pkg-shadow-devel] Bug#406046: Useradd: limits password to eight characters

2007-01-09 Thread Nicolas François
On Tue, Jan 09, 2007 at 08:14:52AM +0100, [EMAIL PROTECTED] wrote: > The user(s) was created using: > useradd -c "Real Name" -g group -m -p encryptedpass username > > Referring to useradd manpage I used crypt() to encrypt the password. crypt indicates that it uses only the 7 bits of each of the f

Bug#406046: [Pkg-shadow-devel] Bug#406046: Useradd: limits password to eight characters

2007-01-08 Thread Tina
Nicolas François wrote: How did you created the user. useradd creates the user, but do not set a password. Also, the encrypted password you mentioned is not an MD5 password. (it's for example the output of `mkpasswd testuserpasssdf 33`) I suppose your system is not MD5 enabled. Only MD5 passwor

Bug#406046: [Pkg-shadow-devel] Bug#406046: Useradd: limits password to eight characters

2007-01-08 Thread Nicolas François
tags 406046 normal thanks On Mon, Jan 08, 2007 at 09:13:22AM +0100, [EMAIL PROTECTED] wrote: > Package: passwd > Version: 1:4.0.18.1-6 > Severity: important > > Wehen using useradd with an encrypted password the password is limited to > eight caracters but this is not > mentioned anywhere. > Exa

Bug#406046: Useradd: limits password to eight characters

2007-01-08 Thread Tina Isaksen
Package: passwd Version: 1:4.0.18.1-6 Severity: important Wehen using useradd with an encrypted password the password is limited to eight caracters but this is not mentioned anywhere. Example: Cleartext password "testuserpass" makes encrypted password "33nGdctTISeok". The system then accept "tes