I wrote a quick script called test-sudoers.py which reads a sudoers file and can answer questions like “what commands can a particular user run on a particular host?” and “can a particular user run a command?”. The latter is particularly useful because using return codes that can be scripted and allow certain actions based on […]
-
Music Blog: Sound Fleet Apr 10, 2010
-
ASCII War Nov 18, 2004
-
Australian Shopping Websites Mar 16, 2007
-
Adventures in RGB and FanControl Dec 30, 2023
-
Thermal Pad and Thermal Paste Replacement Oct 3, 2023
-
Home Assistant Aug 11, 2023
-
ChatGPT and Auto-GPT Apr 30, 2023
-
Joel on OpenVPN: Dynamically create IPtables rules based on LDAP group membership
Apologies - there was a problem with the link. It has been (...)
-
zeze on Australian Shopping Websites
First of all I want to say fantastic blog! I had a quick (...)
-
Benja on OpenVPN: Dynamically create IPtables rules based on LDAP group membership
Hi there, do you still have these scripts lying around?
-
joelh on test-sudoers.py – Test a sudoers file through python
Not a problem Errol, I hope you find it useful. It's (...)
-
Errol Casey on test-sudoers.py – Test a sudoers file through python
Thanks so much for this code. Someone on a python list (...)