How to disable USB for storage devices in Suse?


 
Thread Tools Search this Thread
Special Forums Cybersecurity How to disable USB for storage devices in Suse?
# 1  
Old 12-15-2010
How to disable USB for storage devices in Suse?

Hello folks, for some confidential reason, I need to disable the USB to access the storage devices in Suse11.2, but I still need two USB for the mouse and keyboard. Anyone knows?
Thanks a lot in advance!
# 2  
Old 12-15-2010
Add the module usb-storage to /etc/modprobe.d/blacklist like this
Code:
cat >> /etc/modprobe.d/blacklist << EOF
blacklist usb-storage
EOF

This should block only USB storage devices, while leaving USB HIDs alone.
# 3  
Old 12-16-2010
Quote:
Originally Posted by pludi
Add the module usb-storage to /etc/modprobe.d/blacklist like this
Code:
cat >> /etc/modprobe.d/blacklist << EOF
blacklist usb-storage
EOF

This should block only USB storage devices, while leaving USB HIDs alone.
Thanks for your replay! I have tried your suggestion, but it seems it doesn't work. By the way, the OS I am using is Suse11.2.
In RedHat I just rename the file
Code:
/lib/modules/`uname -r`/kernel/drivers/usb/storag/usb-storage.ko

then it works, but in Suse11.2 I can't find such file in the corresponding directory.
Anyone has some other way? Thanks!
# 4  
Old 05-13-2011
set a registery key...id post you the link to it but since I dont have enough posts I cant...but you can google it
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Questions about remote access and install USB devices.

I have a server running openindiana, it hosts virtualbox and several VMs on it. My first question is if I can run openindiana desktop from my windows on same network, now I am using XWin server under cygwin-X, I can run GUI of VirtualBox etc. but can I have the openindiana desktop show on my... (2 Replies)
Discussion started by: wyx2000
2 Replies

2. Shell Programming and Scripting

1 usb stick -> 2 mounted devices

Hello, i am using a solaris thinclient that tries to connecting to a terminalserver. (RDP) Everything works fine, but the usb redirection. If i put in a usb stick i always get 2 usb-drives mounted. If i look in /tmp/SUNWut/mnt/<name of the host> i see 2 devices. One with the name of the... (2 Replies)
Discussion started by: anarcy
2 Replies

3. Linux

Can USB Devices Be Exported Over a Network?

While I know that it's possible to use something like SANE to share a USB scanner over a network, or use NBD or iSCSI to share a USB flash or external HD over the network, I've been wondering about a raw USB <--> TCP/IP transport. Back in the late 90s, I swear I remember hearing about a project... (2 Replies)
Discussion started by: deckard
2 Replies

4. UNIX for Advanced & Expert Users

How to enumerate USB Mass Storage devices?

Hi all, I want to write a program in C that can enumerate all USB massand their mount point storage on my system. i want to give ability to copy one file to desired USB mass storage or read a file from it. I have posted another question about how can recieve USB arrival in this forum. I think... (0 Replies)
Discussion started by: aghashahi
0 Replies

5. Shell Programming and Scripting

disableing my USB devices using a script

hi guys I would like to disable my USB devices using a shell script(Linux machine) i.e(hoteplug,kernelpcmciacs,pcmciacs) Kindly suggest me at the earliest Thnks in advance regards ash (0 Replies)
Discussion started by: whizkidash
0 Replies

6. SuSE

Linux SuSE 10 - Disable Unsuccessful Login History.

When we login to any remote connections in SuSE Linux, say for example, telnet , the following line is displayed "Last Login : Date and time is displayed" I would like to disable this. In SuSE 9, I could find the solution . Please suggest me a solution to disable the line displayed for SuSE... (3 Replies)
Discussion started by: Laksmi
3 Replies

7. UNIX for Advanced & Expert Users

HP-UX 10.2 servers interoperability with IBM mass storage devices

Does anyone have succesfully interconnected HP-UX 10.2 HP 9000 K370 servers with A6885A HBA's, with an IBM Fastt storage server? I need to replace integrate both platforms. Interoperability matrices from manufacturers do not certified such integration. Thanks for anybody's help. (0 Replies)
Discussion started by: raltmannr
0 Replies

8. SuSE

Can we disable/delay login ports in suse linux ?

Plz . tell me the command in suse linux to rert availibility of login ports, disable login ports, & delay available login ports. (3 Replies)
Discussion started by: vrguha
3 Replies

9. Red Hat

USB Devices

I am trying to get a flash card reader to work with my machine. My question is, are all of my USB ports screwed up? Do I need to buy a seperate USB controller? I does not appear that the onboard USB ports work. In trying to get it to work, I typed cat /proc/scsi/scsi and got this: # cat... (2 Replies)
Discussion started by: davidkretsch
2 Replies
Login or Register to Ask a Question