sudo (Debian Wiki) — by Debian Wiki contributors
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
- Install sudo as root
- Run adduser <user> sudo
- Log out and in again
- Use visudo for any sudoers changes
Paraphrased from the source. Menus can differ by version, so check the original for full details.
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