As i stated previously, you don't need to do anything. Just execute the script by any user.
This script logically grep and awk's the sudoers file and shows the expected result.
It is so simple to execute it from anywhere on any linux system.
But anyway i like your Suggestion. I will do it next time.
For above script you can simply execute it . (./... )
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.