LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-09-2014, 12:05 PM   #1
johnmccarthy
Member
 
Registered: Jul 2010
Posts: 64

Rep: Reputation: 1
Smile How to Disable cd/dvd write capability in Linux; specifically The Tool Brasero


We are using Red Hat Enterprises Linux 6.

I’m trying to disable cd/dvd write capability in Linux and have had no luck. I’ve added to my /etc/fstab

/dev/cdrom /media/dvdrecorder iso9660 ro,user,noauto,unhide

I’ve taken away all user (other) permissions to file: /usr/bin/brasero, /usr/bin/cdrecord and /usr/bin/dvdrecord

Still users can write to DVD and CDs using the Linux Built in Graphic Utility, Brasero.

Does anyone have a "simple" solution. These users will contine to need access to read CDs and DVDs.

A million thanks in advance,
Johnny Mac
 
Old 05-09-2014, 12:25 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
then uninstall the Gnome default burner program
 
Old 05-09-2014, 12:27 PM   #3
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by johnmccarthy View Post
I’m trying to disable cd/dvd write capability in Linux and have had no luck. I’ve added to my /etc/fstab

/dev/cdrom /media/dvdrecorder iso9660 ro,user,noauto,unhide

I’ve taken away all user (other) permissions to file: /usr/bin/brasero, /usr/bin/cdrecord and /usr/bin/dvdrecord

Still users can write to DVD and CDs using the Linux Built in Graphic Utility, Brasero.

Does anyone have a "simple" solution. These users will contine to need access to read CDs and DVDs.
what about simply swapping the DVD writer for a plain readonly drive, a true DVD-ROM drive?

[X] Doc CPU
 
Old 05-09-2014, 12:35 PM   #4
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Have you asked RedHat support this question?

I'm curious why this is desired/required?

If persons are illegally or immorally copying software or content, that's a legal issue and I've found that no matter what technology one puts in place to disallow it, but where you still allow access; technology faces continual challenges.

Therefore the most simple solution is to prohibit users' access on the machines once they've illustrated a propensity for rules violation.

You could try various ways to restrict use of that graphical utility, or un-install it and try to prohibit it being re-installed. Again, those are challenges where you'll be facing a potentially determined base of users. They may find that if they mount a thumbstick with the program, they can run this graphic utility without ever having to place it on the machine.

Another more complex solution is to replace the CD/DVD devices and replace them with readers only.

By the way, if access to CD/DVD media is required, but also only required for certain media volumes and also widely required; then another solution is to remove all the CD/DVD drives and network mount one controlled server, or set of servers with the required media mounted, obviously physically restricted from user access. That way they can view some common media, if that's the case.
 
Old 05-09-2014, 01:17 PM   #5
DJ Shaji
Member
 
Registered: Dec 2004
Location: Yo Momma's house
Distribution: Fedora Rawhide, ArchLinux
Posts: 518
Blog Entries: 15

Rep: Reputation: 106Reputation: 106
Code:
chmod 700 /usr/bin/brasero
EDIT: To undo this later do a "chmod 755" on the same file.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
burning in Brasero, can see data DVD in mac/linux but not windows jjjj12212 Linux - Software 4 07-22-2013 03:11 PM
[SOLVED] Brasero ignoring write speed setting Doc CPU Linux - Software 9 04-01-2012 07:00 PM
I cant burn DVD in Debian Lenny (I tried SW like Brasero...)linux-image-2.6.30 monolit Linux - Hardware 27 08-25-2009 01:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration