Hey guys, I just started my journey to Asterisk and loving, so I am sorry if this question is too basic.
I installed Asterisk and I can verify the Asterisk installation by accessing the CLI using asterisk -rvvv
however I can only access the Asterisk if I am on the system as root.
for security reason, I have disabled the user root from being able to SSH into the Linux Box
I created a normal user apbx who can SSH into the box
but when I access the server with user apbx and issue the command asterisk -rvvv I get the below error:
asterisk : Unable to connect to remote asterisk (does /var/run/asterisk.ctl exist?)
I tried to work on the permission and ACL and not I get:
[apbx@Asterisk ~]$ asterisk -rvvv
-bash: /usr/sbin/asterisk: Permission denied
hope anyone can help, to figure the issue.
I have turned off SeLinux but no luck.