Re: disable dvd write

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Tue, 6 Jul 2010, grace rante wrote:

> To: centos@xxxxxxxxxx
> From: grace rante <graziee@xxxxxxxxx>
> Subject:  disable dvd write
> 
> hi, does anybody know how to disable dvd/cd write access in centos 5.3?
>
> thanks

See 'pinfo mount', 'pinfo fstab' for options available. You 
might be able to make the CD/DVD drive ro, with something 
like this in your /etc fstab file:

# DVD-RW drive VOM-12E48X - Fedora 12 example
/dev/sr0   /media/dvdrecorder  iso9660 ro,user,noauto,unhide  0 0

>From the mount(8) man page:

The non-superuser mounts.
Normally,  only  the superuser can mount filesystems.  However,
when fstab contains the user option on a line, anybody can
mount the corresponding system.

Thus, given a line

     /dev/cdrom  /cd  iso9660 ro,user,noauto,unhide

any  user  can  mount the iso9660 filesystem found on his CDROM
using the command

   mount /dev/cdrom

or

   mount /cd

Kind Regards,

Keith Roberts
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux