Board logo

标题: ssh User not allowed because account is locked的解决办法 [打印本页]

作者: linda    时间: 2024-5-16 17:21     标题: 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




欢迎光临 中神通公司技术论坛 (http://trustcomputing.com.cn/bbs/) Powered by Discuz! 6.0.0