Subject: Re: Allow non-root users to access to CD-ROM and Floppy
To: James Gray <>
From: Brian de Alwis <>
List: netbsd-users
Date: 09/08/2004 11:57:11
My solution was to restrict access to those devices to those using
the console of the machine.  I used ttyaction(5) and xdm's
xdm-config(5) to invoke the GiveConsole and TakeConsole scripts to
chown and chmod the appropriate devices (/dev/{fd*,cd*,audio*,tty0*,usb*})
and mount points to the console user.


     Brian de Alwis | Graduate student | Software Practices Lab | UBC
"There is much pleasure to be gained in useless knowledge." - Bertrand Russell