CyberCertPrepSecurity FundamentalsLinux BasicsEASYFree question
What does the 'sudo' command do?
- A.Switches to a different user account, because sudo elevates a process by rewriting its parent process identifier
- B.Runs a command with superuser (root) privileges
- C.Displays the current user name
- D.Shuts down the system
Why B 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.