Password length

tomek1

Verified User
Joined
Nov 8, 2003
Messages
13
Hi,

I have ftp account with password 1234567890
I can log with password 12345678 - so I can login using only first 8
characters.

How can I increase password length ?

I suppose I should use md5 function, but I'm not sure how.
I have Fedora Core 2.

Regards
Tomek
 
Same case/problem/dude/question, I have this problem/conf not only in FC2 also in Red Hat Enterprise Linux.

Any help or explain? Thanks
 
Hello,

The crypt function only uses the first 8 characters. However, when you reset your system password in DA, the crypt function isn't used (only for Redhat/Fedora/ES systems), the system password changing command is used so you'll get the longer encryption.

crypt in DA uses DES. I might look into changing it a bit to use the md5 (I'll have to read up on any sideeffects there might be, if any).

Bottom line is DA uses the system password database.. so if you manually set the system password by hand using the "passwd" command, then your DA password will use md5 (I believe).

As for ftp, you'd need a way to generate an md5 hash and manually insert it into /etc/proftpd.passwd.. I'm going to look into this issue further to see what we can do about it.

John
 
Back
Top