LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-25-2011, 03:48 AM   #1
rewards
Member
 
Registered: Dec 2010
Posts: 135

Rep: Reputation: 0
Question Fedora 12 root login


Hello all,

I installed Fedora 12 on my computer laptop. Every time I boot the system, it does allow me to log in as a root user. It just allows me to log in the non administrator user I created during the setup. I want to be able to log in as root. Does anyone know how to enable root login on fedora?
 
Old 04-25-2011, 03:55 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Quote:
It just allows me to log in the non administrator user I created during the setup.
And that is how it should be.
If you want to perform system tasks, just use su.
Quote:
Does anyone know how to enable root login on fedora?
You don't, but if you really want to, it depends on your window manager.

Kind regards
 
Old 04-25-2011, 04:30 AM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,986

Rep: Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447
there is a hack BUT IT IS NOT RECOMMENDED!!!
and if you use it some things in Gnome WILL NOT WORK RIGHT !!
loged in as root in gnome you CAN NOT install software "yum" will not authenticate
the network manager will not authenticate , and so on .There are a bunch of things that WILL NOT WORK RIGHT.

Also fedora 12 is DEAD and unsupported there will NEVER be any updates to it

please STAY CURRENT and install fedora 14 .
 
Old 04-25-2011, 09:24 AM   #4
Fred Caro
Member
 
Registered: May 2007
Posts: 999

Rep: Reputation: 166Reputation: 166
root

You can login as root but it lands you in the root directory/partition and so any saved data will be there, unless you put it elsewhere, so better to visit rather than occupy.Going to the root directory is fine if you want to edit system files but having that constantly open is inviting risk.

Fred.
 
Old 04-25-2011, 12:06 PM   #5
rewards
Member
 
Registered: Dec 2010
Posts: 135

Original Poster
Rep: Reputation: 0
Hello again,

I know all the risks associated with root danger login. This is a practice setup at home and if anything happens, I can always re-install the fedora again. I used to have Linux Centos flavor installed on the system and it gave the options to login as any user including root. Is there anything can be done on fedora to have the option enabling root user login directly? Thank you
 
Old 04-25-2011, 12:18 PM   #6
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,136

Rep: Reputation: 1156Reputation: 1156Reputation: 1156Reputation: 1156Reputation: 1156Reputation: 1156Reputation: 1156Reputation: 1156Reputation: 1156
Quote:
Originally Posted by rewards View Post
Hello again,

I know all the risks associated with root danger login. This is a practice setup at home and if anything happens, I can always re-install the fedora again. I used to have Linux Centos flavor installed on the system and it gave the options to login as any user including root. Is there anything can be done on fedora to have the option enabling root user login directly? Thank you
If it is a "practice setup" then practice doing it the correct way, use "su" rather than GUI root login.
 
1 members found this post helpful.
Old 04-25-2011, 12:22 PM   #7
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,263

Rep: Reputation: 1246Reputation: 1246Reputation: 1246Reputation: 1246Reputation: 1246Reputation: 1246Reputation: 1246Reputation: 1246Reputation: 1246
If you want to log-in as root, edit
/etc/pam.d/gdm
/etc/pam.d/gdm-password
In each file, comment out one line thus:
# auth required pam_succeed_if.so user != root

And don't blame me if you suffer consequences!
 
Old 04-25-2011, 05:44 PM   #8
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,986

Rep: Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447
Quote:
I know all the risks associated with root danger login. This is a practice setup at home and if anything happens, I can always re-install the fedora again
it is NOT that
things WILL NOT WORK RIGHT IF YOU DO
Gnome ( ran a root ) will NOT WORK RIGHT
things WILL NOT WORK!
Gnome WILL be broken !

gnome run as root in 12 WILL NOT be able to get root authentication , the pop up window will NOT POP UP !

also there were some VERY bad root login bugs in 12

PLEASE use the current AND SUPPORTED VERSION Fedora 14
 
  


Reply


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
Root login in Fedora 10 guanajuatense2008 Linux - Newbie 20 12-19-2010 09:55 PM
How to login in root in fedora 10 KapilSatav Linux - Wireless Networking 2 08-06-2009 07:50 PM
Why can't I login as Root on Fedora 11? posla Linux - Newbie 2 08-06-2009 12:23 AM
can't login to root fedora 10 podizoid Linux - Newbie 6 02-13-2009 08:37 PM
Root login on Fedora 10 danie1 Linux - General 2 01-22-2009 05:30 PM


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

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