Welcome to the most active Linux Forum on the web.
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 06-10-2010, 05:39 AM   #1
LQ Newbie
Registered: Feb 2010
Posts: 13

Rep: Reputation: 0
how to Deny Pen Drive Access in ubuntu

hello all
I want to deny only pen drive access to ubuntu not usb mouse or
keyboard. next thing is it should denied to root also. well i had done
some googling related to that i found few things which i need to share
with you. first thing is i mange to do what i want it with this
command modprobe -r usb_storage. but the crazy thing is it get flushes
on every reboot. I need to make it persistant. does anybody know how
should i do that. i had tried few things like modprobe -l usb_storage
and the path which i got i went there and removed that file. Can
anybody tell me whats the solution.
Old 06-10-2010, 06:21 AM   #2
Senior Member
Registered: Dec 2009
Posts: 1,387

Rep: Reputation: 173Reputation: 173
but the crazy thing is it get flushes
on every reboot
just add it after last runlevel of startup
Old 06-10-2010, 06:50 AM   #3
LQ Newbie
Registered: Feb 2010
Posts: 13

Original Poster
Rep: Reputation: 0
like what u mean

u mean i add this command to last runlevel of startup. I am using ubuntu gui now. tell me exact sorry as i m newbie.


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
Deny users access to DVD Drive brian2009 Linux - Newbie 8 03-31-2010 07:14 AM
Pen drive not detected ubuntu gauravdott Debian 10 05-11-2009 03:35 AM
Ubuntu pen drive linux Digital Surgeon Ubuntu 4 12-08-2008 08:21 PM
Boot iso on pen drive by grub installed on pen drive jena Linux - Hardware 2 11-01-2008 10:09 AM
How to update Ubuntu 7.10 on pen drive? taylorkh Ubuntu 1 01-20-2008 10:11 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:48 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