Files
org-roam/20231011110655-sudo.org
2025-11-05 09:18:11 +01:00

9 lines
1.4 KiB
Org Mode
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
:PROPERTIES:
:ID: dc54334e-afa9-4a53-be91-1e90bc6bf8d0
:END:
#+title: sudo
sudo (/suːduː/ or /ˈsuːdoʊ/) is a program for Unix-like ([[id:5fada795-19a3-4ba6-97c0-0b70bd728a2f][Linux]]) computer operating systems that enables users to run programs with the security privileges of another user, by default the [[id:673d1cb1-536b-42f1-a046-40a8937c4283][superuser]]. It originally stood for "superuser do", as that was all it did, and it is its most common usage; however, the official Sudo project page lists it as "su 'do'". The current Linux manual pages for su define it as "substitute user", making the correct meaning of sudo "substitute user, do", because sudo can run a command as other users as well.
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 [[id:d71414fc-349c-4763-a703-9f7092fc90d6][command-line]]. It can also be configured to permit passing arguments or multiple commands.