Original author(s) | Robert Coggeshall, Cliff Spencer |
---|---|
Developer(s) | Todd C. Miller |
Initial release | Around 1980[1] |
Stable release | 1.9.16p1 [2]
/ 12 November 2024 |
Repository | |
Written in | C |
Operating system | Unix-like |
Type | Privilege authorization |
License | ISC-style[3] |
Website | www |
sudo (/suːduː/[4]) is a program for Unix-like computer operating systems that enables users to run programs with the security privileges of another user, by default the superuser.[5] It originally stood for "superuser do",[6] as that was all it did, and this remains its most common usage;[7] however, the official Sudo project page lists it as "su 'do'".[8] The current Linux manual pages for su define it as "substitute user",[9] making the correct meaning of sudo "substitute user, do", because sudo can run a command as other users as well.[10][11]
Unlike the similar command su, users must, by default, supply their own password for authentication, rather than the password of the target user. After authentication, and if the configuration file (typically /etc/sudoers
) permits the user access, the system invokes the requested command. 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. It can also be configured to permit passing arguments or multiple commands.
todmil7
was invoked but never defined (see the help page).todmil8
was invoked but never defined (see the help page).nyt080526
was invoked but never defined (see the help page).