Re: [Zope] External Method in Zope

2008-04-07 Thread Andreas Jung
--On 7. April 2008 13:15:04 +0530 vaibhav pol [EMAIL PROTECTED] wrote: hi, I am using Zope-2.8.1-final and also added zoperl-1.0.beta5 for perl support . I wrote a Perl module which edit files the file access permission is only to root and i want to invoking the module as onther user . by

Re: [Zope] External Method in Zope

2008-04-07 Thread Jens Vagelpohl
On Apr 7, 2008, at 11:23 , vaibhav pol wrote: Thanks alot but i am not using command but i using perl function to modify the passwd and shadow file. in my module that's why i want to invoke that module as root There's a few things seriously wrong with your plan: - you want to create a

Re: [Zope] External Method in Zope

2008-04-07 Thread vaibhav pol
Thanks alot but i am not using command but i using perl function to modify the passwd and shadow file. in my module that's why i want to invoke that module as root On Mon, Apr 7, 2008 at 1:19 PM, Andreas Jung [EMAIL PROTECTED] wrote: --On 7. April 2008 13:15:04 +0530 vaibhav pol [EMAIL

Re: [Zope] External Method in Zope

2008-04-07 Thread Chris Withers
Jens Vagelpohl wrote: - doing Perl methods or external methods in Zope has been deprecated years and years ago. You will have a hard time finding anyone to support that. I'm guessing you mean perl external methods rather than all external methods in general? ;-) Chris -- Simplistix -

Re: [Zope] External Method in Zope

2008-04-07 Thread Jens Vagelpohl
On Apr 7, 2008, at 12:18 , Chris Withers wrote: Jens Vagelpohl wrote: - doing Perl methods or external methods in Zope has been deprecated years and years ago. You will have a hard time finding anyone to support that. I'm guessing you mean perl external methods rather than all external

Re: [Zope] External Method in Zope

2008-04-07 Thread Thomas Bennett
If you absolutely have to, look at Paramiko a python ssh/sftp library which is easy to use but as mentioned already there are critical security issues. with paramiko you don't have to directly edit the files but within an ssh connection run the commands needed that actually make the changes.