remote server and effective uid

Tim Harig usernet at ilthio.net
Mon Nov 15 16:41:01 CET 2010


On 2010-11-15, Tim Arnold <a_jtim at bellsouth.net> wrote:
> How can I enable the server process to write into the client's
> directories?
> If I change the inetd service to run as 'root', I guess that would
> work, but then the client couldn't remove the files put there after
> the request.

Python provides os.setuid() and os.seteuid() which wrap the system
functions.  See you systems man pages for these functions for more
information.



More information about the Python-list mailing list