On Thu, 11 Nov 2004, Stephen Liu wrote: > --- Rene Borchers <[EMAIL PROTECTED]> wrote: > > > For the sudo command you have to modify the file > > /etc/sudoers, in this > > file stands which user is allowed to execute which > > command with root > > permission. therefore you you have to add yourself > > allowing to execute > > the perl -M CPAN install ...... command. > > # cat /etc/sudoers > ..... > User privilege specification > root ALL=(ALL) ALL > > # Uncomment to allow people in group wheel to run all > commands > # %wheel ALL=(ALL) ALL > .... > > I'll uncomment the above line Wait!
All changes to the /etc/sudoers file should be made with the `visudo` command. `visudo` will edit the file (using whatever editor you have specified with $EDITOR or $VISUAL), make sure things are consistent, etc. It's a good idea not to edit it directly, but to go in through `visudo` just to get the checks that it provides. -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>