----- 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

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)

Zope3-users mailing list

Reply via email to