In Linux, the ________ command can be used to see who has been granted sudo access.
- sudoers
- whoami
- visudo
- su
In Linux, the visudo command is used to see who has been granted sudo access. This command opens the sudoers file in a safe manner for editing and displays the sudo configuration. It's important to use visudo to avoid syntax errors in the sudoers file, which could lock you out of administrative access.
Loading...
Related Quiz
- You've just set up a new Linux server and need to install a web server. Which package management command would you likely use in a Debian-based system?
- What is the primary purpose of the /home directory in Linux?
- In the context of VPNs in Linux, the _________ protocol is known for its speed and efficiency but may not be as secure as other options.
- You've been given a task to find all occurrences of the word "error" in a directory containing numerous log files. Which command would you primarily use for this search?
- The _________ special variable in a shell script provides an option for random number generation.