[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-developers] exec command



Arnaud,

I haven't worked on that commmand in a while, but I seem to recall the
serverScriptHelper->shell command is executed as an admin level user. It
will not run commands that require root level access rights..

Let me know if that helps...

Robert Walter
rwalter@xxxxxxxxx
Cyrius Automation Inc.



-----Original Message-----
From: cobalt-developers-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-developers-admin@xxxxxxxxxxxxxxx] On Behalf Of Arnaud L.
Sent: Tuesday, June 24, 2003 1:57 PM
To: cobalt-developers@xxxxxxxxxxxxxxx
Subject: [cobalt-developers] exec command


Hi,

I have try to use Class Sausalito to run external program like

serverScriptHelper->shell("/bin/mkdir /tmp/test",$ouput);

And it work fine... but when i trying tu run htpasswd to add a user
password on a .htaccess file like

serverScriptHelper->shell("/usr/bin/htpasswd -c -b
/home/.sites/148/site16/polo/myfile login password",$ouput); it don't
execute my command... in addition this command work fine on console mode
...

Is there a restriction with this function ?

_______________________________________________
cobalt-developers mailing list cobalt-developers@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-developers