0067-sudo-install-sudo Not Installed¶
Rule ID¶
- 0067-sudo-install
Category¶
- system
Level¶
- warn
Compatible Versions¶
- Linux
Description¶
-
sudo is a Linux system management command that allows system administrators to grant ordinary users the ability to execute some or all root commands, such as halt, reboot, su, etc. This not only reduces the login and management time for the root user but also enhances security. sudo is not a replacement for shell; it operates on a per-command basis.
-
Note: visudo edits the sudoers file in a secure manner similar to vipw (8). It locks the sudoers file to prevent multiple simultaneous edits, provides basic integrity checks, and checks for parsing errors. If the current user is editing the sudoers file, you will receive a prompt message to try again later.
Scan Frequency¶
- 0 */30 * * *
Theoretical Basis¶
- Better distribution of user permissions reduces the need for root user management operations, thereby enhancing system security.
Risk Items¶
- Increased root management operations significantly reduce system security.
Audit Method¶
- Verify if sudo is installed. Run the following command:
Remediation¶
- Run the following command to install sudo.
Impact¶
- After installation, business permissions can be granted to regular users based on business needs, minimizing operations related to the root user.
Default Value¶
- By default, sudo is installed.
References¶
- None
CIS Controls¶
- Version 7 > 4 Controlled Use of Administrative Privileges > > Controlled Use of Administrative Privileges