原文网址:https://www.youyong.top/article/1158e0b6895f
当使用 SSH 登录云服务器 ECS (Elastic Compute Server) Linux 服务器时,即便正确输入了密码,在命令行或 secure 日志中也会出现类似如下错误信息,导致连接失败:Permission denied, please try again. error: Could not get shadow infromation for root.
原文网址:https://www.youyong.top/article/1158e0b6895f
当使用 SSH 登录云服务器 ECS (Elastic Compute Server) Linux 服务器时,即便正确输入了密码,在命令行或 secure 日志中也会出现类似如下错误信息,导致连接失败:Permission denied, please try again. error: Could not get shadow infromation for root.
原文网址:https://www.youyong.top/article/1158e0b6895f
该问题通常是由于系统启用了 SELinux 所致。
要解决此问题,请进行如下配置检查和修改。
# sestatus
SELinux status: enabled
setenforce 0
SELINUXTYPE=disabled
共 0 条留言