What is sudo?

sudo stands for "su do", and means "do something as the supervisor". `sudo` is an enhanced alternative to the Unix `su` command.

The `su` command allows any user to obtain superuser privileges, if they know the root password:

bash-2.05a$ su -
Password:
# 

The Impact of sudo on Unix System Security

`sudo` improves on `su` in several ways:

  1. `sudo` allows you to give privileged access to only some commands, instead of all commands.
  2. `sudo` allows you to log all commands (and their arguments) executed as the privileged user.
  3. `sudo` does not require the administrator to share the root password.
  4. `sudo` allows you to limit the users who can use it by editing the sudoers file.
  5. `sudo` times out after 5 minutes (by default).
Practical Unix and Internet Security Essential System Administration Unix System Administration Handbook Linux Security Cookbook
Purchase these excellent books on Unix security and administration at Amazon.com


Bookmark What is sudo?

Latest Blog Posts


English English GermanGerman SpanishSpanish FrenchFrench ItalianItalian PortuguesePortuguese RussianRussian DutchDutch
GreekGreek HindiHindi JapaneseJapanese KoreanKorean ChineseChinese Chinese (Simplified)Chinese (Simplified) ArabicArabic

Copyright 2009 Tech-FAQ. All rights reserved. Privacy Policy.