RE: Blocking external usb storage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Kevin Faulkner wrote:

> Fajar Priyanto wrote:
> > On Friday 23 May 2008 14:16:45 whoami i wrote:
> >>   This is my first mail to this mailing list.I want to block external usb
> >> storage completly on my  server running on centos 5 having confidiential
> >> data.
> > 
> > 1. unplug any usb storage 
> > 2. rmmod ehci_hcd
> > 3. add a line in /etc/modprobe.d/blacklist
> > blacklist ehci_hcd
> 
> Wouldn't that prevent him from using USB as a whole?
> perhaps a udev rule would play nicely here.

Yeah, a udev setting 660 or 600 perms to usb devices would
only allow admins or admins + those in a "trusted group" to
use USB devices.

You would also need to make sure the rules under /etc/security
don't override those set by udev.

-Ross

______________________________________________________________________
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux