Hello, I wanted to share with you my own privilege changer, rad.
It works like a standard privilege changer (i.e rad <COMMAND> [ARGS...]
) and is configured as following, using the TOML syntax:
[user]
# Allow all programs to be run
programs = "ALL"
# Allow those programs to be run without asking for password.
no_password = ["poweroff", "reboot"]
I do not recommend you to use it in production yet, because it could have security breaches.
You can find it here if you want to look at the code or just install it.
Thank you for reading, and have a nice day.
Top comments (0)