I used to run asterisk as "root" account.
Now running "openpbx" with the "openpbx" system user.
Of course when i try to fix system date from dialplan my script does not 
work because it runs with the "openpbx" user privileges instead of root.
I tried to chmod 4755 my script but didn't worked.

Example:
openpbx dialplan launch /usr/local/sbin/setdate.sh 20070411
/usr/local/sbin/setdate.sh contains the "date" and "hwclock" command
chmod 4755 /usr/local/sbin/setdate.sh does not help :-(

any suggestions?


Antonio
_______________________________________________
Openpbx-dev mailing list
Openpbx-dev@openpbx.org
http://lists.openpbx.org/mailman/listinfo/openpbx-dev

Reply via email to