Skip to content

sudo (Debian Wiki) — by Debian Wiki contributors

intermediatepageCC BY-SA 4.0 (Debian Wiki, changes after 24 July 2025)

Explains what sudo does, how to install it and add a user to the sudo group, and how to safely edit sudoers rules with visudo and /etc/sudoers.d.

Quick steps

  1. Install sudo as root
  2. Run adduser <user> sudo
  3. Log out and in again
  4. Use visudo for any sudoers changes

Paraphrased from the source. Menus can differ by version, so check the original for full details.

Read the full article on wiki.debian.org

Source: sudo (Debian Wiki) by Debian Wiki contributors. Licence: CC BY-SA 4.0 (Debian Wiki, changes after 24 July 2025).

Source reviewed
2026-11-02
Link checked
2026-11-02
Tested hands-on
Not by Oddbyte.Me

sudodebianpermissions

More in Users & Permissions