LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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, 01: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, 01:25 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
then uninstall the Gnome default burner program
 
Old 05-09-2014, 01: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: 343Reputation: 343Reputation: 343Reputation: 343
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, 01:35 PM   #4
rtmistler
Moderator
 
Registered: Mar 2011
Location: Sutton, MA. USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu
Posts: 4,087
Blog Entries: 10

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
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, 02:17 PM   #5
DJ Shaji
Member
 
Registered: Dec 2004
Distribution: Fedora 22 (Twenty Two!), ArchLinux
Posts: 506
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 04:11 PM
[SOLVED] Brasero ignoring write speed setting Doc CPU Linux - Software 9 04-01-2012 08: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 02:26 PM


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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration