Enable root login in fedora 10

Hai friends,

If you have installed fedara OS you can use user login perhaps we may be some vital situation for root

Anyway this is the solution to enable root account

1.       Start your fedora 10

2.     After you got login prompt you have to press Ctrl+Alt+F1

3.Then it appears like these

fedora10 login:  “Enter username here fedora10”

password : “you have to enter”

after that

it seems like this

fedora10 login: fedora10

Password:

Last login: Fri Dec 5 06:23:09 on tty4

[fedora10@fedora10 ~]$

4.   then you have to go su mode

[fedora10@fedora10 ~]$  su-

password:”Root password”

After that we have to edit gdm file for enable root

5. type

[root@fedora10 ~]# cat /etc/pam.d/gdm

then it displays

#%PAM-1.0auth [success=done ignore=ignore default=bad] pam_selinux_permit.soauth required pam_succeed_if.so user != root quietauth required pam_env.soauth substack system-auth

auth optional pam_gnome_keyring.so

account required pam_nologin.so

account include system-auth

password include system-auth

session required pam_selinux.so close

session required pam_loginuid.so

session optional pam_console.so

session required pam_selinux.so open

session optional pam_keyinit.so force revoke

session required pam_namespace.so

session optional pam_gnome_keyring.so auto_start

session include system-auth

6. If you want backup that peculiar file you can take by issuing this command

cp -pr /etc/pam.d/gdm /etc/pam.d/gdm.bak **      because we are going to   edit that file,

7. aftert that  you have to give

[root@fedora10 ~]# vi /etc/pam.d/gdm for opening that file

then it displays like some few lines in that second line , you can view the string “user != root quiet“<without quotes>

8.You have to delete that particular string by pressing “X” key

h key—-> move cursor left

j key—–>  move cursor down

k key—–>move cursor up

l key ——-> move cursor right

9.Then you can save that by providing :wq

10.you can go to root account in fedora

Advertisements

About Navaneethan

mixed feelings...
This entry was posted in Fedora and tagged . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s