LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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



Closed Thread
 
Search this Thread
Old 02-08-2012, 04:24 PM   #16
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,516

Rep: Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896

Quote:
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.

Kind regards

Last edited by repo; 02-08-2012 at 04:27 PM.
 
Old 02-08-2012, 04:44 PM   #17
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,653
Blog Entries: 2

Rep: Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095
Quote:
Originally Posted by jasonpsage View Post
Please stop preaching you're Anti-Root Propoganda
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.
 
Old 02-08-2012, 06:08 PM   #18
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 1,808

Rep: Reputation: 234Reputation: 234Reputation: 234
Only the incompetent require root access for day to day operation.
 
Old 10-29-2013, 07:08 AM   #19
ncmoody
Member
 
Registered: Feb 2013
Location: Worcester, UK
Distribution: lots, mainly Xubuntu
Posts: 78

Rep: Reputation: Disabled
Quote:
Originally Posted by rkelsen View Post
Only the incompetent require root access for day to day operation.
The sheer arrogance of this poster is astounding!
 
1 members found this post helpful.
Old 10-29-2013, 07:25 AM   #20
Captain Pinkeye
Member
 
Registered: Oct 2012
Location: The Czech Republic
Posts: 201

Rep: Reputation: Disabled
Quote:
Originally Posted by hashbangbinbash View Post
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.
 
Old 10-29-2013, 07:32 AM   #21
ncmoody
Member
 
Registered: Feb 2013
Location: Worcester, UK
Distribution: lots, mainly Xubuntu
Posts: 78

Rep: Reputation: Disabled
Quote:
Originally Posted by Captain Pinkeye View Post
This is really bad idea, but i think you've noticed

Hurray a 'real' old style forum poster.

Warns that the information may be dangerous but still answers the question - without asking why the info is required and without preaching.

Well done Sir!
 
1 members found this post helpful.
Old 10-29-2013, 07:33 AM   #22
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Wallowing in a pit of despair.
Distribution: OpenBSD
Posts: 1,386
Blog Entries: 4

Rep: Reputation: 423Reputation: 423Reputation: 423Reputation: 423Reputation: 423
Quote:
Originally Posted by ncmoody View Post
The sheer arrogance of this poster is astounding!
Thank you for resurrecting a year-and-half-old thread to, I presume, advocate the practice of logging into a GUI as root?
 
Old 10-29-2013, 07:41 AM   #23
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,653
Blog Entries: 2

Rep: Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095
Quote:
Originally Posted by ncmoody View Post
The sheer arrogance of this poster is astounding!
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?
 
Old 10-29-2013, 07:43 AM   #24
ncmoody
Member
 
Registered: Feb 2013
Location: Worcester, UK
Distribution: lots, mainly Xubuntu
Posts: 78

Rep: Reputation: Disabled
Quote:
Originally Posted by Randicus Draco Albus View Post
Thank you for resurrecting a year-and-half-old thread to, I presume, advocate the practice of logging into a GUI as root?
I believe there are certain roles in Linux (and other UNIX) systems administration where logging into a GUI as root has its advantages.

Not something I would recommend on a production machine unless you are very experienced and super careful.

However on a test machine then I see no real problem provided you understand the consequences and can handle the risks.
 
Old 10-29-2013, 07:47 AM   #25
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,718

Rep: Reputation: 904Reputation: 904Reputation: 904Reputation: 904Reputation: 904Reputation: 904Reputation: 904Reputation: 904
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
 
Old 10-29-2013, 08:13 AM   #26
ncmoody
Member
 
Registered: Feb 2013
Location: Worcester, UK
Distribution: lots, mainly Xubuntu
Posts: 78

Rep: Reputation: Disabled
Quote:
Originally Posted by TobiSGD View Post
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.
 
Old 10-29-2013, 08:28 AM   #27
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Wallowing in a pit of despair.
Distribution: OpenBSD
Posts: 1,386
Blog Entries: 4

Rep: Reputation: 423Reputation: 423Reputation: 423Reputation: 423Reputation: 423
Quote:
Originally Posted by ncmoody View Post
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.
 
Old 10-29-2013, 08:51 AM   #28
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: infinity; (randomly born:) Milwaukee, WI, US, Earth
Distribution: any UNIXish that works well on my cheapest with mostly KDE, Xfce, JWM or CLI but open ;-)
Posts: 1,457
Blog Entries: 2

Rep: Reputation: 382Reputation: 382Reputation: 382Reputation: 382
Exclamation

Not really reading past here so sorry if redundant:
Quote:
Originally Posted by jdkaye View Post
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 > Untitled.pngConfigure 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 04:32 PM.
 
Old 10-29-2013, 08:54 AM   #29
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 13.1 / 12.3_64-KDE, Ubuntu 14.04, Fedora 20, Mint 17, Chakra
Posts: 3,688

Rep: Reputation: Disabled
Quote:
Originally Posted by TobiSGD View Post
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 .
 
Old 10-29-2013, 09:16 AM   #30
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,653
Blog Entries: 2

Rep: Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095
Quote:
Originally Posted by JZL240I-U View Post
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.
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
log into the gui as root ronss Suse/Novell 2 07-31-2007 01:44 PM
newbie > root can log in to a gui, users suddenly can't Influx Slackware 18 10-09-2005 11:09 AM
Can't log on as ROOT and go to GUI checho4 Mandriva 5 08-17-2005 06:58 PM
Can't log into GUI with root Oeli Linux - Newbie 5 11-28-2003 10:10 AM
How to log in (root) without GUI thenewbster Mandriva 4 09-20-2003 04:44 PM


All times are GMT -5. The time now is 09:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration