Solved

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

Posted on 2009-07-02
2
453 Views
Last Modified: 2013-11-12
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?
0
Comment
Question by:jkockler
  • 2
2 Comments
 
LVL 4

Author Comment

by:jkockler
ID: 24769854
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?
0
 
LVL 4

Accepted Solution

by:
jkockler earned 0 total points
ID: 24777194
This question never received any responses.   I did find a fix for Asterisk not starting on boot up in ubuntu though.

http://www.voipuser.org/forum_topic_3621.html
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now