prompt on std{err,out} ?

Jacob Meuser jakemsr at jakemsr.com
Sat Jun 15 17:10:02 EDT 2002


Usin the '-S' switch, sudo can read passwords from stdin.  Is there
a way (short of recompiling sudo) to make it output the password
prompt on stderr or stdout?

I'm trying to work sudo into a Qt3 app.  It works OK if I explicitly
get the password and send it to sudo, but I would like to test
`sudo -v` to see if the password is really needed.

Is there maybe a better way to see if a password is needed?

-- 
<jakemsr at jakemsr.com>



More information about the sudo-users mailing list