Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
policies:sudoers [2023/04/26 15:15] hans [Package (yum/apt) installation] |
policies:sudoers [2024/07/15 09:26] (current) hans [Sudoer Mess BoilerplatesTemplate] |
||
---|---|---|---|
Line 225: | Line 225: | ||
=== General=== | === General=== | ||
+ | <code> | ||
Our system reported that you ran the sudo command recently. I going to take this opportunity to share this wiki page that describes our sudoers policy, reasoning, and potential alternatives: | Our system reported that you ran the sudo command recently. I going to take this opportunity to share this wiki page that describes our sudoers policy, reasoning, and potential alternatives: | ||
Line 230: | Line 231: | ||
This page doesn't require you to login but links from this page may require ICS credentials to login. | This page doesn't require you to login but links from this page may require ICS credentials to login. | ||
+ | </code> | ||
=== Unnecessary Sudo Invocations === | === Unnecessary Sudo Invocations === | ||
Line 282: | Line 283: | ||
/pkg/go/1.15.6/bin/go | /pkg/go/1.15.6/bin/go | ||
+ | === Disk Usage === | ||
+ | Hello <Name>, | ||
+ | |||
+ | We recorded the recent sudo activity on your account on <DATE>: | ||
+ | |||
+ | The command recorded was "sudo /bin/du -h". Were you trying to get dis usage on the host? Were you just trying to look at your home directory but made a mistake? Please let us know what you were trying to do and maybe I could help. | ||
+ | |||
+ | Thank you and have a great day, | ||
=== Shell and service invocations === | === Shell and service invocations === | ||
Line 298: | Line 307: | ||
Please let us know if there is a specific challenge that caused you to use sudo and we can help figure out an alternative way to accomplish the same thing. | Please let us know if there is a specific challenge that caused you to use sudo and we can help figure out an alternative way to accomplish the same thing. | ||
+ | |||
+ | ===== Troubleshooting ===== | ||
+ | |||
+ | === Q. sudo: error initializing audit plugin sudoers_audit === | ||
+ | |||
+ | **Symptoms:** Sudo runs fine as root user but produces this error when run as a non-root user. | ||
+ | |||
+ | <code> | ||
+ | sudo: error initializing audit plugin sudoers_audit | ||
+ | </code> | ||
+ | |||
+ | **Cause:** User does not exist | ||