Linux › Section B · Basic commands and the directory hierarchy › Topic B.14
Running commands as the superuser
Administration needs root's power, but working as root all the time is risky and leaves no trail. sudo lets chosen users run individual commands as root, with their own password and a log of every use, and its rules live in one carefully edited file.
In this topic
- Why not just log in as root?
- sudo in everyday use
- Useful sudo options
- Who may use sudo
- Reading a sudoers rule
- Edit with visudo
- Worked example: one command for one user
- su: switching users
- Worked example: reading the sudo log
- Common mistakes to avoid
- Key takeaways
This topic is part of Wuanberri Pro. Checking your access…
