search for: passwd_format

Displaying 2 results from an estimated 2 matches for "passwd_format".

2012 Jun 08
13
Default password hash
...stributions? Index: etc/login.conf =================================================================== --- etc/login.conf (revision 236616) +++ etc/login.conf (working copy) @@ -23,7 +23,7 @@ # AND SEMANTICS'' section of getcap(3) for more escape sequences). default:\ - :passwd_format=md5:\ + :passwd_format=sha512:\ :copyright=/etc/COPYRIGHT:\ :welcome=/etc/motd:\ :setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES:\ DES -- Dag-Erling Sm?rgrav - des@des.no
2003 Apr 08
1
adduser and crypt
Hello! adduser(8) perl script uses crypt(3) to generate encrypted passwords, as pointed in /usr/sbin/adduser itself. Currently in /etc/login.conf password format is MD5 as default but adduser always generates encrypted passwords in DES format. IMHO adduser script should read value of passwd_format in /etc/login.conf to decide what kind of salt (DES, MD5 or somewhat else) he gives to crypt. At least since default password format is MD5, should not adduser generate MD5 passwords? Especially it is not too difficult to bring about. Any suggestions? Eugene