[Home]

Summary:ASTERISK-00859: [request] asterisk as non root user...
Reporter:zoa (zoa)Labels:
Date Opened:2004-01-16 21:23:25.000-0600Date Closed:2011-06-07 14:10:43
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:it would be nice if we could install asterisk as user asterisk, to avoid having a remote root exploit if a bug is found sometimes.

Maybe a config option to do this would be funky.
And we could optionally set the config files read only, owned by root.



****** ADDITIONAL INFORMATION ******

Some people seem to already do it:

http://www.marko.net/asterisk/archives/0210/0237.html
Comments:By: cypromis (cypromis) 2004-01-21 02:15:51.000-0600

All our asteriskses run as user asterisk without problems. Also the directory for install is changed to /opt/asterisk for the install. Did you have any problems doing that ?

By: jrollyson (jrollyson) 2004-01-24 20:05:15.000-0600

Asterisk works fine without root, but you will have to adjust permissions on files and devices accordingly. This isn't realy a bug, but it would be nice to have the permissions set to be compatable with a non-root setup.

By: flavour (flavour) 2004-01-31 15:29:33.000-0600

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

By: Olle Johansson (oej) 2004-03-22 16:11:44.000-0600

If anyone starts coding and submits a patch, we'll reopen. Otherwise, this is working with some handicraft. Bug closed.