LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices



Reply
 
Search this Thread
Old 07-09-2012, 10:00 AM   #16
cynwulf
Senior Member
 
Registered: Apr 2005
Distribution: OpenBSD, DragonFly BSD
Posts: 1,414

Rep: Reputation: Disabled

Quote:
Originally Posted by FZappa View Post
Hell, I do alot of work in windows so yea, I have a pretty good idea about security concepts.


Anyway... I'm afraid TobiSGD is correct.

Sometimes the answer is not the answer you expected, that's how it goes when you're learning new things. You obviously cannot cope with a system where the user does not run a GUI as root. You see not running as root as a restriction and a hindrance, and this is possibly because you lack the open mindedness and patience to learn to "do it right". OS such as GNU/Linux and *BSD do things the *nix way, not the windows way. Learn how to use su, sudo, gksu, etc effectively and you will never think about running a GUI as root again. Learn the basics of securing your system and you will soon be laughing at the idea of running a GUI as root...

You're effectively saying to other users - "please give me crap advice on my terms", Linux users in general don't like to give crap advice, they like to give the best advice.

Last edited by cynwulf; 07-09-2012 at 10:06 AM.
 
Old 07-09-2012, 10:13 AM   #17
273
Senior Member
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 3,576

Rep: Reputation: 806Reputation: 806Reputation: 806Reputation: 806Reputation: 806Reputation: 806Reputation: 806
When this kind of thing was asked once before I recall somebody posting a link exlaining how to get your system up and running only using root. What struck me was that the guy doing it didn't give a reason to do it other than laziness, yet he obviously did think at least a little about the implications and he researched enough to get things working. I don't personally think the guy who wrote the page is at major risk of becoming rooted, though I still think he's increased the risk pointlessly. However, I don't think anyone should ever advise anyone else to run as root.
Some people may be able to drive after a few drinks, others live in the middle of nowhere so it doesn't matter as much to them -- still does not make drinking and driving safe or something which should be encouraged. Sorry for the possibly exagerated analogy, but it's the feeling I get when I see people asking to run as root. Either that or taking the safety mechanisms off their automatics because they can't be bothered flicking the switch.
Personally I love not running as root -- it means I can run "rm -rf *" type commands or Cat binary files to the terminal if I want without worrying about having to reinstall my OS. Not that I do that very often, of course, but examples are hard to think of until you come across them.
 
Old 07-09-2012, 11:56 AM   #18
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,766
Blog Entries: 54

Rep: Reputation: 2976Reputation: 2976Reputation: 2976Reputation: 2976Reputation: 2976Reputation: 2976Reputation: 2976Reputation: 2976Reputation: 2976Reputation: 2976Reputation: 2976
Quote:
Originally Posted by FZappa View Post
That was uncalled for and again, I apologize. You were just trying to help me.
All good then.

*If this thread conveys anything about LQ, more so than some other fora, it's that the LQ Community does care. If you would like to reciprocate then please answer EDDY1s question as that would lend closure to this thread the right way, TIA.
 
Old 07-11-2012, 02:21 PM   #19
catspray
LQ Newbie
 
Registered: Jul 2012
Distribution: Slackware & Debian
Posts: 2

Rep: Reputation: 0
Sorry didn't mean to post here

Last edited by catspray; 07-11-2012 at 02:26 PM.
 
Old 03-08-2013, 05:27 PM   #20
rongaines
LQ Newbie
 
Registered: Jan 2009
Distribution: Debian 6 (Squeeze), changed from Fedora 14 after they went to 15
Posts: 4

Rep: Reputation: 0
ppl that wont answer a question really bother me-how to login as root

Debian 6 HowTo enable gnome root login on Debian 6 (Squeeze)
Hello, 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?

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


Step1:

Login to a user account.

Step2:

Open a terminal window and type this into your window:

1
2
su root
gedit
Step3:

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

1
#auth required pam_succeed_if.so user != root quiet_success
Content of: /etc/pam.d/gdm3

1
2
3
4
5
6
7
8
9
10
11
12
#%PAM-1.0
auth requisite pam_nologin.so
auth required pam_env.so readenv=1
auth required pam_env.so readenv=1 envfile=/etc/default/locale
#auth required pam_succeed_if.so user != root quiet_success
@include common-auth
auth optional pam_gnome_keyring.so
@include common-account
session required pam_limits.so
@include common-session
session optional pam_gnome_keyring.so auto_start
@include common-password
Step4:

Reboot.

I hope this is helping some of you, because root is not allowed to login on a fresh Debian 6 installation.
 
Old 03-08-2013, 07:11 PM   #21
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Wallowing in a pit of despair.
Distribution: OpenBSD
Posts: 1,392
Blog Entries: 4

Rep: Reputation: 424Reputation: 424Reputation: 424Reputation: 424Reputation: 424
Quote:
Originally Posted by rongaines View Post
How to enable gnome root login on Debian 6?

because root is not allowed to login on a fresh Debian 6 installation.
I wonder why that is?
 
Old 03-08-2013, 07:25 PM   #22
273
Senior Member
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 3,576

Rep: Reputation: 806Reputation: 806Reputation: 806Reputation: 806Reputation: 806Reputation: 806Reputation: 806
I found just commenting out that one line worked for my system (I'm changing it back now). It wasn't line 5 in my gdm config file though.
Thanks for the solution --- whilst I'm still not convinced there's a reason to run X as root it's good to know it can be done.

Last edited by 273; 03-08-2013 at 07:28 PM.
 
Old 03-10-2013, 01:07 PM   #23
cynwulf
Senior Member
 
Registered: Apr 2005
Distribution: OpenBSD, DragonFly BSD
Posts: 1,414

Rep: Reputation: Disabled
Or you could kill the display manager, login as root and startx...? In fact there are all kinds of idiotic ways to wreck your system.
 
  


Reply


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
Given "sudo su" when asked for root password acschnabel Linux - Newbie 7 09-28-2011 11:11 PM
[SOLVED] Display the "lecture" when login as root with "su -" angel115 Linux - General 2 01-17-2011 05:57 AM
"Root has been mounted x times without checking. Check forced." Peterken Linux - Newbie 17 07-21-2010 08:48 AM
Getting bash to login as root and recognize commands like "vi" and "locate" ajaygoeslinux Linux - Software 4 05-04-2009 11:51 PM
Data transfer online is slow "at times" or "stops at times" Balarabay1 Suse/Novell 14 04-30-2006 11:00 AM


All times are GMT -5. The time now is 06:52 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