Usb Port Disable and Enable

Support for security such as Firewalls and securing linux
Post Reply
raj21mindia
Posts: 3
Joined: 2012/05/30 13:06:36

Usb Port Disable and Enable

Post by raj21mindia » 2012/05/30 13:20:49

Dear friends

I have one pc, have 6 usb port (drive) with CENTOS 6.2, at there 3 port in use one for Mouse, one for Keyboard, One for Printer.
now i my problem with remain three usb. i need to make remain usb port disable for other USB PAN DRIVE or USB HARDDRIVE, i need security software or say service by using that i can do disable and enable of usb port one by one or if possible password security using that whenever usb insert password require to access.

whatever i need this security, any software for this?
any service for this?

please help me.

Raj Patel

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Usb Port Disable and Enable

Post by pschaff » 2012/05/30 19:08:35

Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature.

I know of no way to satisfy your requirements, with the possible exception of writing a custom version of the usb driver. Even if you did manage to limit access to specific ports, it would seem that could be easily bypassed by unplugging something from an open port and inserting a USB hub.

User avatar
TrevorH
Forum Moderator
Posts: 30160
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Usb Port Disable and Enable

Post by TrevorH » 2012/05/30 21:06:46

Doing a search and destroy of usb-storage.ko might be a solution. I tried blacklisting it here but it still gets loaded in response to an explicit modprobe of the module. Perhaps writing custom udev rules might also be a solution.

raj21mindia
Posts: 3
Joined: 2012/05/30 13:06:36

Re: Usb Port Disable and Enable

Post by raj21mindia » 2012/05/31 06:03:30

Terrvorh

----Doing a search and destroy of usb-storage.ko might be a solution. I tried blacklisting it here but it still gets loaded in response to an explicit modprobe of the module. Perhaps writing custom udev rules might also be a solution. ---

if you write custom udev then let me know ... i need it i can pay for that no problem ... my problem for save stealing my data.

thanks

Raj

raj21mindia
Posts: 3
Joined: 2012/05/30 13:06:36

Re: Usb Port Disable and Enable

Post by raj21mindia » 2012/05/31 06:08:29

pschaff

thanks


as you told for writing custom usb drive, it is impossible for me because i m beginner for linux.

if any one help me or write for me then i pay for it.

thanks

Raj PAtel

Post Reply

Return to “CentOS 6 - Security Support”