sudo

E. J. Cerejo edinho64 at netscape.net
Wed Apr 9 18:57:18 PDT 2003



ms at probsd.org wrote:
> example - assuming your user name is noltie on a host named flowers
> 
> ee /usr/local/etc/sudoers
> 
> %noltie     flowers:NOPASSWD: /usr/local/bin/cdrecord
> 
> Then type: visudo
> 
> To close and write the change, just do: Shift+:wq
> 
> then as user noltie: sudo /usr/local/bin/cdrecord

I get an error, this is the line I used:

%kdedude ecerejo.Belkin:NOPASSWD: /usr/local/bin/cdrecord

and I get this error when I try saving it with visudo:

/usr/local/etc/sudoers.tmp: 28 lines, 637 characters.
 >>> sudoers file: syntax error, line 27 <<<
What now?





More information about the freebsd-questions mailing list