使用rtty 以root登陆aliyunECS时,出现login incorrect。
查看服务器使用cat /var/log/secure 查看日志
出现以下错误
access denied: tty 'pts/4' is not secure !
requirement "uid >= 1000" not met by user "root"
FAILED LOGIN 1 FROM pts/4 FOR root, Authentication failure
使用 cat /etc/securetty 发现没有pts/4 加入后以root登陆成功


相关推荐