Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2009-07-02
2
Medium Priority
?
504 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 Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

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

I recently purchased a Bluetooth headset called the Music Jogger (model BSH10). The control buttons on it look like this: One of my goals is to use it as the microphone and speakers for Skype calls. In that respect, it works well. However, I …
Implementing Avaya's One-X portal is pretty painless, until you want to deploy this to the Android and iPhone clients when these clients are outside of your network. The clients will also work within your local network. Here is our experience and so…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses
Course of the Month13 days, 6 hours left to enroll

972 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