[CentOS] SSH login from user with empty password

John R Pierce pierce at hogranch.com
Fri Oct 11 08:14:08 UTC 2013


On 10/11/2013 12:27 AM, Michael Schultz wrote:
> Setting a password for that account unlocks it and ssh works as
> expected. I guess I have to work on my account creation routine.

you might look into mkpasswd, its probably excessively complicated, but 
it can set a users password

# mkpasswd -l 20 xyzzy
zhRovbjh24hcqrg?xqoF

sets a gnarly 20 character password for the xyzzy user.  easy to script.


-- 
john r pierce                                      37N 122W
somewhere on the middle of the left coast




More information about the CentOS mailing list