the output of ls -l is
root@pbx: ~ $ ls -l /var/run/asterisk/asterisk.ctl
srwxr-xr-x 1 asterisk asterisk 0 Apr 20 19:47 /var/run/asterisk/asterisk.ctl
root@pbx: ~ $
On Thu, Apr 20, 2017 at 7:46 PM, Antony Stone <
antony.st...@asterisk.open.source.it> wrote:
> On Thursday 20 April 2017 at
On Thursday 20 April 2017 at 18:31:03, Atux Atux wrote:
> root@PBX: /var/www/html $ /etc/init.d/asterisk start
> [ ok ] Starting asterisk (via systemctl): asterisk.service.
I'm somewhat puzzled that your root-user prompt is "$"
instead of the more normal "#", but never mind...
> root@PBX:
root@PBX: /var/www/html $ /etc/init.d/asterisk start
[ ok ] Starting asterisk (via systemctl): asterisk.service.
root@PBX: /var/www/html $ ps aux | grep asterisk
asterisk 1007 0.7 2.3 67128 23748 ?Ssl Apr19 8:49
/usr/sbin/asterisk -U asterisk -G asterisk
root 4186 0.0 0.1
On Thursday 20 April 2017 at 12:31:14, Atux Atux wrote:
> Hi. thanks a lot for your replies. I did stop the services and i did issued
> the the "chown" and "chmod" commands listed in the guide.
> It is necessary to compile it, instead if using the apt-get version
> What am i missing?
Let's go
Hi. thanks a lot for your replies. I did stop the services and i did issued
the the "chown" and "chmod" commands listed in the guide.
It is necessary to compile it, instead if using the apt-get version
What am i missing?
On Wed, Apr 19, 2017 at 10:47 PM, Antony Stone <
On Wednesday 19 April 2017 at 18:48:29, Atux Atux wrote:
> Hi.
> Here is the output of the command
>
> root@pbx: ~ $ find / -name asterisk -exec ls -ld '{}' \;
>
> drwxr-xr-x 3 root root 4096 Apr 19 17:32 /usr/include/asterisk
>
> drwxr-x--- 3 asterisk asterisk 4096 Apr 19 17:32
Hi.
Here is the output of the command
root@pbx: ~ $ find / -name asterisk -exec ls -ld '{}' \;
drwxr-xr-x 3 root root 4096 Apr 19 17:32 /usr/include/asterisk
drwxr-x--- 3 asterisk asterisk 4096 Apr 19 17:32 /usr/lib/asterisk
-rwxr-xr-x 1 root root 9719880 Apr 19 17:27
On Wed, Apr 19, 2017 at 04:44:39PM +0300, Atux Atux wrote:
> hello there. i am running debian 8 in my swerver and i would like to run
> asterisk as non root.
The Asterisk package included with Debian already does that. Why not
have a look at it?
> i did follow the
>
On Wednesday 19 April 2017 at 15:44:39, Atux Atux wrote:
> hello there. i am running debian 8 in my swerver and i would like to run
> asterisk as non root. i did follow the
> https://www.voip-info.org/wiki-Asterisk+non-root without any success.
Did you do the very first step:
hello there. i am running debian 8 in my swerver and i would like to run
asterisk as non root. i did follow the
https://www.voip-info.org/wiki-Asterisk+non-root without any success. when
i issue
root@PBX: ~ $ asterisk -U asterisk -G asterisk
Privilege escalation protection disabled!
See
Robert McNaught wrote:
not in path
[EMAIL PROTECTED] echo $PATH
/usr/kerberos/bin:/usr/lib/courier-imap/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/admin/bin
Is /sbin in your path?
CP
Robert McNaught wrote:
my problem is that a non-privileged user, eg admin,
Robert McNaught wrote:
thanks for the reply Tzafrir,
I tried the below, but I think maybe I misexplained what I am trying
to do. I have asterisk running as user asterisk - I followed the
instructions in the Asterisk book and have everything stored in
/home/asterisk/asterisk-bin - this
Well, there you go then - either add /usr/sbin to your path, or provide
a full path thusly:
/usr/sbin/asterisk -r
CP
Robert McNaught wrote:
not in path
[EMAIL PROTECTED] echo $PATH
/usr/kerberos/bin:/usr/lib/courier-imap/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/admin/bin
On Fri, 30 Nov 2007, Robert McNaught wrote:
It seems that non-privileged users cannot run commands in sbin, but
can in bin directories
Unless something in your host is major league hosed, this is not true.
Try:
/sbin/runlevel
/usr/sbin/ntpdate -q 0.us.pool.ntp.org
Depending
not in path
[EMAIL PROTECTED] echo $PATH
/usr/kerberos/bin:/usr/lib/courier-imap/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/admin/bin
Is /sbin in your path?
CP
Robert McNaught wrote:
my problem is that a non-privileged user, eg admin, cannot log in and
connect to the
Is /sbin in your path?
CP
Robert McNaught wrote:
my problem is that a non-privileged user, eg admin, cannot log in and
connect to the console by issuing the following
[EMAIL PROTECTED] asterisk -r
bash: asterisk: command not found
[EMAIL PROTECTED] whereis asterisk
asterisk:
thanks for the reply Tzafrir,
I tried the below, but I think maybe I misexplained what I am trying to
do. I have asterisk running as user asterisk - I followed the
instructions in the Asterisk book and have everything stored
in /home/asterisk/asterisk-bin - this includes logs, pid files, configs
thanks for the reply Tzafrir,
I tried the below, but I think maybe I misexplained what I am trying
to do. I have asterisk running as user asterisk - I followed the
instructions in the Asterisk book and have everything stored
in /home/asterisk/asterisk-bin - this includes logs, pid files,
Thanks Tzafrir, I took the stuff out of visudo - it turns out the only
way I could get this working was to create a symbolic link -
/usr/bin/asterisk to point to /home/asterisk .asterisk - using
the link created in /usr/sbin/ would not work for 'asterisk -r'
It seems that all commands in
On Nov 21, 2007 12:37 PM, Robert McNaught [EMAIL PROTECTED] wrote:
Thanks Tzafrir, I took the stuff out of visudo - it turns out the only
way I could get this working was to create a symbolic link -
/usr/bin/asterisk to point to /home/asterisk .asterisk - using
the link created in
On Wed, Nov 21, 2007 at 09:37:50AM -0800, Robert McNaught wrote:
Thanks Tzafrir, I took the stuff out of visudo - it turns out the only
way I could get this working was to create a symbolic link -
/usr/bin/asterisk to point to /home/asterisk .asterisk - using
the link created in
On Wed, Nov 21, 2007 at 01:53:58PM -0500, Kristian Kielhofner wrote:
(as root)
chown -R asterisk:asterisk /etc/asterisk
chmod -R 770 /etc/asterisk
Nitpeeking:
Now you made everything there executable.
chmod -R o= /etc/asterisk
chmod -R ug+rwX /etc/asterisk
(Any shorter way?)
In most cases
Robert McNaught wrote:
Thanks Tzafrir, I took the stuff out of visudo - it turns out the only
way I could get this working was to create a symbolic link -
/usr/bin/asterisk to point to /home/asterisk .asterisk - using
the link created in /usr/sbin/ would not work for 'asterisk -r'
It
Tzafrir Cohen wrote:
On Wed, Nov 21, 2007 at 01:53:58PM -0500, Kristian Kielhofner wrote:
(as root)
chown -R asterisk:asterisk /etc/asterisk
chmod -R 770 /etc/asterisk
Nitpeeking:
Now you made everything there executable.
chmod -R o= /etc/asterisk
chmod -R ug+rwX /etc/asterisk
Hi,
I have set up asterisk to run as non root, and allow admin users to log
in to the server as asterisk, which gives them privileges to edit
configs in the asterisk home directory.
As for connecting to the console with 'asterisk -r' - this by default
does not work as asterisk is owned stored in
On Mon, Nov 19, 2007 at 08:51:21AM -0800, Robert McNaught wrote:
Hi,
I have set up asterisk to run as non root, and allow admin users to log
in to the server as asterisk, which gives them privileges to edit
configs in the asterisk home directory.
The daemon runs as the user asterisk. There
Robert McNaught wrote:
Hi,
I have set up asterisk to run as non root, and allow admin users to log
in to the server as asterisk, which gives them privileges to edit
configs in the asterisk home directory.
As for connecting to the console with 'asterisk -r' - this by default
does not
Robert McNaught wrote:
Alan,
What do you mean by the udev rules?
I previously had asterisk compiled and running as user and group 'asterisk'
zaptel and libpri were compiled and installed using user 'root'
so the zaptel service was root. I had a dependency issue with asterisk
trying
On Wed, Oct 17, 2007 at 08:43:59AM +0100, Alan Lord wrote:
Robert McNaught wrote:
Alan,
What do you mean by the udev rules?
I previously had asterisk compiled and running as user and group 'asterisk'
zaptel and libpri were compiled and installed using user 'root'
so the
Alan,
What do you mean by the udev rules?
I previously had asterisk compiled and running as user and group
'asterisk'
zaptel and libpri were compiled and installed using user 'root'
so the zaptel service was root. I had a dependency issue with asterisk
trying to access a file owned by root
On Tue, Oct 16, 2007 at 01:57:26PM -0700, Robert McNaught wrote:
Alan,
What do you mean by the udev rules?
I previously had asterisk compiled and running as user and group
'asterisk'
zaptel and libpri were compiled and installed using user 'root'
so the zaptel service was root. I
Hi,
In the 2nd edition of the Asterisk book, there is a section recommending
running asterisk as non-root - tried this and it works. However,
asterisk does not have permissions to view certain files relating to
zaptel as in the following 'zap show status' command in the * CLI
What would be the
On Mon, Oct 15, 2007 at 10:38:09AM -0700, Robert McNaught wrote:
Hi,
In the 2nd edition of the Asterisk book, there is a section recommending
running asterisk as non-root - tried this and it works. However,
asterisk does not have permissions to view certain files relating to
zaptel as in
Robert McNaught wrote:
Hi,
In the 2nd edition of the Asterisk book, there is a section recommending
running asterisk as non-root - tried this and it works. However,
asterisk does not have permissions to view certain files relating to
zaptel as in the following 'zap show status' command
I followed the wiki instructions:
http://www.voip-info.org/wiki-Asterisk+non-root
Now I have a working asterisk running as user asterisk.
I do however have some problems:
1: I dont have access via asterisk -r
2: The pid file is no longer being updated
3: I want to create a file in init.d so that
On Thursday 05 February 2004 08:03, Chris Lee wrote:
I followed the wiki instructions:
http://www.voip-info.org/wiki-Asterisk+non-root
Now I have a working asterisk running as user asterisk.
I do however have some problems:
1: I dont have access via asterisk -r
Permissions problem. User
Tilghman Lesher wrote:
Permissions problem. User asterisk needs to have permissions to
write the file /var/run/asterisk.ctl
2: The pid file is no longer being updated
Again, permissions problem.
I was under the impression that changing the line:
On Thursday 05 February 2004 11:13, Chris Lee wrote:
Tilghman Lesher wrote:
Permissions problem. User asterisk needs to have permissions to
write the file /var/run/asterisk.ctl
2: The pid file is no longer being updated
Again, permissions problem.
I was under the impression that
On Thu, 2004-02-05 at 14:03, Chris Lee wrote:
I followed the wiki instructions:
http://www.voip-info.org/wiki-Asterisk+non-root
Glad someone's finding it useful :)
Now I have a working asterisk running as user asterisk.
I do however have some problems:
1: I dont have access via asterisk -r
39 matches
Mail list logo