DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 970,177 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
Wafelack
Wafelack

Posted on

rad, a privilege changer.

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"] 
Enter fullscreen mode Exit fullscreen mode

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)

Take a look at this:

Settings

Go to your customization settings to nudge your home feed to show content more relevant to your developer experience level. πŸ›