On 4/25/13, Wolfgang Karall <lists+debian-u...@karall-edv.at> wrote: > On Wed, Apr 24, 2013 at 10:56:30PM +1000, Zenaan Harkness wrote: >> > If I understand you correctly, you never want to type a password when >> > running your commands with sudo? >> >> Not quite. I want sudo 'activated' when I enter my password. >> >> Ie, when I log in to XFCE, or when I unlock the xscreensaver, I have >> in both cases just entered my password. So because I just entered my >> password, I expect sudo to be 'activated'. > > Ah, now I get it. :) > > I suppose there's a way to do this using xscreensaver-command -watch > and some scripting, but if you have only a couple of scripts that > need to run rather often (and are not very "dangerous", i.e. allow no > interactivity or shell commands), then I'd still use NOPASSWD for those > specific scripts in sudoers.
ACK. That's the ticket! Thank you very much, Zenaan -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/caosgnssl343h1qftrslmcy3si7+gt4tpnk0y5pk8ojhpj1f...@mail.gmail.com