DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I must be doing something wrong. This is my first Debian install.
When I try to log on as root, Debian 6 gives the message that
the pass word is invalid. I know the root pass word. I installed
the system. So I eventually give up and log on as an ordinary
user. Then I start a terminal and using su, log on as root using
the very same root pass word. This works. Well, thinks I, we
are now getting somewhere. But I'm wrong. When I try to change
user to root, the root pass word is rejected as invalid.
What can I do to log on as root at bootup in Debian 6 ?
There is no security issue. This particular machine is not on
the internet and I'm the only one who uses it.
So I eventually give up and log on as an ordinary
user. Then I start a terminal and using su, log on as root using
the very same root pass word. This works.
Which is the correct way to do it. There is no reason to log in to an X session as root.
Well, OK. I guess root is not for me on Debian.
Them Debian experts know best. After all, who am
I to want to be root ? Just the guy who owns the
computer and installed the OS, pays for the Internet
cable, runs the computer... A nobody. So be it.
This thread is solved.
Distribution: Started with Slackware - 3.0 1995 Kernel 1.2.13 - Now Slackware Current. Also some FreeBSD.
Posts: 124
Rep:
Quote:
Originally Posted by zeelog
Well, OK. I guess root is not for me on Debian.
Them Debian experts know best. After all, who am
I to want to be root ? Just the guy who owns the
computer and installed the OS, pays for the Internet
cable, runs the computer... A nobody. So be it.
This thread is solved.
My first comment is to switch to Slackware! root access out of the box! (BTW, I like Debian and I am using Debian right now on this particular laptop)
In Debian do this:
Edit this file as root: /etc/pam.d/gdm3
Comment out this line with a hash:
#auth required pam_succeed_if.so user != root quiet_success
You can now select Other User at the GUI login and login as root. (might need to reboot first)
You can also switch to a console (Ctrl+Alt+F1) kill gdm and then run "startx" as root.
Last edited by Fred-1.2.13; 10-12-2012 at 06:38 PM.
After all, who am I to want to be root ? Just the guy who owns the computer and installed the OS, pays for the Internet cable, runs the computer... A nobody. So be it. This thread is solved.
To run a command as root
Code:
$ su
enter the root password, enter the commands, then:
Code:
# exit
To run a gui application as root
Code:
$ gksu <name of gui application>
enter the root password.
Last edited by el chapulín; 10-14-2012 at 07:05 AM.
Well, OK. I guess root is not for me on Debian.
Them Debian experts know best. After all, who am
I to want to be root ? Just the guy who owns the
computer and installed the OS, pays for the Internet
cable, runs the computer... A nobody. So be it.
This thread is solved.
No one says you can't do it. It's simply not recommended to run an entire desktop under root. It's not just a Debian thing either. There are apps that will warn you or even refuse to run as root. Even M$ has finally figured this out.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.