rishi pathak wrote:
We have a portal using which users use our compute resources.
In zope we use NIS authentication for validating a user.We
have many things that requires root/logged in user privledeges.One example
is of a 'file system explorer'.In this I have used ZF
hi again,
Let me clarify what I am doing and what is my approach till
now.
We have a portal using which users use our compute resources.
In zope we use NIS authentication for validating a user.We
have many things that requires root/logged in user privledege
rishi pathak wrote at 2008-4-8 18:03 +0530:
> I dont have a need to run all the external method as root, only
>some of them.
I did understand this *BUT* you do not have a choice.
While a single ExternalMethod runs as "root", the complete
Zope process runs as root -- and this appli
If you would elaborate a little, like what you really want to do, you might
get responses directing you toward a quicker solution. That aside, if you
want to execute a command line application as root from your External Method
look at Paramiko as mentioned in my response to the previous Extern
rishi pathak wrote at 2008-4-8 18:03 +0530:
> I dont have a need to run all the external method as root, only
>some of them. For this what I was thinking was to introduce a new control
>apart from the regular ones.
Apparently, my previous message has not been clear enough.
Let's try a
Hi Rishi.
Can you telll me where should I look in the source(Code segment where
external methods are loaded and executed)
External methods are not just 'called' or 'loaded', they are executed in
a zope thread which belong to the zope user. Changing the effective user
would be a complex and risk
lt;[EMAIL PROTECTED]>
cc
Dieter Maurer <[EMAIL PROTECTED]>, zope@zope.org
Subject
Re: [Zope] ExternalMethod - add new parameter
rishi pathak wrote:
> I dont have a need to run all the external method as root,
only
> some of them.
You seem to be carefully ignoring
rishi pathak wrote:
I dont have a need to run all the external method as root, only
some of them.
You seem to be carefully ignoring the fact that Dieter is pointing out
that this isn't possible ;-)
Chris
--
Simplistix - Content Management, Zope & Python Consulting
-
Hi Dieter,
I dont have a need to run all the external method as root, only
some of them. For this what I was thinking was to introduce a new control
apart from the regular ones. viz
id , title , Module Name and Function Name by name of 'Run as root', it
would probably be a checkbox.The
rishi pathak wrote at 2008-4-7 17:46 +0530:
>There is a requirement for running some external methods as super user.
>For this I thought of adding a new parameter.If set the code would be
>executed with effective uid of root.
This is extremely dangerous.
To run code as super user, you need to cha
rishi pathak wrote:
There is a requirement for running some external methods as super user.
For this I thought of adding a new parameter.If set the code would be
executed with effective uid of root.
Can some one point to the code section where zope loads the
ExternalMethod codes for execution.
11 matches
Mail list logo