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?

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


Login to a user account.


Open a terminal window and type this into your window:

su root


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

#auth   required user != root quiet_success

Content of: /etc/pam.d/gdm3

auth    requisite
auth    required readenv=1
auth    required readenv=1 envfile=/etc/default/locale
#auth	required user != root quiet_success
@include common-auth
auth    optional
@include common-account
session required
@include common-session
session optional auto_start
@include common-password



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


  • 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

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

    Works like a charm. Well done!

  • 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

    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

    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


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

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


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

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

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

    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 नादिया से उन्नयन / अपडेट करने के लिए कैसे |

  • 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!

  • Wednesday, 3. September 2014 - 17:07 Uhr

    […] Debian 6 – HowTo enable gnome root login on Debian 6 … […]

  • Wednesday, 3. September 2014 - 17:31 Uhr

    […] Debian 6 – HowTo enable gnome root login on Debian 6 … […]

  • Wednesday, 3. September 2014 - 17:34 Uhr

    […] Debian 6 – HowTo enable gnome root login on Debian 6 … […]

  • Tuesday, 23. September 2014 - 6:36 Uhr

    Download The Simpsons Tapped Out Cheat.
    The Simpsons Tapped Out Cheat is the best generator for Donut and
    Coins. Now you don`t have worry about your account thanks to special anti-ban system.
    Download now and have a fun.

    Feel free to surf to my web page the simpsons tapped out cheats donuts

  • Tuesday, 23. September 2014 - 11:28 Uhr

    It’s going to be end of mine day, however before ending I am reading this great piece of writing to increase my knowledge.

  • Wednesday, 8. October 2014 - 3:18 Uhr

    The web has truly changed the way we communicate and made it far easier to stay informed about the lives of our loved ones.
    A VPN creates an encrypted connection to a third-party server, and all your Internet traffic is routed through that server.
    By ranking your website on the very first page of search engine results, you are tapping into
    a huge number of people looking for what exactly you offer.

  • Sunday, 4. January 2015 - 17:40 Uhr

    In addition, the court also sentenced on the newspaper deputy editor in chief of 3900
    euros (about 40000 yuan), the two authors reported
    800 euros (about 9000 yuan). Four Christmases – it is a romantic
    comedy movie about a newly married couple struggling to visit all four of their divorced
    parents for Christmas. Torrents can be a popular method to watch TV, movies, and tune in to music online.

  • Monday, 9. February 2015 - 14:04 Uhr

    Unfortunately, many Americans who need to lose “unhealthy”
    excess body fat enroll in weight loss programs that lead to long-term weight loss belts gain. Because your physique is usually
    absorbing fats, workout is the most vital detail you should be doing.
    “I turn around, and it’s two huge, 6-foot-6 guys [from the Jaguar].

  • Friday, 20. February 2015 - 17:38 Uhr

    Hi there Your main site runs up honestly slow for me, I am not
    sure who’s issue is that on the other hand flickr opens up pretty good.

    Anyways, I appreciate you for writing such type of
    great article. I suppose it has already been necessary to
    many individuals . I have to tell you that you actually have done wonderful work with this as well as
    wish to check out further brilliant stuff from you.

    Just after viewing your content, I have book-marked your web blog.

  • Saturday, 7. March 2015 - 4:42 Uhr

    Listed here is the free Hack Facebook Account ( hacking resource out there on the web-site.

Search terms for this article:

    • cara menggunakan GNUroot weezy
    • debian 7 4 give user root access
    • debian stop auto logout
    • debian desktop login as root wheeze
    • login root privilege for debian desktop
    • debain allow root to log on
    • debian enable root login
    • how do i enable root login in jessie 8
    • change default username into root debian
    • debian squeeze ftp
    • grafische root anmeldung debian
    • activate root Debian
    • dar acceso a root con pam d debian 6
    • as root debian
    • wheezy no login root
    • enable root account debian wheezy
    • cara masuk root debian grafik
    • debian 6 07 graphical root login
    • activer root debian 7
    • gnome root password
    • debian 7 how to root KDE
    • debian wheezy gnome pin to desktop
    • masuk admin debian server
    • why am i ligged in as live user session on linux
    • how to open root terminal in debian
    • set login root in kde debian6
    • enable root login debian 7
    • debian auto login as root gdm
    • enable root login debian wheezy
    • debian root erlauben an xserver anzumelden
    • root login debian
    • como activar el usuario root en debian Squeeze 6 07
    • gnome 3 root terminal
    • debian gedit root
    • cara ngestal root debian
    • cara masuk gedit debian
    • debian allowrootlogon gnome
    • login as root is not allowed debian
    • Pathin sex
    • root anmelden debian
    • debian mit root anmelden
    • debian root
    • debian root xwindow
    • einloggen root gnome
    • einloggen root desktop
    • debian cannot login root
    • how to login gnom3 in debian
    • root login not allowed wheezy
    • enable remote ftp logins to debian
    • debian 6 log in GUI not possible
    • debian 5 enable su: Authentication failure
    • cant login as root in debian 6 0 10
    • debian cant log into root
    • log me in debian
    • enabling root logia in debian
    • how to login root in debian 5
    • debian wheezy gnome cannot open display
    • debian login as root erlauben
    • cara masuk root di debian 7 3 desktop
    • attivare il login di root su debian 7
    • debian root gui access
    • como acceder como root en debian squeeze
    • cara login root di debian gui
    • debian gnome user
    • root gui access debian 7
    • wheezy enable login as root
    • debian howto start Terrminal
    • debian log as administator
    • activar gdm3 al boot
    • open session as root on debian
    • root login for debain
    • why does open as administrator not work in debian
    • loguear root gnewsense
    • create debian account
    • debian allow root ligin
    • complete linux installer debian su: authentication failure
    • debian 7 teminal mode
    • debian gnome root authentication failed
    • XDMCP gnome root cannot login
    • change login always root debian
    • debian activate root session
    • root account not activated in debian
    • debian 7 activate logon screen
    • debian wheezy how to login
    • root authentication failure when login in debian
    • how to login as root in debian linux
    • abilitare accesso root debian server grafico
    • debian jessie impossible to log in
    • debian root remote login gnome
    • how to enable root login on debian linux
    • cannot login as root user on debian
    • commands for changing the administrators password on GNOME terminal
    • debian root logins not allowed
    • how to enable root debian
    • root for debian 7
    • allow root access gui debian
    • how to give user root on GUI debian
    • debian 6 su authentication failure correct password fail acces denied ssh
    • debian 6 su authentication failure terminal gnome
    • how to allow root logins in debian
    • wheezy root login mit X
    • enable root debian linux
    • root login in Debian
    • wheezy auto login
    • debian6 autologin gnome
    • access root with gui debian jessie
    • debian login as root auto
    • enable root x login debian
    • Debian Log in as Root
    • ubuntu xwindows allow root login
    • connection root x11 debian
    • login as root debian
    • debian root console
    • debian sid root automatisch anmelden
    • root weezy log in desktop
    • logon as root debian
    • debian lxde root login
    • Debian how to log into the gui as root
    • debian squeeze gnome 2 3 for root
    • Debian give X window permisions to root kde
    • login whezzy as root
    • debian gui change login password
    • gnewsense how to allow root login
    • enable root debian squeez
    • how to login through root in debian
    • how ro enter login debiean
    • debian allow root console login
    • debian wheezy root logins are not allowed?
    • debian 6 0 gnome enable root login
    • debian lxde gdm root login
    • accesso grafico debian 6 root
    • debian 6 abilitare root grafico
    • gnuroot wheezy ssh permission denied
    • como entrar como root en gnome
    • mint debian enable root login
    • I cannot login as root on Debian-7
    • open as root di debian 6
    • debian accesso root consolle
    • enable loglevel boot debian
    • www pathin sex com
    • gnu no root start gnome start
    • loguear debian squeeze como root
    • rootlogin debian
    • gnome root login
    • root squeeze debian
    • linux grafischen root login verhindern
    • debian gnome add root to login
    • Give root acces for X window Debian
    • Debian root acces for X window
    • attivare account root su gnome
    • debian allow login as root
    • how to boot debain via terminal
    • debian gnu login as root under gui
    • debian 5 root login
    • enable root user for gnome
    • enabling root login in debian 7
    • ubuntu login to xwindows safe mode root
    • how do i login as root in debian wheezy
    • debian allow root X
    • cara root login debian
    • cant log on how to sign in terminal debian
    • wheezy root autologin
    • root 2 se root 11 tak
    • debian kde allow root login
    • debian x windows root unable to logon
    • root login ssh debian 7
    • debian cant login as root
    • debian howto gdm3
    • enable php error log on debian wheezy
    • enabling root log in debian
    • How to execute the gui in debian 6 06
    • como ser root en terminal debian squeeze
    • debian enable root user
    • autostart terminal root rechte wheezy
    • activation root debian
    • debian wheezy no root
    • how to access root on developer console
    • deian acceder como root
    • gnome root login ldvm
    • installation debian von root terminal
    • activate root login cubian
    • 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

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

Tag Cloud