[asterisk-users] Running asterisk with 'sudo'

Guillermo Salas M. gsalas at manta.telconet.net
Thu Nov 2 10:13:46 MST 2006


On Thu, 2006-11-02 at 17:12 +0100, Asterisk wrote:
> Hi guys,
> 
> I'm using RedHat and am trying to configure my sudo to enable user
> 'testuser' to run Asterisk. However whenever I try to run 'sudo
> asterisk' as 'testuser' I get prompted for password.
> 
> This is the line in my sudoers configuration file that I thought should
> do the trick, but it doesn't:
> 
> testuser ALL=NOPASSWD: /usr/sbin/asterisk
> 
> Does anyone know how to configure the sudo so that 'testuser' will be
> able to run the asterisk?
> 

Use the visudo to make changes to /etc/sudoers , to make the sudo stop
asking for a password you need a line at /etc/sudoers like (take note on
the space after the = ):


testuser   ALL= NOPASSWD: /usr/sbin/asterisk


> Thanks,
> Alex
> 
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
Guillermo Salas M.
Telconet S.A.
Calle 15 y Avenida 24 Esq
Edificio Barre #2 Primer Piso
Telefono : +593 5 262 8071
Celular  : +593 9 985 5138
e-mail   : gsalas at manta.telconet.net
www      : http://www.manta.telconet.net
           http://www.telcocarrier.net

Linux User: 255902

Beat me, whip me, make me use Windows!

Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html

Please avoid the Top Posting, see
http://es.wikipedia.org/wiki/Top-posting



More information about the asterisk-users mailing list