LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Enterprise (https://www.linuxquestions.org/questions/linux-enterprise-47/)
-   -   Help me to block pen drive & CDROM ? (https://www.linuxquestions.org/questions/linux-enterprise-47/help-me-to-block-pen-drive-and-cdrom-590511/)

rahuldevalone 10-09-2007 08:17 AM

Help me to block pen drive & CDROM ?
 
My name is Rahul Kumar.I want to restrict CDROM & pen drive in linux?
Regards,
Rahul Kumar

archShade 10-09-2007 01:30 PM

go into file /etc/fstab as root and find a line that looks somthing like this

Code:

/dev/sda1        /media/USB      auto        defaults,user            0  0
take out the user from the 4th collum and users shouldnt be able to mount USB

find a simler entry for CD's

win32sux 10-09-2007 01:38 PM

This thread is a dupe and will be closed shortly.

If anyone wants to contribute an answer to this question please do so here.


All times are GMT -5. The time now is 09:04 AM.