On Monday 12 February 2007 07:05, Carl Hartung wrote:
> > /bin/false would sound more logical to a human, but it returns "false" on
> > exit, so modprobe thinks there was an error, and this would interrupt a
> > boot, and/or give annoying error messages in the log

This is what we implement in Finance dept so that users cannot copy data out 
of the PC using any USB storage device:

/etc/modprobe.conf:
install usb_storage \
wall "Sorry, no USB storage devices are allowed" \
&& /bin/false

Make sure we reboot the PC before it takes effect, or unload the module 
manually: modprobe -r usb_storage

HTH,
-- 
Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial 
http://linux2.arinet.org
3:46pm up 2:35, 2.6.16.21-0.8-default GNU/Linux 
Let's use OpenOffice. http://www.openoffice.org

Attachment: pgpbcVnQQlf9h.pgp
Description: PGP signature

Reply via email to