发新话题
打印

ssh User not allowed because account is locked的解决办法

ssh User not allowed because account is locked的解决办法

因为没有设置密码(密码错误过多),导致不能登录的解决办法,系统日志显示:User sftp1 not allowed because account is locked

解决办法:
# vi /etc/shadow
change ! to $y$xxx
# passwd sftp1

TOP

发新话题