[Fedora-electronic-lab-list] how to login as root at runlevel 5

g geleem at bellsouth.net
Wed Mar 4 14:53:06 UTC 2009

K Sandesh Kamath wrote:

> I am trying to login as root at runlevel 5 and it throws an error "Unable to
> authenticate user".

this is because you should not log in as root

> Please do tell whether I am following the right method to login as root.

login as normal user, open a terminal, cd to /etc/pam.d, su to root.

edit /etc/pam.d/gdm, find the line;

  auth  required  pam_succeed_if.so user != root quiet

replace it with;

  auth  required   pam_succeed_if.so

logout as root close terminal, logout of x as user and login as root.

please do not post in html. thank you.


peace out.



in a free world without fences, who needs gates.
help microsoft stamp out piracy - give linux to a friend today
to mess up a linux box, you need to work at it;
to mess up an ms windows box, you just need to *look at* it.
learn linux:
'Rute User's Tutorial and Exposition' http://rute.2038bug.com/index.html
'The Linux Documentation Project' http://www.tldp.org/
'LDP HOWTO-index' http://www.tldp.org/HOWTO/HOWTO-INDEX/index.html
'HowtoForge' http://howtoforge.com/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-electronic-lab-list/attachments/20090304/62a5596b/attachment.sig>

More information about the Fedora-electronic-lab-list mailing list