Re: touch /var/lib/sudo/$USER / use sudo when unlocking xscreensaver (xfce)
Hello,
On Sun, Apr 21, 2013 at 11:22:23AM +1000, Zenaan Harkness wrote:
> I run sid XFCE, and have some keyboard shortcuts for
> docked-with-external-monitor, no-external-monitor (.screenlayout
> files) and corresponding networking configs.
>
> In rc.local, I put touch /var/lib/sudo/{my-usr} and I find this very convenient.
>
> I would like the same in principle, when unlocking xscreensaver.
>
> Anyone know how to achieve this, or if it's possible without hacking some code?
If I understand you correctly, you never want to type a password when
running your commands with sudo? Then why not just use NOPASSWD in the sudoers
file?
Cheers
Wolfgang
Reply to: