LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to Deny Pen Drive Access in ubuntu (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-deny-pen-drive-access-in-ubuntu-813296/)

achtani_jeetu 06-10-2010 04:39 AM

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.
YOUR REPLIES ARE TRULY VALUABLE TO ME.

yooy 06-10-2010 05:21 AM

Quote:

but the crazy thing is it get flushes
on every reboot
just add it after last runlevel of startup

achtani_jeetu 06-10-2010 05:50 AM

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.


All times are GMT -5. The time now is 09:24 PM.