root登录不上,日志显示pam_succeed_if(login:auth): requirement "uid >= 1000" not met by user "root"

问题描述:
root登录不上,日志显示如下:

pam_succeed_if(login:auth): requirement “uid >= 1000” not met by user “root”

1 Like

注释配置文件/etc/pam.d/system-auth中如下内容:

auth requisite pam_succeed_if.so uid >= 1000 quiet_success

1 Like