View Poll Results: Do you run your Linux box(es) as root user, or normal user?
- Voters
- 22. You may not vote on this poll
-
root user
1 4.55% -
normal user
21 95.45%
Results 1 to 10 of 34
After noticing a number of forum members recently inquiring about how to login to their Linux boxes as root user , I figured a new poll for seeing how common ...
- 07-31-2011 #1forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,082
Root User vs Normal User Logins
After noticing a number of forum members recently inquiring about how to login to their Linux boxes as root user, I figured a new poll for seeing how common this practice actually is might be in order.
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
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 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.
I do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.
- 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.If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)
My new blog. It's probably not as good as I think it is.
- 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.Jay
New users, read this first.
New Member FAQ
Registered Linux User #463940
I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.
- 07-31-2011 #5
User logins.
Of course.
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 #7forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,082
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
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 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.Linux Registered User # 475019
Lead,Follow, or get the heck out of the way
AntiX,Puppy,Ubuntu,Windows 7=(cuz of scooters)
Open CourseWare for Linux Geeks
- 07-31-2011 #9Just Joined!
- Join Date
- Nov 2009
- Location
- Sweden
- Posts
- 31
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
Really? How so? Using Su - or sudo does not start X and all other programs with root privileges. Why would most distros disable root login if it weren't such a bad idea?
It may be unhelpful, that is my intention but I don't think it's irrational at all. There is a ton of websites dedicated to doing this procedure, I feel that anyone who doesn't know how to accomplish this probably doesn't understand Linux in the first place.Refusing to tell them how to do it is very unhelpful and also irrationalI do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.


7Likes
Reply With Quote

