LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 03-18-2017, 01:29 PM   #16
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483

I think Pat V of Slackware said it all when he made sure pulseaudio run as root. Take from that what you want.
 
Old 03-18-2017, 01:43 PM   #17
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
...aaand we safely left the world of facts behind us and are back at opinions, opinions, opinions...
 
Old 03-27-2017, 01:44 AM   #18
art3m
LQ Newbie
 
Registered: Feb 2012
Location: Spokane, WA
Distribution: Debian Jessie, Kali Linux
Posts: 18

Rep: Reputation: Disabled
Thumbs down

Quote:
Originally Posted by Emerson View Post
Even on these forums every now and then some smartass declares "it is my computer, I do what I want". Well, that's the thing, run it as root and it won't be yours any more.

This guy is not joking!
Quote:
Originally Posted by ondoho View Post
Anyone who is prone to listen to advice like this...

...deserves what is coming to them in the long run.

btw, i've seen this before and whether that guy is serious or not, don't gratify him with clicks. i did, again. my bad.

I seriously can't tell if this guy, the ROOT IDIOT is serious or not but one of these days he will run something really bad as root and I hope he revises his site to "garyshood.com/NeverRunAsRoot".

Sorry had to say it, that's my two cents.
 
Old 03-27-2017, 02:06 AM   #19
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by art3m View Post
I seriously can't tell if this guy, the ROOT IDIOT is serious or not but one of these days he will run something really bad as root and I hope he revises his site to "garyshood.com/NeverRunAsRoot".
that article has been there since 2008. guy probably gave up on linux ages ago and uses a much more macho operating system nowadays.
and i'll say it again, don't gratify him with clicks, use the webarchive instead if you must:
https://web.archive.org/web/20081119...hood.com/root/
 
Old 03-27-2017, 03:36 AM   #20
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,753

Rep: Reputation: Disabled
Certain distributors think they own the drive, but they don't. Distribution is not the army and has no authority over the user's hdd/ssd/flash storage.
Unless the distribution pays for the drive plus the government tax for the drive, they have no say in what goes in and out of the drive.
Fact is, the drive is user's responsibility. If the user decides he wants root, the distributor can only advise against it and there's nothing else he can do about it.

Sudo is a grey area, I never use it because I want a clear distinction between user and root, and sudo just adds privilege where from security perspective there should be none.
Some people use it properly, but the majority just adds sudo rights to their user account, and let every program that runs under the account have sudo rights.
Then the distributor thinks it's a problem with distribution policy and issues a "fix" when it's clearly a user problem that should be solved locally.
Kinda like that one time when someone notified mozilla their browser is so broken it belongs in the sandbox, and they "fix" it by making the browser a host for the sandbox that holds another browser.
It's redundant on systems that do privilege separation properly, and only useful for enforcing a policy upon the user.
 
Old 03-27-2017, 08:06 AM   #21
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,657
Blog Entries: 4

Rep: Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938Reputation: 3938
On all of my systems, regardless of operating system, my primary login is not an Administrator or a member of the wheel group. It cannot sudo su.

I have an "ordinary Joe" user-id for each "hat" that I wear during the course of the day. Each client's projects are managed from a separate user-id. Accounting and other business activities are managed from another. And, I surf the web from yet another.

The /home directories of each cannot be seen by any other. There is one /drop-box folder with a "write-only" folder owned by each user: you can put a file there, no matter who you are, but you can't see what's in it. Only the owner may retrieve files from his drop-box folder. (N.B.: This has nothing to do with the commercial file-sharing service by the same name.)

And then, there is the one "Clark Kent®" user ... the one and only one which can become "Superman.®"

I know that nothing will ever ask me for an administrator password, and I never give one.

- - -

Why on earth do I do such an "inconvenient" thing? Because: "computers are terrible at saying 'yes,' but fantastic at saying 'no.'"

Formally, this is referred to as "The Principle of Least Privilege." By placing strict and OS-enforceable limits around what a process can do ("maliciously" or otherwise), you effectively prevent these from being possible.

You have created a "bright-line rule," and computers are excellent at enforcing bright-line ("yes (1)" or "no (0)") rules.

Last edited by sundialsvcs; 03-27-2017 at 08:17 AM.
 
1 members found this post helpful.
Old 04-01-2017, 04:26 PM   #22
InNomineLibertas
LQ Newbie
 
Registered: Nov 2010
Location: planet earth, sol quadrant
Posts: 15

Rep: Reputation: 1
The last speaker, sundialsvcs, describes a very healthy attitude to the topic at hand.

Running as root unnecessarily is similar to such safe pursuits as playing with fire, or DUI - and anybody who does this, deserves the problems that are quite capable of showing up as a result. Someone in this thread tried it for a week with no ill effect, which is about as intelligent as an argument as if a notorious drunkard would say that he had never crashed a car while driving drunk: Whether a given example did by chance go well, is no reason why anyone should take such a stupid risk in the first place.

IMNSHO.
 
Old 04-01-2017, 05:31 PM   #23
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
With all the known exploits these days, keep your valuable data on external storage that is disconnected. And be prepared to re-install often. But I don't run gentoo and try to avoid arch for issues like that. It's too much effort to re-install and configure to taste. I can do a fresh debian install and be rebooted and logged in with a gui web browser in under an hour, even on a relatively slow connection. With fast.com clocking me at about 450Kbps, but that normally throttles to 120Kbps for any transfer that lasts longer than ten seconds. And speedtest.net showing 0.8Mbps down and 0.2Mbps up. The down is normally faster, but it's the weekend. The service was originally sold as 2 megs. I asked if they were pretty, but never got a reply email.

Per the link from the OP, the only sane recovery is to re-install. Once compromised you don't know how they got in, or what they changed.
 
  


Reply



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
Root cause of computer freezing deity_me Linux - Hardware 13 10-20-2010 11:03 PM
Auto login as root as soon when computer boots up linux_newb Linux - Server 1 01-26-2010 03:39 AM
how can i as the root know what is the last account logged in this computer Muhammed Linux - Software 3 08-17-2007 07:33 AM
How can I shutdown the computer without being root? Shagrath239 Slackware 13 02-19-2005 05:53 PM
Can 'root' harm the computer? LinuxSeeker Linux - General 17 03-01-2004 07:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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