Re: [asterisk-users] Running Asterisk as root

2008-05-06 Thread Stelios Koroneos
In general, if your asterisk is accesible from the internet its much better to have it run as a non-root process. (My opinion is that this should be the default out-of-the-makefile ;) asterisk behaviour) This is the norm for more of the servers/services running on a linux system, and can act as a

Re: [asterisk-users] Running Asterisk as root

2008-05-06 Thread Andreas van dem Helge
I totally agree. Someone filed a bugreport for this? Also asterisk init script should be installed by default too. I am going to give Cesar's instructions a try (sans removing /bin/sh) and hope it works! On Tue, May 6, 2008 at 3:24 AM, Stelios Koroneos [EMAIL PROTECTED] wrote: In general, if

Re: [asterisk-users] Running Asterisk as root

2008-05-06 Thread Alan Lord
Christian wrote: Hi all, I have seen discussions on this earlier on, but just want to hear some quick thoughts. I am running v1.6 of Asterisk on my Ubuntu installation, I did make config to make it run at boot. Since I've got a firewall and don't have any other servers running I am not

Re: [asterisk-users] Running Asterisk as root

2008-05-06 Thread Christian
On 2008-05-06 at 03:46 Tzafrir Cohen wrote: On Mon, May 05, 2008 at 07:18:08PM -0500, Cesar Benjamin Garcia Martinez wrote: Move to root: sudo -s type your passwd and as root: Edit the file /etc/init.d/asterisk And uncommet the two lines than sasys something like

Re: [asterisk-users] Running Asterisk as root

2008-05-06 Thread Cesar Benjamin Garcia Martinez
to /bin/sh I'm so sorry :$ -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Tzafrir Cohen Enviado el: Lunes, 05 de Mayo de 2008 07:35 p.m. Para: asterisk-users@lists.digium.com Asunto: Re: [asterisk-users] Running Asterisk as root On Mon, May 05, 2008 at 07

Re: [asterisk-users] Running Asterisk as root

2008-05-06 Thread Cesar Benjamin Garcia Martinez
Hum. About the /var/run i do thats changes in the conf and the creation fo /var/run into /var/lib/asterisk becouse Works :P. Yes, Ubuntu cleans al into /var/run and that's my solution, I believe is possible touch something in daemon for do work fine but I consider more simple make 2 folders and

Re: [asterisk-users] Running Asterisk as root

2008-05-05 Thread Cesar Benjamin Garcia Martinez
Move to root: sudo -s type your passwd and as root: Edit the file /etc/init.d/asterisk And uncommet the two lines than sasys something like AST_USER=asterisk AST_GROUP=asterisk You need to create the user asterisk on your system. And create another symlink sh to bash: cd /bin rm -f sh

Re: [asterisk-users] Running Asterisk as root

2008-05-05 Thread Cesar Benjamin Garcia Martinez
nombre de Cesar Benjamin Garcia Martinez Enviado el: Lunes, 05 de Mayo de 2008 07:18 p.m. Para: 'Asterisk Users Mailing List - Non-Commercial Discussion' Asunto: Re: [asterisk-users] Running Asterisk as root Move to root: sudo -s type your passwd and as root: Edit the file /etc/init.d/asterisk

Re: [asterisk-users] Running Asterisk as root

2008-05-05 Thread Tzafrir Cohen
On Mon, May 05, 2008 at 07:18:08PM -0500, Cesar Benjamin Garcia Martinez wrote: Btw... delete the symlink sh - dash into /bin BAD THAT BREAKS THE SYSTEM (leaves it without /bin/sh, making half the scripts fail) -- Tzafrir Cohen icq#16849755 jabber:[EMAIL

Re: [Asterisk-Users] running asterisk under root

2004-01-29 Thread Stephen Davies
On Thu, 29 Jan 2004, Dmitry Mishchenko wrote: All example of installing Asterisk shows running it under root user. Why is that? Can it be run under regular non-privileged user account. Sure - with the right permission tweaking. I made a group telephony. Had to fiddle with permissons and