View Single Post
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#208
Originally Posted by emjayes View Post
Update: version 0.0.25diablo
-removed dependency for rootsh (thanks for the idea Urho)
Just a note, writing to sudoers directly is dirty

How about instead making a file called
/etc/sudoers.d/sliderotate.sudoers :
user ALL = NOPASSWD: /usr/local/bin/install-xrandr-kernel

And calling update-sudoers || true from the postinst?
 

The Following User Says Thank You to qwerty12 For This Useful Post: