Hi,

I was searching for a way to tell sudo "Please fail immediately if you
need to ask me for a password" and found sudo -n. Unfortunately it
turns out that debian lenny ships with an older sudo which doesn't
have this option. I wonder if there's a trick and tried:

echo "" | sudo -S -u username command

This seems to work. But I still wanted to ask for comments here.

Thanks,
Felix


-- 
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/CAK_nxd0R=oJcTaJ4ycL79Y-zA9CdX6_kh96BHUeBL5ZKoN=x...@mail.gmail.com

Reply via email to