Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
First off - to all the NAH-SAYERS about logging in as ROOT? WE DON'T CARE
Quote:
You are NOW GOD on your system and the NAY-SAYERS about root can go run windows or Mac if they wish
I don't care if you run your system in GUI as root,
however if the system gets compromised when running as root, and is connected to the internet,
it becomes a problem for other people.
Please start thinking before posting. Compromising a system that is run as root can be done by every script kiddie out there, as soon as the user forgets he is root and starts to browse the web. We don't want our mail accounts to be spammed from your insecure system, and that is only annoying, a compromised system can do things where even you can be held accountable for (explain to the police that it is not your illegal content the machine is hosting).
Quote:
Edit /etc/inittab and look for lines like:
Code:
# The default runlevel.
id:2:initdefault:
change to (for safety)
Code:
# The default runlevel.
#id:2:initdefault:
id:3:initdefault:
Essentially commenting out original and adding the new line with the "3" in it.
Useless, on Debian the runlevels 2-5 are all the same.
Quote:
execute these two commands:
Code:
telinit 3
telinit 5
(press enter twice after telinit 5 to get prompt back (sometimes it doesnt show for me)
Again, useless. Are you just throwing that up to make it look more 1337 h4x0r?
Quote:
5: Kill Xwindows like this
Code:
ps -A | grep X
Note the Process number for Xorg
And kill it like this:
Code:
kill <xxx>
Where <xxx> is just thge process number (no greater or less-than signs - just the process number)
This is not the Debian way to do that. The appropriate way would be to stop the displaymanager, on a default Debian install GDM.[code}/etc/init.d/gdm stop[/code]
Quote:
You are NOW GOD on your system and the NAY-SAYERS about root can go run windows or Mac if they wish
Actually it are the YEH-SAYERS who run Windows. No point in adapting Linux to your old Windows behavior.
Quote:
30 year Programming Veteran
But obviously not a veteran in Debian system administration and security.
Where can I make root be able to login in the GUI?
This is really bad idea, but i think you've noticed
Code:
1. Open '/etc/kde4/kdm/kdmrc' (or something like that - i don't use KDE anymore) with root privileges
2. find AllowRootLogin (or something like that)
3. change it from 'false' to 'true'
4. save the file, reboot / restart X
Now if you boot into kdm (which is the default behavior for KDE Debian) you should be able to login as root.
I would like to hear valid points why one should login to root on a GUI. What can you do with a complete GUI that runs as root that you can not do with a GUI that runs as unprivileged user? Why should it ever be necessary to run the complete GUI as root? Why is someone that voices his opinion on that topic (and a opinion that is parted with security experts) arrogant?
Was there any need to resurrect a 4 year old thread for more 'I love loging in as root' posts ncmoody?
As far as I'm concerned rkelsen is correct. I cant see any good reason to login to the GUI/DE as root......and I havent seen you post a reason either. Maybe there isnt a reason apart from a dislike of being limited (even if the limits make sense and are there for a reason) and 'exaggerated sense of one's own importance or abilities'. :P
I would like to hear valid points why one should login to root on a GUI. What can you do with a complete GUI that runs as root that you can not do with a GUI that runs as unprivileged user? Why should it ever be necessary to run the complete GUI as root? Why is someone that voices his opinion on that topic (and a opinion that is parted with security experts) arrogant?
In my vast, but to you no doubt irrelevant experience, there are certain development jobs where a GUI running as root is an advantage.
I have no intention of giving reasons or making any other justification other than 'I find it useful'
I have found a very disconcerting trend growing on various Fora that people demand to know why someone wants a piece of information and then pontificate on the validity of the reason. Usually with other Trolls saying that there is another way or you should not want to be doing this in the first place.
I grew up in a time when you asked for a piece of info and if someone had it they replied otherwise they kept their council to themselves. I have walked away from a number of Fora for this very reason, lets hope I do not have to add this one to the ever growing list.
You may have noticed I have not asked any questions on this forum, and I doubt if I ever will.
I have found a very disconcerting trend growing on various Fora that people demand to know why someone wants a piece of information and then pontificate on the validity of the reason. Usually with other Trolls saying that there is another way or you should not want to be doing this in the first place.
Advising someone is not being a troll. It is being helpful. It is up to the person being advised to decide whether or not to accept the advice. There are usually valid reasons for wanting to know why someone wants to do something. And equally good reasons for advising against it. For example; people new to Debian asking how to add Ubuntu PPAs to their sources.list. If told to go ahead and given instructions on how to do it, those people will soon be asking for help to fix their broken systems.
Quote:
I have no intention of giving reasons or making any other justification other than 'I find it useful'.
Advice for or against something is meaningless without reasons. In this case, if you believe logging in as root is good, or not bad, supplying reasons may convince others. Simply stating, "That is what I believe." will not convince anyone of the validity of your argument.
If you're using kde then look in the menus carefully. You'll find things like "File Manager - Super User Mode" which lets you run konqueror as root. Look some more and you will find other items for apps running in super user mode.
...
Not anymore you won't like giving the keys of 600HP to the kids but it's not my "car" (and it helps some times but do backup regularly) so in Dolphin > Settings > Configure Dolphin > Services > Download New Services... > Root Actions Servicemenu it's as bad as being logged in root!
Last edited by jamison20000e; 10-30-2013 at 03:32 PM.
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629
Rep:
Quote:
Originally Posted by TobiSGD
I would like to hear valid points why one should login to root on a GUI.
Okay, here you go. When you have a machine used by several users it is sometimes necessary to put simple things to order. Mislaid Files, downloads, you name it. Then I like to use dolphin as root, because in some instances graphical work is faster than terminal. There are other programs as well.
Not Kdesu or something, but root so I know any changes I make will be done, no matter what. That's why I do not like sudo or kdesu, it's much too easy to get addled with other running programs which program is root and which is not.
Oh, and my machine has no net access for root.
The early SuSE had a nice splash-screen for root-GUI: bombs with lightened fuses on a red background .
Okay, here you go. When you have a machine used by several users it is sometimes necessary to put simple things to order. Mislaid Files, downloads, you name it. Then I like to use dolphin as root, because in some instances graphical work is faster than terminal. There are other programs as well.
Nothing wrong with that.
Quote:
Not Kdesu or something, but root so I know any changes I make will be done, no matter what.
Using kdesu (or similar programs) is the same as running as root.
Quote:
That's why I do not like sudo or kdesu, it's much too easy to get addled with other running programs which program is root and which is not.
Change the KDE theme for root to something different, for example with a red background or red borders, so you can't mix up the different windows.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.