View Poll Results: Do you run your Linux box(es) as root user, or normal user?
- 22. You may not vote on this poll
Results 1 to 10 of 34
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-31-2011 #1
- Join Date
- May 2004
- arch linux
Root User vs Normal User Logins
I'm personally of the opinion that logging in as root user is a horrible habit to ever get started, but of course some users think of it as, "it's my computer, so I should be able to login however I want".
Hopefully, this poll and any included comments will help users make a better informed decision about their own user logins.oz
- 07-31-2011 #2
I agree ozar, root logins are never a good idea and it will cost you in the long run. I have taken the stance that I simply refuse to assist anyone in doing so. It may be their system but in my mind, I am not going to help you undo years of hard work by the Open Source community to make Linux more secure. Logging in as root also goes against the very grain that Linux was founded upon....file system permissions.
- 07-31-2011 #3
Normal user all the way and sudo for tasks that need root access. You can't even log on to my boxes as root. If someone routinely logs in as root and then their system gets borked or infected as far as I'm concerned they are on their own.
Horrible, horrible habit and why I have never liked puppy; the last time I tried it, if you installed it you were always root. Hopefully that's changed."I used to be with it, then they changed what it was.
Now what was it isn't it, and what is it is weird and scary to me.
It'll happen to you too."
The Fifth Continent
- 07-31-2011 #4
Root logins... no thanks.
The closest I get to that is using su - instead of sudo if I don't feel like setting up a sudoers file.
- 07-31-2011 #5
a) The only way to identify logins in a multiuser environment
b) It supports you in writing better scripts in respect to permissions/users.
c) Every user can have his/her own environment.
There is one exception, though:
Automated scripts used in system/config management tools have tasks, that definitely need root.
Network, accounts, daemon management, etc.
It doesnt make too much sense to forcefully introduce a user here, just to escalate to root again.
But even here itīs a case by case decision and running scripts as a regular user is a goal here.You must always face the curtain with a bow.
- 07-31-2011 #6
Normal user all the way. I barely use the root account because "su -c" works pretty fine for me as well as the sysadmin tools included with my distro.
- 07-31-2011 #7
- Join Date
- May 2004
- arch linux
Right... I do su to gain root permissions when needed several times per day, but don't even remember the last time that I fully logged into a root user's account (other than initial system installation). I'll admit that it was tempting when first starting out with Linux (spoiled by Windows), but it didn't take long to learn the proper way to work under Linux. For the last 10 years or so, I've not missed logging in as root user one little bit.oz
- 07-31-2011 #8
Can't reply Ozar as I do both since I run versions of Puppy Linux also.
AntiX will log you in as root via init3 boot. But is pretty much useless for me as it uses /usr/share defaults Desktop setup vs /home. sux (su for you other people) is all I need in terminal in AntiX or smxi script to tweak whatever in /. sudo is not enabled by default in antiX but can be for a user if he edits, /etc/sudoers file. One does not run as root in AntiX.
Puppy loads to ram on my installs (via frugal) and the personal save file is all that can be messed with by crackers. I have a original personal save file (after a virgin install and setup) that is backup for just this scenario plus other personal save files that I know are good. So no big deal to boot puppy pfix=ram at grub and delete corrupted save file and reinsert good backup. Kinda like a snapshot image in other distros.
- 07-31-2011 #9
- Join Date
- Nov 2009
Doing everything as root is, of course, a bad idea, but to think that logging in as root is different from using su is pure superstition, nothing else.
Using sudo the way it is configured in Ubuntu, is really bad from a security perspective. People who want help logging in as root often use Ubuntu and want to fix the locked root account. Refusing to tell them how to do it is very unhelpful and also irrational.
- 07-31-2011 #10
Refusing to tell them how to do it is very unhelpful and also irrational