[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: touch /var/lib/sudo/$USER / use sudo when unlocking xscreensaver (xfce)

On 4/25/13, Wolfgang Karall <lists+debian-user@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,

Reply to: