2009/2/17 sameer shinde s9sameer@gmail.com:
As per Anurag, I checked it for dev/sdXY, which is showing me as /dev/sdb1. How do I block /dev/sdb1 to the users, what if the device picked up other sdbX as /dev/sdb1 is not available?
I also checked in /etc/fstab but could not found any relevant entry in it. FYI - The users does not have admin privileges. It is just a standard linux desktop user.
If you have already commented out the devices your system assigns to usb disks - then you should be good to go. From what i know of the distros i've used, only a root/admin user can pick up arbitrary devices (which are not referenced in /etc/fstab) and mount them. Normal users cannot.
Anurag