You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Linux Experts Group - LEG
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.
GOPU N
unread,
Jun 11, 2010, 6:42:16 AM6/11/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Linux Experts Group - LEG
You can do it in two ways,
adding your command in the os startup script
or moving usb_storage module to a different location.
(ie) mv /lib/modules/$(uname -r)/kernel/drivers/usb/storage/usb-
storage.ko /root