in reply to Automating sudo actions
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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Automating sudo actions
by rastoboy (Monk) on Jan 25, 2011 at 02:40 UTC | |
by ikegami (Patriarch) on Jan 25, 2011 at 04:29 UTC | |
by GrandFather (Saint) on Jan 25, 2011 at 04:16 UTC | |
by rastoboy (Monk) on Jan 25, 2011 at 05:10 UTC | |
by tilly (Archbishop) on Jan 25, 2011 at 16:04 UTC | |
by JavaFan (Canon) on Jan 25, 2011 at 09:30 UTC | |
by cjb (Friar) on Jan 25, 2011 at 09:27 UTC | |
by MidLifeXis (Monsignor) on Jan 25, 2011 at 14:07 UTC | |
|
In Section
Seekers of Perl Wisdom