On Fri, Mar 08, 2002 at 08:22:14PM -0600, Lance Hoffmeyer wrote:
> Is there a way to enter ones password for sudo when putting sudo in
> a script? Something akin to
>
> sudo -p mypassword mv /var/log/exim/mainlog .
>
If the commands are executed within the password timeout, then it'll ask
once,
Is there a way to enter ones password for sudo when putting sudo in
a script? Something akin to
sudo -p mypassword mv /var/log/exim/mainlog .
Lance
--
Lance Hoffmeyer
[EMAIL PROTECTED]
--
2 matches
Mail list logo