Telnet Login incorrect记录

本站所有内容来自互联网收集,仅供学习和交流,请勿用于商业用途。如有侵权、不妥之处,请第一时间联系我们删除!Q群:迪思分享

免费资源网 – https://freexyz.cn/

由于升级OpenSSH服务需要临时设置Telnet访问,在输入正确信息后遇到问题后进行记录。

错误信息

配置完成Telnet后进行连接发现无法登陆,提示登陆失败

[root@localhost ~]# telnet 127.0.0.1 Trying 127.0.0.1… Connected to 127.0.0.1. Escape characteris ^]. Kernel 3.10.0-1127.el7.x86_64 onan x86_64 localhost login: root Password: Login incorrect

查看报错内容

[root@localhost ~]# tAIl -n 100 /var/log/secure Jun 30 15:06:17 localhost login: pam_securetty(remote:auth): access denied: tty pts/1 is notsecure ! Jun30 15:06:20 localhost login: pam_succeed_if(remote:auth): requirement “uid >= 1000” not met by user “root”Jun30 15:06:22 localhost login: FAILED LOGIN 1FROM localhost FOR root, Authentication failure Jun30 15:06:41 localhost login: pam_securetty(remote:auth): access denied: tty pts/1 is notsecure ! Jun30 15:06:42 localhost login: pam_unix(remote:auth): check pass; user unknown Jun 30 15:06:42localhost login: pam_unix(remote:auth): authentication failure; logname= uid=0 euid=0 tty=pts/1ruser= rhost=localhost Jun30 15:06:44 localhost login: FAILED LOGIN 2FROM localhost FOR (unknown), Usernot known to the underlying authentication module Jun 30 15:06:45localhost login: pam_securetty(remote:auth): access denied: ttypts/1 is not secure ! Jun 30 15:06:45localhost login: pam_unix(remote:auth): check pass; user unknown Jun30 15:06:46localhost login: FAILED LOGIN SESSION FROM localhost FOR (unknown), Usernot known to the underlying authentication module Jun 30 15:06:46localhost login: PAM1 more authentication failure; logname= uid=0 euid=0 tty=pts/1 ruser= rhost=localhost

解决办法:

在/etc/securetty文件中添加tty内容

借鉴自:https://www.programmersought.com/article/66085516467/

免费资源网 – https://freexyz.cn/


© 版权声明
THE END
★喜欢这篇文章吗?喜欢的话,麻烦动动手指支持一下!★
点赞9 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容