Think about Loose Coupling | |
PerlMonks |
Re: Automating sudo actionsby merlyn (Sage) |
on Jan 25, 2011 at 02:35 UTC ( [id://884033]=note: print w/replies, xml ) | Need Help?? |
If you're the root on the box, set up passwordless sudo, at least for the activities of interest. Passwordless sudo will be more secure than burying your password in an Expect script, by far.
-- Randal L. Schwartz, Perl hacker The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.
In Section
Seekers of Perl Wisdom
|
|