usb access restriction
help me out in restricting the pendrive access to a user using fedora 12 os
|
Check this link out here.
|
wow surprising
i dont think so it is working shivaaaa plz could u screenshots n reply thankyou
|
Hi chinna@calken,
Try the following commands.. 1.#lsmod | grep -i usb ===========> If the usb module is loaded, gives the following output usb_storage 42653 0 2.#modinfo usb_storage ===========> To know the module information. Will give you the path of the module: something like ... filename: /lib/modules/3.7.8-202.fc18.i686/kernel/drivers/usb/storage/usb-storage.ko 3.change directory to /lib/modules/3.7.8-202.fc18.i686/kernel/drivers/usb/storage/ using cd command. 4.#modprobe -r usb_storage remove the usb module. 5.#lsmod | grep -i usb =======> Should give nothing, as we have unloaded the usb module. 6.rename the usb-storage.ko to something like org_usb-storage.ko =========> Rename it to something relevant, as you may need it in future. 7.modprobe usb_storage ==========> This tries to insert the usb module. Should end up in an error saying: modprobe: ERROR: could not insert 'usb_storage': Unknown symbol in module, or unknown parameter (see dmesg) |
All times are GMT -5. The time now is 02:48 AM. |