This is a read-only archive. Find the latest Linux articles, documentation, and answers at the new Linux.com!

Linux.com

Re: Automated user management with Expect

Posted by: Anonymous [ip: 127.0.0.1] on September 27, 2007 03:05 AM
Hate to be nitpicky, but the passwords emitted by 'mkpasswd -s 0' are dangerously poor. That's just giving you the des hash of a null password with 12 bits of salt, or only 4096 possibilities.



$ [run mkpasswd -s 0 >> despass.txt a lotta times]
$ cat despass.txt | wc -l
118720
$ cat despass.txt | sort | uniq | wc -l
4095

#

Return to Automated user management with Expect