[Asterisk-Users] permission problem
Wolfgang S. Rupprecht
list+asterisk-users at lists.wsrcc.com
Mon Jul 12 09:14:36 MST 2004
cyprien.simons at tu-berlin.de (Cyprien Simons) writes:
> Is the only way to use asterisk _not_ as root to change the
> permission of all the directories where asterisk need to create a
> file? ("/var/run/", "/var/log/asterisk/messages")
>
> any help will be appreciated,
Grab my patches below. It does both chroot and setuid to user
"asterisk". (You might need to back out one or two of the obvious
Openbsd fixes.)
I've been running chroot and as user "asterisk" for a few weeks now on
this sip-only server. There are still few loose ends (like "music on
hold" not running correctly, but part of that appears to be an
asterisk scheduler problem under OpenBSD that happens even with no
chroot etc.)
-wolfgang
--
Wolfgang S. Rupprecht http://www.wsrcc.com/wolfgang/
openbsd amd64 http://www.wsrcc.com/wolfgang/ftp/asterisk-openbsd35.patch
More information about the asterisk-users
mailing list