[asterisk-users] Running as non-root
Torbjörn Abrahamsson
torbjorn.abrahamsson at gmail.com
Wed Oct 19 06:19:50 CDT 2011
Thank you, I actually found the asterisk.conf settings after sending the
mail. So next question is which folders/files do I need to change ownership
of to make it work?
/etc/asterisk
/var/lib/asterisk
/usr/lib/asterisk
/var/spool/asterisk
/var/log/asterisk
And the files in them of course
Any more? Any that should not be in the
list above?
In asterisk.conf I am using the following:
runuser = asterisk
rungroup = asterisk
Is this sufficient?
Br,
Torbjörn Abrahamsson
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Anton
Kvashenkin
Sent: Wednesday, October 19, 2011 12:11 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Running as non-root
What do you use _now_ to run asterisk: safe_asterisk, init-script, from
command-line? What distribution do you use?
To run asterisk from command line as user "asterisk", just run asterisk -U
asterisk (asterisk user should be created), or edit /etc/asterisk.conf to
run as user "asterisk". In production you preffer running init script.
2011/10/19 Torbjörn Abrahamsson <torbjorn.abrahamsson at gmail.com>
Hello.
I would like to run asterisk as an user other than root. I have seen some
tutorials on the web, but I would like to know if there is some official
how-to for this. Is there?
I looked at a thread on reviewboard regarding this
(https://reviewboard.asterisk.org/r/654/). It was Paul Belangers work trying
to make the installation process take care of this. But the conclusion seem
to be that the parts concerning this was postponed. So, did it make it in
some other way?
BR,
Torbjörn Abrahamsson
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111019/e171d239/attachment-0001.htm>
More information about the asterisk-users
mailing list