[Omaha.pm] Net::SSH::Perl and sudo or su

Thompson, Kenn KThompson at heiskell.com
Mon Dec 10 08:36:36 PST 2007


And there's the Perl... I knew you'd get there eventually ;)


---Sent from the desk of Kenn Thompson---
Direct Line: 402.289.6747
Cell: 402.598.8818


-----Original Message-----
From: omaha-pm-bounces+kthompson=heiskell.com at pm.org [mailto:omaha-pm-bounces+kthompson=heiskell.com at pm.org] On Behalf Of Jay Hannah
Sent: Monday, December 10, 2007 10:08 AM
To: Perl Mongers of Omaha, Nebraska USA
Subject: Re: [Omaha.pm] Net::SSH::Perl and sudo or su

On Dec 8, 2007, at 12:15 PM, Anthony Simons wrote:
> The script will be making the permission work for our new user but
> distributing the file is still the issue.
> The idea is to get the file to many hosts +200 systems.  Manually
> visiting every one of them would not be a pretty sight.

Can you use your whatever-is-already working sudo mojo to implement Chris' security suggestion?

Then you'd have a clean slate from a security perspective and could just copy files with scp.

At that juncture you can cleanly pick and choose whatever scripting language you want.

For example, replacing icky bash scripts with oh-so-gorgeous Perl scripts*.

j
* tongue firmly in cheek
http://www.rowan.edu/philosop/clowney/Aesthetics/philos_artists_onart/
plato.htm
Perl... the contemplation of the ideal Form of Beauty itself.

_______________________________________________
Omaha-pm mailing list
Omaha-pm at pm.org
http://mail.pm.org/mailman/listinfo/omaha-pm

No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.503 / Virus Database: 269.16.17/1179 - Release Date: 12/9/2007 11:06 AM


No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.503 / Virus Database: 269.16.17/1179 - Release Date: 12/9/2007 11:06 AM



More information about the Omaha-pm mailing list