Re: [ubuntu-in] Disable USB port for Mass Storage

2011-01-18 Thread Arun Shrimali
On Tue, Jan 18, 2011 at 3:15 PM, Arun Shrimali wrote: > > > On Tue, Jan 18, 2011 at 2:40 PM, निशांत / Nishant gmail.com> wrote: > >> > To again start the USB port for mass storage >> > undo step 2 >> > restart pc >> >> You actually don't need to re-start PC. Simply do "modprobe -v >> usb_storage

Re: [ubuntu-in] Disable USB port for Mass Storage

2011-01-18 Thread Arun Shrimali
On Tue, Jan 18, 2011 at 2:40 PM, निशांत / Nishant wrote: > > To again start the USB port for mass storage > > undo step 2 > > restart pc > > You actually don't need to re-start PC. Simply do "modprobe -v > usb_storage" and it should start working again. > > -Nishant > > -- > ubuntu-in mailing lis

Re: [ubuntu-in] Disable USB port for Mass Storage

2011-01-18 Thread निशांत / Nishant
> To again start the USB port for mass storage > undo step 2 > restart pc You actually don't need to re-start PC. Simply do "modprobe -v usb_storage" and it should start working again. -Nishant -- ubuntu-in mailing list ubuntu-in@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu

Re: [ubuntu-in] Disable USB port for Mass Storage

2011-01-18 Thread निशांत / Nishant
Bhavani, > my system output as an example > > bhavani@flyingmonster:~$  modprobe -l | grep usb > kernel/drivers/net/wireless/at76c50x-usb.ko > kernel/drivers/net/wireless/libertas/usb8xxx.ko > kernel/drivers/net/wireless/libertas_tf/libertas_tf_usb.ko > kernel/ubuntu/lirc/lirc_atiusb/lir

Re: [ubuntu-in] Disable USB port for Mass Storage

2011-01-18 Thread Jkhatri
On Tuesday 18 January 2011 01:45 PM, Nitesh Mistry wrote: On Tue, Jan 18, 2011 at 01:16:40PM +0530, ?? / Nishant wrote: Pl give me the steps how can I do that. modprobe -r usb_storage Using above command will work until you reboot the machine. For a permanent solution edit /etc/modprobe.d

Re: [ubuntu-in] Disable USB port for Mass Storage

2011-01-18 Thread Bhavani Shankar R
On Tue, Jan 18, 2011 at 1:51 PM, निशांत / Nishant wrote: > Yep, > >> This has got me interested as well. As Arun asked, do other usb devices work >> after this. Devices like usb keyboards, modems, printers, etc.? > > Other devices shall work. +1 here > > Mouse and keyboard use usbhid, USB camera

Re: [ubuntu-in] Disable USB port for Mass Storage

2011-01-18 Thread निशांत / Nishant
Yep, > This has got me interested as well. As Arun asked, do other usb devices work > after this. Devices like usb keyboards, modems, printers, etc.? Other devices shall work. Mouse and keyboard use usbhid, USB cameras and printers shall use uhci_hcd or ehci_hcd, modems shall use usb_serial. Be

Re: [ubuntu-in] Disable USB port for Mass Storage

2011-01-18 Thread Jkhatri
You can do one trick ( just remove the usb storage drivers ) ( even root will not be able to use the usb storage without some process [3] ) see usb-storage drives loads from here [1] [1] ls /lib/modules/$(uname -r)/kernel/drivers/usb/storage/usb-storage.ko Move it to somewhere else[2] .

Re: [ubuntu-in] Disable USB port for Mass Storage

2011-01-18 Thread Nitesh Mistry
On Tue, Jan 18, 2011 at 01:16:40PM +0530, निशांत / Nishant wrote: > > Pl give me the steps how can I do that. > > > > modprobe -r usb_storage > > Using above command will work until you reboot the machine. > > For a permanent solution edit /etc/modprobe.d/blacklist and add following > line: > >

Re: [ubuntu-in] Disable USB port for Mass Storage

2011-01-18 Thread Arun Shrimali
On Tue, Jan 18, 2011 at 1:16 PM, निशांत / Nishant wrote: > > Pl give me the steps how can I do that. > > > > modprobe -r usb_storage > > Using above command will work until you reboot the machine. > > For a permanent solution edit /etc/modprobe.d/blacklist and add following > line: > > blacklist

Re: [ubuntu-in] Disable USB port for Mass Storage

2011-01-17 Thread निशांत / Nishant
> Pl give me the steps how can I do that. > > modprobe -r usb_storage Using above command will work until you reboot the machine. For a permanent solution edit /etc/modprobe.d/blacklist and add following line: blacklist usb_storage then save and reboot. regards, Nishant -- ubuntu-in mailing

Re: [ubuntu-in] Disable USB port for Mass Storage

2011-01-17 Thread Jkhatri
On Tuesday 18 January 2011 12:23 PM, Arun Shrimali wrote: Dear Nishant, Pl give me the steps how can I do that. modprobe -r usb_storage (after that printers should work ...) Arun On Tue, Jan 18, 2011 at 12:17 PM, निशांत / Nishant @gmail.com > wro

Re: [ubuntu-in] Disable USB port for Mass Storage

2011-01-17 Thread Arun Shrimali
Dear Nishant, Pl give me the steps how can I do that. (after that printers should work ...) Arun On Tue, Jan 18, 2011 at 12:17 PM, निशांत / Nishant wrote: > > can anybody help me how to disable usb mass storage devices in Ubuntu > 10.04 > > I would suggest blocking it at kernel level. Try black

Re: [ubuntu-in] Disable USB port for Mass Storage

2011-01-17 Thread निशांत / Nishant
> can anybody help me how to disable usb mass storage devices in Ubuntu 10.04 I would suggest blocking it at kernel level. Try blacklisting usb_storage module. -Nishant -- ubuntu-in mailing list ubuntu-in@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-in

[ubuntu-in] Disable USB port for Mass Storage

2011-01-17 Thread Arun Shrimali
Dear All, We are using Ubuntu 10.04 LTS for our desktops user. For the data security, I want to disable the USB ports for mass storage. Thus I am following System -> Administration -> user and groups user -> advance setting (authenticate) -> user privileges -> uncheck - Access external storage de