You are not logged in.
Hello,
I'm trying to create a netctl+dmenu profile switcher.
I need to be able to do this without root (so i can call it from my WM)
Thus my user needs to be able to change the network profile.
How do you do this?
Offline
You can add something like this to /etc/sudoers
your_user_name ALL = (root) NOPASSWD:/usr/bin/netctl
That way sudo netctl can be run without entering a password.
"Only wimps use tape backup: _real_ men just upload their important stuff on ftp, and let the rest of the world mirror it."—Linus Torvalds
s/ftp/git/
https://iandouglasscott.com | https://github.org/ids1024 | https://keybase.io/ids1024
Offline