[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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@pm.org [mailto:omaha-pm-bounces+kthompson=heiskell.com@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@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