Sudo

From Wiki @ Karl Jones dot com
Revision as of 20:37, 25 April 2016 by Karl Jones (Talk | contribs) (External links)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

sudo is a program for Unix-like computer operating systems that allows users to run programs with the security privileges of another user, by default the superuser.

Description

The name is a contraction of "do as su" where "su" is an abbreviation for "super user."

Unlike the related command su, users must supply their own password for authentication, rather than the password of the target user.

After authentication

After authentication, and if the configuration file, which is typically located at /etc/sudoers, permits the user access, the system invokes the requested command.

Configuration

The configuration file offers detailed access permissions:

  • Including enabling commands only from the invoking terminal
  • Requiring a password per user or group
  • Requiring re-entry of a password every time or never requiring a password at all for a particular command line

Sudo can be configured to permit passing arguments or multiple commands.

See also

External links