[asterisk-users] asterisk as non-root/best practices

Steve Edwards asterisk.org at sedwards.com
Fri Nov 30 18:07:49 CST 2007


On Fri, 30 Nov 2007, Robert McNaught wrote:

>> It seems that non-privileged users cannot run commands in sbin, but
>> can in bin directories

Unless something in your host is major league hosed, this is not true.

Try:

 	/sbin/runlevel
 	/usr/sbin/ntpdate -q 0.us.pool.ntp.org

Depending on who you ask, the "s" in sbin means "static" or "system." On 
Linux, it appears to mean "system" since both of these are dynamically 
linked.

Thanks in advance,
------------------------------------------------------------------------
Steve Edwards      sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                             Fax: +1-760-731-3000



More information about the asterisk-users mailing list