LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 03:24 PM   #16
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899

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 03:27 PM.
 
Old 02-08-2012, 03:44 PM   #17
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
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, 05:08 PM   #18
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,448
Blog Entries: 7

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
Only the incompetent require root access for day to day operation.
 
Old 10-29-2013, 06: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, 06:25 AM   #20
Captain Pinkeye
Member
 
Registered: Oct 2012
Location: The Czech Republic
Posts: 280

Rep: Reputation: 98
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, 06: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, 06:33 AM   #22
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: No distribution. OpenBSD operating system
Posts: 1,711
Blog Entries: 8

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
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, 06:41 AM   #23
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
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, 06: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, 06:47 AM   #25
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
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, 07: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, 07:28 AM   #27
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: No distribution. OpenBSD operating system
Posts: 1,711
Blog Entries: 8

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
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, 07:51 AM   #28
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
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 > Name:  Untitled.png
Views: 251
Size:  547 BytesConfigure 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.
 
Old 10-29-2013, 07:54 AM   #29
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

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, 08:16 AM   #30
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
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



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 / openSUSE 2 07-31-2007 12:44 PM
newbie > root can log in to a gui, users suddenly can't Influx Slackware 18 10-09-2005 10:09 AM
Can't log on as ROOT and go to GUI checho4 Mandriva 5 08-17-2005 05:58 PM
Can't log into GUI with root Oeli Linux - Newbie 5 11-28-2003 09:10 AM
How to log in (root) without GUI thenewbster Mandriva 4 09-20-2003 03:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:29 AM.

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
Open Source Consulting | Domain Registration