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

36 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.


Search terms for this article:

    • 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
    • cara-cara root debian
    • debian gui root login disabled
    • abilitare root debian wheezy
    • enable root in debian wheezy
    • how to enable root login in debian
    • how to open root terminal debian
    • iniciar debian autologon
    • debian 7 1 0 root gdm
    • log in as root in debian squeez
    • debian 7 root shelll
    • debian unlock root user
    • log into root on debian
    • debian enable root
    • debian start wit grafica
    • linux mint debian anmelden ohne passwort
    • enable login screen debian
    • debian 7 1 login root user
    • cara masuk super user pada debian 6
    • debian6 adminstrator connexion
    • enable root in debian
    • bagaimana install vnc pada gnome debian lenny
    • GDM Debian wheezy root login
    • debian root登陆
    • ubuntu gnome root login are not allow
    • abilitare root per accesso grafico debian
    • debian su permission in gnome
    • enable root to login debian
    • debian squeeze login as root
    • debian allow root user
    • debian squeezy login as root
    • iniciar session root debian 7
    • debin become root
    • gdm3 root squeeze
    • cannot login to debian
    • gnome abilitare utente root debian
    • debian se connecter en root
    • logowanie do roota debian 7
    • debian gnome login as root
    • how login as root debian 6
    • debian make allow login root
    • setup root login debian
    • set auto login debian 6
    • allow login as root debian squeeze
    • how to login to root in debian 6
    • debian boot root
    • debian konsole with administrato
    • debian allow root desktop login
    • gnome root failure
    • debian 6
    • debian desktop as root
    • debian login as a root
    • instal xwindows pada debian
    • how to configure root user auto login
    • como activar en debian 7 1 la cuenta de root
    • iniciando gnome como root debian
    • wheezy gnome allow root login
    • cara masuk root debian cli
    • debian allow kde gui login as root
    • logear gnome como root
    • enable root login debian wheezy
Welcome!

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

Categories
Tag Cloud