Link to home
Start Free TrialLog in
Avatar of jkockler
jkocklerFlag for United States of America

asked on

asterisk pbx daemon user rights to //etc/asterisk vs. root

I recently installed Astersik 1.4.25.1 as a second asterisk server, on Ubuntu 9.0.4.  My primary is running 1.4.23.1 running on Ubuntu 8.10 .. I noticed that on 1.4.25.1, //etc/asterisk is owned by the user "Asterisk - pbx daemon" ... And on 1.4.23.1, that directory is owned by root.

I would assume that having Asterisk being the owner would hold less security risks, because if the box were compromised through asterisk, then they would not be getting the root information.... But what password is the "Asterisk" user using?  Is this in fact a better and more secure setup?  Does anyone know if this is something new in the 1.4.25.1 release?
Avatar of jkockler
jkockler
Flag of United States of America image

ASKER

Update:

I have also upgraded my 8.10 ubuntu box to 9.0.4.  Upon doing so I had to reinstall Asterisk, because of errors when starting it.

Now Asterisk is the owner o //var/spool/asterisk ... and I am not able to view the contents.  That is rather annoying and would like to know how to allow myself access.

Even more troubling is the fact that now Asterisk is not able to start on boot up.  I have to launch a terminal after boot, run "sudo asterisk" before I can even connect to the CLI.  I would imagine Asterisk can not start on boot because of a permissions issues, because i see a quick error message about it, to the effect of, unable to start asterisk, access to pid denied.  

Any thoughts as to what the deal is with changed permission settings in Ubuntu 9.0.4?
ASKER CERTIFIED SOLUTION
Avatar of jkockler
jkockler
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial