[Asterisk-Users] safe_asterisk with non-root user

Ryan Courtnage ryan at coalescentsystems.ca
Wed Mar 31 17:59:06 MST 2004


Hello,

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:

	http://voip-info.org/tiki-index.php?page=Asterisk%20non-root

I can run * as my new user with "/usr/sbin/asterisk -vvvvc" without 
problem.

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

# ls -l /dev/tty9
crw-rw-rw-    1 asterisk tty        4,   9 Mar 31 17:37 /dev/tty9

Any idea about what is wrong?

thx!
Ryan




More information about the asterisk-users mailing list