Go Job Hunting at the LQ Job Marketplace
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-06-2013, 11:59 PM   #1
LQ Newbie
Registered: Mar 2013
Posts: 2

Rep: Reputation: Disabled
Thumbs up usb access restriction

help me out in restricting the pendrive access to a user using fedora 12 os
Old 03-07-2013, 12:10 AM   #2
Senior Member
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,797
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
Check this link out here.
Old 03-07-2013, 10:33 PM   #3
LQ Newbie
Registered: Mar 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
wow surprising

i dont think so it is working shivaaaa plz could u screenshots n reply thankyou
Old 03-07-2013, 10:54 PM   #4
Registered: Nov 2012
Location: India
Distribution: Fedora, CentOs, RHEL
Posts: 164

Rep: Reputation: 24
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)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache ip access restriction gusrago Linux - Newbie 3 11-10-2010 06:20 PM
Root access restriction GalinaK Linux - Wireless Networking 1 07-03-2006 03:41 AM
Router - Access Restriction ciop Linux - Security 4 11-01-2004 09:27 PM
CVS access restriction pedrosan Linux - Software 0 05-21-2004 02:33 AM
Telnet Access Restriction mocha Linux - Networking 1 09-16-2001 01:17 PM

All times are GMT -5. The time now is 06:22 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration