LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to create a user which can only access to Asterisk (https://www.linuxquestions.org/questions/linux-software-2/how-to-create-a-user-which-can-only-access-to-asterisk-737223/)

jcardona84 07-02-2009 11:09 AM

How to create a user which can only access to Asterisk
 
I need to know if there's a way to create a user so that as soon as he enters his username and his password he is directed to the Asterisk CLI

Tinkster 07-02-2009 09:53 PM

I've never used asterisk, and don't know whether it allows
you to shell out into an ordinary shell, but you could just
make that CLI program his login-shell in /etc/passwd.


Cheers,
Tink

centosboy 07-03-2009 06:59 AM

Quote:

Originally Posted by jcardona84 (Post 3594456)
I need to know if there's a way to create a user so that as soon as he enters his username and his password he is directed to the Asterisk CLI

edit his .bash_profile so it lands him in the asterisk cli upon login


All times are GMT -5. The time now is 02:29 AM.