----- Original Message ----- From: "Leticia Larrosa" <[EMAIL PROTECTED]>
To: <zope3-users@zope.org>
Sent: Tuesday, June 06, 2006 11:49 PM
Subject: [Zope3-Users] execute script from as root user



Hi all

I want generate a shell script and run it as root in the local system from a
zope3 application.

For example I want to save a file with the following content:

#! /bin/sh
ls

I want to open this file and run the content as the root user


Have a look at the linux su and sudo commands (you could embed this before the 'ls' command in your script)


Jonathan
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to