password length
Hi,
I'm trying to use password longer than 8 characters, so i set up my login.defs file with a PASS_MAX_LEN of 18 characters, but the system does not recognize the modification, and thus I can still log in with a 8 char password. How to solve the problem?
Thanks,
Luca
Signature · 2 lines
Luca Ferrari, [email protected]
Quoted 5 lines · Luca Ferrari
Hi,
I'm trying to use password longer than 8 characters, so i set up my login.defs file with aPASS_MAX_LENof 18 characters, but the system does not recognize the modification, and thus I can still log in with a 8 char password. How to solve the problem?
Sounds like your system still uses crypt passwords... which kinda makes it a really old system :)
I'd recommend a system update.
Jens
El [ Wed 25, Feb 04 - 16:41 ] , Luca Ferrari expreso:
Quoted 5 lines
Hi,
I'm trying to use password longer than 8 characters, so i set up my login.defs file with aPASS_MAX_LENof 18 characters, but the system does not recognize the modification, and thus I can still log in with a 8 char password. How to solve the problem?
Try enabling md5 passwords, doing something like this on your /etc/pam.d/passwd file:
# ... password required pam_unix.so nullok obscure min=5 md5 # ...
This is just an example. All the magik is done by the keyword md5.
Cheers
Signature · 8 lines
Emiliano Castagnari # Debian Sarge - GNU/Linux - Athos 2.6.2 # # JID: [email protected] # ICQ: 107462374 - Nick: mem -------------------------------------------------- - } [ Libera tu mente - Libera tu Codigo ] { - --------------------------------------------------