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]

-------------------------------------------------------------------------------
The propagandist's purpose is to make one set of people forget that certain 
other
                            sets of psople are human
                                       -
                                 Aldous Huxley

Reply via email to