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