Solved

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

Posted on 2009-07-02
2
474 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
High Bandwidth Usage 6 76
centos linux 65 159
000webhost.com default error log 1 40
rsyslog raw message 4 15
Fine Tune your automatic Updates for Ubuntu / Debian
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

820 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