Enable root mode in Fedora 17

Hi guys,

If you are using fedora 17 you must have noticed that it has disabled root access by default. If you want root access all you had to do was open up a shell and type su -root and change in to root mode. But There is a way (There should be for sure :D :D ) that u can enable root mode.


Lets see how you can aquire this.

Open up a shell and change into root

su -root

now cd into /etc/pam.d directory

cd /etc/pam.d

Now we are about to change a file. Ok what did you learnt when you were child about editing files??  Yeah you have to take a backup of that file in case you are screwed :P :P

Ok folks now we are going to edit gdm-password file.

cp gdm-password gdm-password.bak

Now open that file using a text editor such as vi. In my case I used nano as it is so simple.

nano gdm-password

Now find the line
auth        required      pam_succeed_if.so user != root quiet
and comment that line like thi,

##auth        required      pam_succeed_if.so user != root quiet

Now save and exit from text editor...

Ok pal. Now it is all over. U won the battle and now you have control over root account. Feel free to login as root in your next boot... :D :D


0 comments:

Post a Comment