You are an administrator and receive a report that a user is not able to execute certain commands with sudo. Where would you primarily look to diagnose the issue?

  • /etc/sudoers file
  • /etc/passwd file
  • /var/log/auth.log
  • /bin/sudo binary
To diagnose the issue of a user not being able to execute certain commands with sudo, you would primarily look at the /etc/sudoers file. This file contains the configuration for sudo privileges, and it's the first place to check for any restrictions or misconfigurations that might be affecting the user's access.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *