Re: [Zope] External Method in Zope
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 <lists@zopyx.com> wrote:
--On 7. April 2008 13:15:04 +0530 vaibhav pol <vaibhav4947@gmail.com> 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 some way i want to invoke the perl interpreter as root for my user. and i also want to know how the zope call external method.
This has also little to do with Zope. You could use 'sudo' for starting other command within an other user context.
-aj
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 way to manipulate a system's password/shadow files through the web by a web application. That's insane to begin with. Just don't do it. Have you ever thought about the security implications? - 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. jens
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 - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
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 methods in general? ;-)
I mean the Perl Methods and Perl External Methods that were part of the old Zope-Perl package from eons ago. jens
participants (3)
-
Chris Withers -
Jens Vagelpohl -
vaibhav pol