jakemsr at jakemsr.com
Mon Sep 9 18:50:28 EDT 2002
On Mon, Sep 09, 2002 at 05:12:04PM -0400, Senn, Bruce wrote:
> The -S option does not seem to work.
> If I understand this option properly, sudo should prompt for a password
> on stdin. Hence, a script like this should work, but it does not.
> sudo -S somecommand <<EOD
FWIW, this works for me with OpenBSD 3.1-current x86, sudo 1.6.6 and
zsh 4.0.6 (and /bin/sh as well).
Does the password prompt get displayed on stderr?
<jakemsr at jakemsr.com>
More information about the sudo-users