In a situation where you'd want to deny a user from running specific commands as root, you would modify their entry in the _________ file.
- sudoers
- shadow
- passwd
- groups
In a situation where you want to deny a user from running specific commands as root, you would modify their entry in the sudoers file. This file contains rules and permissions for granting or denying superuser privileges to users and groups.
Loading...
Related Quiz
- In the context of package management, what does the term "repository" refer to?
- Which Linux command is used to send signals to processes, commonly used for stopping them?
- In Bash scripting, the ________ command is used to loop over a range of values.
- A colleague asks you to temporarily disable a user's access without deleting their account. Which Linux command allows you to achieve this?
- Which option with the ssh command specifies a different port for connection?