January 10, 2007

Batch create users

useradd -p`echo 1234 | openssl passwd -stdin` test
(create user test with password 1111 using default crypt algorithm)
useradd -p`echo 1234 | openssl passwd -1 -stdin` test
(create user test with password 1111 using MD5 algorithm)

Posted by pank at January 10, 2007 10:16 AM
Comments
Post a comment













Remember personal info?