CyberCertPrepSecurity FundamentalsLinux BasicsEASYFree question
What does the 'sudo' command do?
- A.Shuts down the system
- B.Switches to a different user account
- C.Runs a command with superuser (root) privileges
- D.Displays the current user name
Why C is correct
sudo (superuser do) allows a permitted user to execute a command as the root (administrator) user. It provides an audit trail of privileged commands and avoids the need to log in directly as root, which is a security best practice.
Know someone studying for Security Fundamentals? Send them this one.