Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 01-08-2012, 11:37 PM   #1
LQ Newbie
Registered: Jan 2012
Posts: 1

Rep: Reputation: Disabled
how to login using root in fedora 16

I used the method by putting comment i.e. # before auth...user!=root.. in "gdm" and "gdm-password"
But i was unable to save the file by "ESC :wq"
I tried using vi editor and even gedit but i can save it..:-(
It says its readonly file..

Old 01-09-2012, 12:20 AM   #2
Registered: Apr 2009
Location: Melbourne
Distribution: Fedora & CentOS
Posts: 854

Rep: Reputation: 190Reputation: 190
Were you trying to edit the files as root?
either use sudo and your user password
sudo vi the_file
or use su with the root password you set during install
su -c "vi the_file"
That being said, there is a reason root GUI logins are disabled by default, and they are good reasons.
It dramatically reduces the security of your system, and increases the risk of accidental "operator errors", and it is generally accepted as being a bad idea.

Last edited by fukawi1; 01-09-2012 at 03:28 AM.
Old 01-09-2012, 03:24 AM   #3
John VV
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,170

Rep: Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494
you do not

If you know how to boot into the gui in fedora as root, you would KNOW WHY you do not do it .

you NEED to have root permissions to save that file
( you need to be root to do it )

also BE WARNED there are a lot of things that will be broken by using the " pam hack"
it is NOT recommended .You would NEED to log out of root and re-login as a normal user for some things anyway
1 members found this post helpful.
Old 01-12-2012, 04:47 PM   #4
Registered: Jan 2012
Location: Czech
Distribution: Fedora, RHEL, Ubuntu, Mint
Posts: 110

Rep: Reputation: 13
There is no need to be logged as 'root' in GUI. Specially due to many security risks.

Nearly all "admin" commands (firewall, network, etc.) ask you for root password if necessary.

If you need edit files or do any operations such as root, open terminal and use
'su' (switch user command)
and type root password. Now the terminal is running under the root.

If you need just a simple command to do, use sudo as 'fukawi1' has already written.

Last edited by MartinStrec; 01-12-2012 at 04:49 PM. Reason: wrong name of the user - citation
1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Fedora 12 root login rewards Linux - Newbie 7 04-25-2011 04:44 PM
How to login in root in fedora 10 KapilSatav Linux - Wireless Networking 2 08-06-2009 06:50 PM
can't login to root fedora 10 podizoid Linux - Newbie 6 02-13-2009 07:37 PM
Root login on Fedora 10 danie1 Linux - General 2 01-22-2009 04:30 PM > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 03:52 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration