cd /etc/pam.d/ edit “gdm” and “gdm-fingerprint” and “gdm-password” 打开发现有共同一行: auth required pam_succeed_if.so user != root quiet 打#注释 logout and login use root 转载请注明:爱开源 » 更改PAM使root可以从gdm登录fedora