Subject: Re: file permission while ripping CD's
To: None <netbsd-help@netbsd.org>
From: Wolfgang Rupprecht <wolfgang+gnus20021226T223319@wsrcc.com>
List: netbsd-help
Date: 12/26/2002 22:42:34
> I am setting up a machine to allow normal uses to RIP a CD
> with cdparanoia.  I have added this to my sudoers:
> 
> %users  ALL=NOPASSWD: /usr/bin/eject, /usr/pkg/bin/cdparanoia

Why not just "chmod 666 /dev/cd0d"?  

Given the choice of allowing users to run cdparanoia as root or have a
wide open cdrom, I'd definitely choose the latter.  (Doing the former
allows anyone that can run cdparanoia to write to any file in the
filesystem -- you really don't want that.)

-wolfgang
-- 
Wolfgang Rupprecht 		     http://www.wsrcc.com/wolfgang/

spider food: http://www.wsrcc.com/baddream/usenet/
(NOTE: The email address above is valid.  Edit it at your own peril.)