Enzo Michelangeli wrote:
> ----- Original Message -----
> From: "Luciano La Delfa" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, January 25, 2006 4:20 AM
> Subject: [Astlinux-users] Asterisk not called by root user
>
>> Hi,
>> I read an article about securing Asterisk on linux systems:
>> http://www.voip-info.org/wiki/index.php?page=Asterisk+non-root
>>
>> what do you all think about it?
>
> At http://forum.openwrt.org/viewtopic.php?pid=17727#p17727 I have posted
> an /etc/init.d/asterisk script to run Asterisk as non-root (and change
> ownership to a few files as required) without having to modify other
> settings. That script should be modified before transplanting it to
> Astlinux, as there are several differences between the two platforms:
>
> - OpenWRT doesn't have Zapata drivers.
> - Moving astdb to a RAM partition may not be so important on Astlinux, but
> wear and tear on OpenWRT is deadly because the flash memory is soldered to
> the mainboard...
> - The calls to "deromize" are an OpenWRT-only thing
> - Some paths might be different
>
> Enzo
>
Enzo,
I already have a script lying around to make Asterisk run as non-root.
Asterisk runs as root in AstLinux because by default it will utilize
the pre-emption features of the 2.6 kernel. This improves voice quality.
I will add support for running Asterisk as non-root.
--
Kristian Kielhofner
_______________________________________________
Astlinux-users mailing list
[email protected]
http://lists.kriscompanies.com/mailman/listinfo/astlinux-users
Donations to support AstLinux are graciously accepted via PayPal to [EMAIL
PROTECTED]