Concept Flow - sudo for elevated privileges
User types command
Prefix with sudo?
Check user permissions
Prompt for password
Password correct?
No→Deny access
Yes
Run command as root
Show output
The user types a command. If prefixed with sudo, the system checks permissions, asks for a password, and runs the command as root if allowed.