Felix Dorner wrote: > 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.
You could/should upgrade to Debian Stable (Squeeze) and then get the current sudo. Lenny is now the old stable. Bob
signature.asc
Description: Digital signature