good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Automating sudo actionsby kirillm (Friar) |
on Jan 26, 2011 at 08:48 UTC ( [id://884304]=note: print w/replies, xml ) | Need Help?? |
EDIT: Re-reading the thread, I see that this is not what you're looking for. If you're admin on that box, then you can avoid password prompt by using NOPASSWD in the sudoers file. Like this: Which will allow the user ftpauth to run mkdir as user ftpdata without asking for password.
In Section
Seekers of Perl Wisdom
|
|