[Asterisk-Users] safe_asterisk with non-root user
ryan at coalescentsystems.ca
Wed Mar 31 22:53:58 MST 2004
Turned out to be a dumb mistake on my part.
when su'ing to my non-root user, I was losing my PATH info.
safe_asterisk assumes /usr/sbin is in the PATH.
On 31-Mar-04, at 5:59 PM, Ryan Courtnage wrote:
> I've found a couple of previous posts on this subject, but with no
> posted resolution...
> I'm attempting to run * as a non-root user (asterisk), following the
> guidelines on the wiki:
> I can run * as my new user with "/usr/sbin/asterisk -vvvvc" without
> However, I'm unable to run * using safe_asterisk with my new user:
> Asterisk ended with exit status 127
> Asterisk died with code 127. Aborting.
> safe_asterisk is trying to use tty9 and I have changed the ownership
> # ls -l /dev/tty9
> crw-rw-rw- 1 asterisk tty 4, 9 Mar 31 17:37 /dev/tty9
> Any idea about what is wrong?
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> To UNSUBSCRIBE or update options visit:
More information about the asterisk-users