Andrew Kenneth Milton writes:
 > Is there anyway to regain 'root' privs from inside a zope product?
 > 
 > Using the -u flag to start causes the privs to be permanently gone because
 > z2.py uses setuid + setgid (and python doesn't seem to define sete[ug]id, at
 > least not on my system).
 > 
 > Other than running zope as root permanently (which I really would like to
 > avoid), does anyone have any quick ideas on how to achieve this?
The same trick could be used by any process to gain root privileges....

It is easy to implement a Python wrapper for the
sete[ug]id.


Dieter

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to