3 Sep
2000
3 Sep
'00
11:28 a.m.
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