Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Apr 2003 21:57:08 -0400
From:      "E. J. Cerejo" <edinho64@netscape.net>
To:        ms@probsd.org, freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: sudo
Message-ID:  <3E94CF74.4030403@netscape.net>
References:  <1124.192.168.1.4.1049936589.squirrel@probsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help


ms@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?





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E94CF74.4030403>