Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Should you install and configure sudo even if you're the only person using the server and the only admin?

share|improve this question
Yes. You should never login as root – Zero Piraeus Jul 12 '13 at 21:53
yes. I even use sudo -i – Ben Plont Jul 12 '13 at 22:15
up vote 2 down vote accepted

You should always install sudo. All of your normal tasks should be done using your normal account. Use sudo when you need to perform administrative (or root-level) tasks and it will also help you to be more aware of what you're doing and more likely to make sure you don't make careless mistakes, etc.

share|improve this answer

I recommend it. Sudo makes you conscious of the commands you type.

I find myself to be rather wreckless if I have a rooted shell in front of me.

Sudo keeps me from doing stupid things without thinking first

share|improve this answer
+1 There are so many ways you can mess things up unintentionally if you are not careful. – dtmland Jul 12 '13 at 22:14
Rethinking this question, if its your own system and you don't care if you hose it, run root all day long. This was how I learned when I first started using linux - however, running a root shell on a production server is a VERY different situation and should always be avoided. – Scandalist Jul 13 '13 at 3:11

Like the others said, yes, use sudo.

Other reasons to run sudo over running as root.

  • Some software will not run as root (There were a few games back in my college days that would bail if you ran as root).
  • It is good to have a mental divide between user commands and super-user commands. If nothing else, when giving people help or working on a foreign machine.
  • You learn to set up permissions properly.
  • If you ever work on a server and you don't have root access, you'll be annoyed.
  • There are two types of people who run as root:
    • Those who have hosed their system.
    • Those who will.
share|improve this answer

Sudo is good for people using their real (personal) account and not root. If you login as root routinely, be very very careful all the time, :)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.