Log in as your average user, then elevate yourself to root (su -). First, make a backup of the file you’re about to edit:
# cp -a /etc/pam.d/gdm /etc/pam.d/gdm.orig
Now edit /etc/pam.d/gdm and change the line:
auth required pam_succeed_if.so user != root quiet
…to:
auth required pam_succeed_if.so user quiet
…save it, log out and now you can log back into GDM as root.
No comments:
Post a Comment