The /etc/init.d/asterisk is starting /.../asterisk instead of safe_asterisk (the script). "rcasterisk start" somehow runs under user=asterisk. how can I change it to run under user=root (I know the arguments not to do this). safe_asterisk runs under user=root (or whoever was used to start it). When I modified /etc/init.d/asterisk to start safe_asterisk, it fails on authorization to /dev/tty9 and gets into a loop (the script tries to restart when it fails). does anybody have some recommendations? solutions? Regards, Uriel_Carrasquilla@ncci.com NCCI Boca Raton, Florida 561.893.2415 greetings / avec mes meilleures salutations / Cordialmente mit freundlichen Grüßen / Med vänlig hälsning The information contained in this e-mail message is intended only for the personal and confidential use of the recipient(s) named above. This message may be an attorney-client communication and/or work product and as such is privileged and confidential. If the reader of this message is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message.
Hi, On Friday, September 02, 2005 at 18:00:41, Uriel_Carrasquilla@ncci.com wrote:
The /etc/init.d/asterisk is starting /.../asterisk instead of safe_asterisk (the script). "rcasterisk start" somehow runs under user=asterisk. how can I change it to run under user=root (I know the arguments not to do this). safe_asterisk runs under user=root (or whoever was used to start it). When I modified /etc/init.d/asterisk to start safe_asterisk, it fails on authorization to /dev/tty9 and gets into a loop (the script tries to restart when it fails).
Thats the purpose of this script.
does anybody have some recommendations? solutions?
Please open a bugreport in bugzilla to discuss the possibilities to use safe_asterisk in the init script. Henne -- Henne Vogelsang, Subsystems "Rules change. The Game remains the same." - Omar (The Wire)
participants (2)
-
Henne Vogelsang
-
Uriel_Carrasquilla@ncci.com