Hello

Many thanks. I did as you have suggested but everytime I issue the command
sudo /usr/sbin/adsl-start, a password is requested.

Thanks

Eduardo



On Sunday 05 October 2003 08:28 pm, Rolf Pedersen wrote:
> Eduardo M. A. M. Mendes wrote:
> > Hello
> >
> > I can only adsl-start by logging as root.  How can I make adsl-start
> > available for all users?  I tried sudousers but no avail (It is more than
> > likely that I did something wrong but I don't know what).
> >
> > Many thanks
> >
> > Ed
>
> As root in a terminal, call visudo.  This is the vi editor operating on
> /etc/sudoers.  Press 'I' to insert some text and, since I have done this
> for me, and not wanting to give a password when I call adsl-start, you
> might want to insert something like the following if you want that:
>
> rolf    ALL=NOPASSWD: /usr/sbin/adsl-start, /usr/sbin/adsl-stop,
> /usr/bin/rdate
>
> and so forth.  I put it right under root's line.  To save, press
> 'Escape' and type :wq  The command to execute is sudo
> /usr/sbin/adsl-start, for example.  I create an icon on the desktop with
> that as the command to execute.
>
> Rolf


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to