Press "Enter" to skip to content

Linux 任何用户都无法登陆服务器

正常情况下/var/log/tallylog权限:

[root@xuehen~]# ls  -ald  /var/log/tallylog

-rw- - - - - - -.  1  root   root  23808 Nov 20 13:28   /var/log/tallylog

当权限为非此权限如下:

[root@xuehen~]# ls  -ald  /var/log/tallylog

-rwxrwxrwx. 1     root   root   23808 Nov 20 13:30   /var/log/tallylog

报错信息:

pam_tally2:/var/log/tallylog is  either world  wtitable or  not a normal file

pam_tally2:Authentication  error

解决思路:

chmod  600   /var/log/tallylog

注:本文转自https://blog.csdn.net/baidu_28367801/article/details/50301821

Be First to Comment

发表评论

您的电子邮箱地址不会被公开。