Debian 6 – HowTo enable gnome root login on Debian 6 (Squeeze)

Debian logoHello, in this short tutorial I will show you, how you can enable root login on the gnome login screen on Debian 6 (Squeeze).

How to enable gnome root login on Debian 6?

Note:
You will need the root password for this set of commands.

Step1:

Login to a user account.

Step2:

Open a terminal window and type this into your window:

su root
gedit

Step3:

Now open the file /etc/pam.d/gdm3 and comment out the fifth line:

#auth   required        pam_succeed_if.so user != root quiet_success

Content of: /etc/pam.d/gdm3

#%PAM-1.0
auth    requisite       pam_nologin.so
auth    required        pam_env.so readenv=1
auth    required        pam_env.so readenv=1 envfile=/etc/default/locale
#auth	required	pam_succeed_if.so user != root quiet_success
@include common-auth
auth    optional        pam_gnome_keyring.so
@include common-account
session required        pam_limits.so
@include common-session
session optional        pam_gnome_keyring.so auto_start
@include common-password

Step4:

Reboot.

I hope this is helping some of you, because root is not allowed to login on a fresh Debian 6 installation.

Related Posts:

Write a Comment

 

XHTML: You can use the following Tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

 

Comment Text

39 Comments:


  • Saturday, 10. March 2012 - 14:27 Uhr

    thanks, it worked
    got tired of people telling me how to run my life
    i’m 74 and like to live dangerously


  • Sunday, 8. April 2012 - 10:42 Uhr

    Thanks. I too am pissed off with Linux paranoia about root. Typing in mysterious incantations from the command line is more likely to result in surprising and unintended interpretation than using a GUI IMO. So dangerous things should be possible from gui (why not allow promotion of ordinary user to superuser with a password prompt via a shortcut key sequence?) Anyway, I only play with linux, I kept the missile launch codes, the unseen incriminating celeb sex tapes and all my employers bank details on the unencrypted vista laptop that I left in the taxi after the last office piss up. Kept that one under my hat. Keep hoping it will turn up on ebay.


  • Tuesday, 29. May 2012 - 9:28 Uhr

    muchas gracias +10


  • Thursday, 31. May 2012 - 16:49 Uhr

    Thank you, thank you, thank you!


  • Thursday, 7. June 2012 - 22:53 Uhr

    Thank you.


  • Sunday, 1. July 2012 - 14:00 Uhr

    I get permission denied when trying this. I’m in root terminal, typed /etc/pam.d/gdm3 exactly…

    What am I doing wrong? Thanks


  • Thursday, 12. July 2012 - 22:54 Uhr

    Hello Cipher, sorry for answering that late. You have to open the file with the gedit text editor which you have opened with the commands: su root, gedit.


  • Monday, 24. September 2012 - 22:14 Uhr

    Superb!!!
    A crisp, clean explanation on how to resolve an annoying default issue or feature (depending upon your perspective).

    Works like a charm. Well done!
    Cheers,
    Ian


  • Thursday, 4. October 2012 - 10:24 Uhr

    thanx man


  • Saturday, 17. November 2012 - 14:38 Uhr

    this іmage mοże bуćodρowіеdnie.


  • Saturday, 1. December 2012 - 10:40 Uhr

    Thanks!
    As others have already mentioned, when it comes to login as root, some “linux folks” act like the damn national security depends on it! What the hell is wrong with everybody these days? From linux to micro$$$$$oft, they all tend to restrict everything as much as possible, and if possible leaving you with the only “right” to open the browser and see some html pages (nooooo, no flash, god forbid!!). As if from now on, every PC user is to be considered dumb and retarded and must be protected against himself, by any means!.
    Good to see there still are some normal people out there willing to share NORMAL AND USEFUL information. To the others, I just have to say… go check yourselves and don’t forget the medication!


  • Saturday, 1. December 2012 - 11:09 Uhr

    This just made my day :D


  • Saturday, 1. December 2012 - 23:10 Uhr

    Please help me!

    I did exactly as told, and now I cant’t login in Debian, not even as a normal user. All I get is an “acess denied” message. I’m totally sure the password is correct.


  • Saturday, 1. December 2012 - 23:53 Uhr

    Hello Pedro, I sent you an E-Mail regarding this issue.


  • Tuesday, 4. December 2012 - 17:54 Uhr

    Great!!!
    Have navigated through several posts without finding a direct reply to such a direct question! Thanks to the others who have alerted about the risks of logging on as root, but this answer was exactly what I’ve been looking for.


  • Tuesday, 25. December 2012 - 3:20 Uhr

    Superb post. Excellent. Worked on latest 6.3.


  • Tuesday, 25. December 2012 - 4:01 Uhr

    oops. I meant latest 6.0.6 release.


  • Thursday, 10. January 2013 - 10:44 Uhr

    Thank You!
    Very useful tip )


  • Monday, 14. January 2013 - 14:26 Uhr

    [...] Das OriginalHowHo “Debian 6 – HowTo enable gnome root login on Debian 6 (Squeeze)” [...]


  • Tuesday, 15. January 2013 - 13:12 Uhr

    Thanx a lot! It worked just fine for me on Debian 6.0.6.


  • Friday, 18. January 2013 - 11:18 Uhr

    Thank you for the info. Short and sweet, just the way it should be.


  • Sunday, 10. February 2013 - 20:29 Uhr

    Si, en Debian esquezze pero vercion Gnome, esto no vale para “KDE”


  • Sunday, 10. March 2013 - 0:02 Uhr

    Brilliant, just worked on Debian 6.0.7


  • Tuesday, 12. March 2013 - 19:48 Uhr

    [...] enable-gnome-root-login-on-debian-6-squeeze [...]


  • Wednesday, 17. April 2013 - 7:50 Uhr

    My HERO!!!!!!


  • Tuesday, 30. April 2013 - 23:05 Uhr

    awesome! thanks


  • Tuesday, 18. June 2013 - 9:21 Uhr

    Thanks


  • Sunday, 21. July 2013 - 18:50 Uhr

    still works in Debian 7.1 cool..!! :) handy for updating software etc.

    André


  • Saturday, 10. August 2013 - 15:40 Uhr

    It works!!!! for Debian 7, thank you man.


  • Monday, 23. December 2013 - 13:17 Uhr

    Tnx!
    Works well on Deb 7.3
    So simple and so useful


  • Saturday, 18. January 2014 - 23:52 Uhr

    Thanks for the GDM example, but I have to go find the one for KDM. Hmm, seems the file “etc/pam.d/kdm” is similar but doesn’t even seem to have that line, commented-out or not.


  • Monday, 17. March 2014 - 2:57 Uhr

    the main reason people say not to run linux as root is the same reason its not a good idea to run windows as an admin will full system privs.. because if the system gets compromised the hacker is granted the permissions of the user that is currently logged in.. Therefor if you are root, then the hacker is root also and it is game over…


  • Thursday, 26. June 2014 - 3:27 Uhr

    Valuable information. Fortunate me I discovered your site unintentionally,
    and I’m surprised why this coincidence did not took place earlier!
    I bookmarked it.

    my page – Webster


  • Monday, 7. July 2014 - 8:51 Uhr

    Oh my goodness! Amazing article dude! Thanks, However I am encountering problems with
    your RSS. I don’t know the reason why I am unable to subscribe
    to it. Is there anybody else having the same RSS problems? Anyone that knows the answer will
    you kindly respond? Thanks!!

    Here is my webpage صفحه اصلی وب سایت


  • Sunday, 13. July 2014 - 2:07 Uhr

    Exceptional post however , I was wanting to know if you could
    write a litte more on this topic? I’d be very grateful
    if you could elaborate a little bit more. Appreciate it!


  • Wednesday, 16. July 2014 - 0:08 Uhr

    It’s very effortless to find out any matter on web as
    compared to books, as I found this article at this web site.


  • Sunday, 27. July 2014 - 17:59 Uhr

    रेफरी: लिनक्स टकसाल 15 ओलिविया को लिनक्स टकसाल 14 नादिया से उन्नयन / अपडेट करने के लिए कैसे | LinuxG.net


  • Tuesday, 5. August 2014 - 14:56 Uhr

    I think this is among the most significant information foor
    me. And i’m glad reading your article. But should rejark on few
    general things, The weeb site style is perfect, the articles
    is really nce : D. Good job, cheers


  • Tuesday, 2. September 2014 - 11:44 Uhr

    When I initially left a comment I appear to have clicked on the -Notify me when new comments are added- checkbox and from
    now on every time a comment is added I recieve 4 emails with the
    same comment. Is there an easy method you are able to remove me
    from that service? Many thanks!


Search terms for this article:

    • enable debian root login
    • yhs-adk_sychp
    • cara root debyan
    • how to change gnome on debian
    • debian allow root gui
    • debian gui as root
    • debián grafisch opstarten
    • linux root gui anmelden
    • how to login root user in linux 6 0 graphics mode santiago
    • how to activate root user in linux 6 0
    • add root user wheezy
    • debian activate root login
    • debian allow user to gnome
    • enable gdm3 terminal mode
    • debian 7 0 iniciar sesion como root
    • debian auto anmeldung
    • gnome login as root
    • debian login failure
    • login as root account debian
    • debian authentication failure after install
    • debian grafisches login root verbieten
    • debian wheezy einloggen als admin
    • cannot login into root debian graphival x
    • debian cannot login into root gnone
    • gnome as root on debian
    • allow root edit etc/pam d/gdm3:
    • debian allow root as desktop user
    • debian wheezy enable root login
    • how to login debian squeeze
    • gimana cara masuk ke root menggunakan terminal gnome
    • how to allow root desktop login debian
    • acceder como root en debian 6
    • autoriser root gdm3 wheezy
    • forbid root login desktop
    • entrar como root debian squeeze
    • cant login to debian
    • cara ssh root not acces debian
    • how to login as root on gnome debian squeeze
    • how to login as root on gnome
    • why root can not play kde games?
    • como fazer loguin como root via terminal debian
    • enabling root login debian wheezy
    • mail cmd su
    • login debian
    • how to enable root log on debian
    • show root account gnome
    • how to load the debian desktop from terminal
    • pam_loginallow so
    • ativando a conta root no debian 7
    • debian login as root
    • debian root login verweigern
    • enable gnome desktop debian 7
    • entrar a root grafico debian squeeze
    • authentication failure in gnome during login in rhel 6
    • authentication failure when tried to login in graphics mode in linux
    • gdm3 no autostart
    • allow root logingdm3
    • how to login to root on gnome desktop
    • sign up for debian org
    • logar como root no debian
    • berryboot debian weezie root login
    • root login on debian sid
    • debian wheezy grafisch root anmelden
    • gdm only can login as root
    • debian root login x-window
    • debian not allowing login
    • Debian 7 5 root default passwort
    • connexion root debian
    • root access debian
    • ubuntu gnome root
    • unable to use SU in Debian
    • activating SU login in Debian
    • debian root login allowed
    • root unable to login debian
    • gnome allow root connection
    • debian 6 graphics appplication autorun after login
    • debian no terminal
    • debian oberfläche root login
    • enabling root account in Debian
    • debian wheezy graphical login
    • how to change debian desktop in debian
    • debian allow root graphic
    • debian does not allow user to unlock password
    • how to login as administrator in debian linux
    • adding root to gnome squeeze
    • how to enable root login in gnome shell debian 7
    • start debian in root mode
    • start debian in root mode
    • allow debian root login gnome
    • debian wheezy gnome short login not working
    • debian gnu/linux 7 debian tty1 debian login
    • gnome permit root login
    • debian ssh root login
    • debian gnome login loop
    • how to enable root in debian gnome
    • enabling root in debian desktop
    • debian 7 5 login as
    • after installing debian 7 when trying to login it says authentication failed
    • como logar como root no debain 6 gnome
    • run debian gnome as root
    • kde root anmeldung
    • multiuser login Xvnc debian 7 0
    • run gnome as root debian
    • DEBIAN ROOT login gui
    • root en debian
    • no space on root in debian 6
    • debian root x11
    • root not allowed debian
    • cara mengaktifkan GUI di debian 6
    • how to login debian
    • tidak bisa install mc ssh di debian 6
    • how to debian root
    • how to enable root login on debian squeeze
    • habilitar root en debian 6 inicio de esion
    • root unlock debian
    • cant login to debian startpat error
    • autologon debian
    • gnome log in with root
    • debian 7 login x as root
    • debian squeeze configure graphical login
    • how to sign into root account in debian 6 0 7
    • activar inicio como root en gnome
    • debian how to boot on gnome
    • debian root account aktivieren
    • debian disktop root login
    • iniciar sesion root debian squeeze
    • Debian 7 0 root gnome
    • mail cmd su loc:FR
    • debian 6 fingerprint login
    • debian gui can login as root
    • allow root login debian
    • debian login error
    • gdm3 no login screen
    • root anmelden erlauben
    • debian how to gnome
    • debian 7 1 root anmelden
    • acces root gnome debian
    • root access in crunchbang
    • debian 6 0 session root
    • squeeze linux root
    • debian startup as root
    • debian 7 0 root login desktop
    • se connecter en root avec debian squeeze
    • debian root does not include
    • how to enable java console log in debian
    • debian squeeze se logger en root
    • debian root disabled after installation
    • hot to log on as root in debian
    • how to enable root login in gnome 2 32 0
    • debian su root authentication failure
    • activating root on debian 6
    • su-to-root gnome
    • debian gnome gedit als root ausführen
    • debian 6 als root user anmeden
    • debian linux root gnome
    • debian enable root from recovery
    • unlock root debian 7
    • linux debian acceder graficamente como root
    • Parsic sex com
    • iniciar gnome debian 7
    • como habilitar ssh debian desktop
    • debian wheezy permission denied error as root
    • debian graphical login with root
    • debian6 als root user anmelden
    • how to start gui in terminal for debian 7
    • aggiungere utente root a linu mint
    • dang nhap root debian
    • unlock root squeeze
    • iniciar autologin terminal server
    • enable root debian
    • debian access terminal from login screen
    • root logins nt allowed
    • pam_loginallow
    • debian users-admin x11
    • debian 7 1 root 登陆
    • how to root debian from login screen
    • debian linux gnome as root
    • how to use root on debian 7
    • enable login user debian
    • log in to gnome as root
    • gnome connexion root
    • root password always fails in debian6
    • Gnome-RDP instalar debian squeeze
    • cara install file server pada debian 6
    • debian - create root login
    • log into debian as root
    • como instalar gnome via terminal no wheezy
    • mettere interfaccia grafica in debian 6 0 7
    • debian make root can login
    • why am i getting permission denied on debian
    • debian login root
    • habilitar root login debian 6
    • logearse de root en debian
    • habilitar inicio de root en debian squeeze
    • debian x als root
    • debian packages
    • debian admin password
    • como activar el usuario root para squeeze
    • debian root login graphic
    • debian aanmelden als root
Welcome!

Welcome to pathin.org
Thanks for looking by.
Please feel free to discuss with us by writing comments.

Categories
Tag Cloud