Skip to main content

How to  Disable USB Devices:

 

 

The USB storage drive automatically detects USB flash or hard drives. You can easily force and disable USB storage devices under any Linux distribution. The modprobe program used for automatic kernel module loading and can be configured to not load the USB storage driver upon demand. This will prevent the modprobe program from loading the usb-storage module, but will not prevent root (or another program) from using the insmod program to load the module manually.
many method is available for disable USB :

Method 1:

run the following command:
              # echo 'install usb-storage : ' >> /etc/modprobe.conf

Method 2 :
You can get rid of all USB devices by disabling kernel support for USB via GRUB. Open grub.conf and append "nousb" to the kernel line as follows:
               # vim /etc/grub.conf
kernel /vmlinuz-2.6.18-128.1.1.el5 ro root=LABEL=/ console=tty0 console=ttyS1,19200n8 nousb

Comments

Popular posts from this blog

Problem: Date Formatting cannot be Changed in Microsoft Excel

In this article, we will learn how to change the date formatting. We will use “Text to Column” wizard to resolve the problem of change the date formatting in Microsoft Excel. Let’s understand the functions: - Text to Column:  “Text to Column” is used for separating the cell content which is depending on the way your data is arranged. You can divide the data on the basis of content in the cell such as space, comma, period, semicolon, etc. Let’s take an example and understand how we can convert the date into Text. We have dates, foramatted as text in column A. Now, we want to convert it into date format.     If we want to convert the formatting into numbers, then we need to follow below given steps:- Select the range A2:A11. Go to Data tab, and click on Text to Columns from the Data tools group.     Covert Text to Columns Wizard – Step1 of 3 dialog box will appear. Select fixed width, and click on Next button.     Skip step-2, and...
What is ssh? SSH , or Secure Shell, is a protocol used to securely log onto remote systems. It is the most common way to access remote Linux and Unix-like servers. ssh commands: If your username on the remote system is the same as your username on your local system:                               #ssh remote_host remote_host means ip address or domain name that you are trying to connect to. If your username is different on the remote system, you can specify it by using this syntax:                         #ssh remote_username@remote_host How to Set Up SSH on Linux systems Edit the configuration file of sshd #vim /etc/ssh/sshd_config It may be a good idea to change this to a non-standard port to help obscure your ...