[CentOS] SSH login from user with empty password

Michael Schultz m.schultz at srz.de
Fri Oct 11 09:12:20 UTC 2013


This only works when there's been a password set for the account before
locking it. For obvious reasons empty passwords are not allowed :)

Am 11.10.2013 10:58, schrieb Rainer Traut:
> Am 11.10.2013 09:27, schrieb Michael Schultz:
>> Thanks everyone,
>>
>> secure log tells me exactly what the problem is:
>> "User username not allowed because account is locked"
>>
>> Setting a password for that account unlocks it and ssh works as
>> expected. I guess I have to work on my account creation routine.
>>
>>
> 
> I haven't tried but
> maybe you could just try the obvious and unlock the account?
> I think it is
> passwd -u [user]
> 
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 



More information about the CentOS mailing list