LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-02-2009, 07:40 AM   #1
Ashish Sood
Member
 
Registered: Feb 2009
Location: Gwalior
Distribution: Fedora 22, RHEL 6,7
Posts: 180

Rep: Reputation: 15
Disable pehripheral In linux


hi Guys

I want to know is there is any way that we can disable the pheripheral in linux like DVD WRITER,

Thanks IN Advance


Best Regards
Ashish Sood
 
Old 10-02-2009, 10:34 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,632

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by Ashish Sood View Post
hi Guys

I want to know is there is any way that we can disable the pheripheral in linux like DVD WRITER,
No, you can't disable it, but you can do one of two things:

1. Remove the kernel module for that device, rendering it unusable.
2. Make access to the device for one group only, and keep everyone you don't want using it, out of that group.
 
Old 10-02-2009, 10:45 AM   #3
Ashish Sood
Member
 
Registered: Feb 2009
Location: Gwalior
Distribution: Fedora 22, RHEL 6,7
Posts: 180

Original Poster
Rep: Reputation: 15
Thanks For Reply , I m using F11 , as u say that i can unload the module , can u plz tell me how can i do this for a specific user or a group of users (GROUP), is there is ne command that can fullfill my need , i googled a lot but cant find the exact solution for that problem.

Again Thankss for replay
 
Old 10-02-2009, 03:09 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,632

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by Ashish Sood View Post
Thanks For Reply , I m using F11 , as u say that i can unload the module , can u plz tell me how can i do this for a specific user or a group of users (GROUP), is there is ne command that can fullfill my need , i googled a lot but cant find the exact solution for that problem.

Again Thankss for replay
Spell out your words.

The command is "modprobe", read the man page for it, and it'll give you instructions as to it's use. And you can't unload a module for a specific user..it's either loaded or unloaded, period, for the whole system.

You can grant access rights to devices based on group, though, so one group can write to a partition/disk/etc/, but another can't.
 
Old 10-03-2009, 01:52 PM   #5
Ashish Sood
Member
 
Registered: Feb 2009
Location: Gwalior
Distribution: Fedora 22, RHEL 6,7
Posts: 180

Original Poster
Rep: Reputation: 15
Thanks I will try , and tell u what happens
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to disable Text-to-speechmanager on startup, and disable fsck after 20 boots Kristian2 Slackware 2 02-25-2009 10:55 AM
dbx command for corrosponding commands disable or disable on gdb bshankha AIX 0 09-26-2006 09:38 AM
what are the services i can disable, also disable ads, banners in konqueror? greythorne SUSE / openSUSE 3 03-16-2005 08:30 AM
disable linux firewall ust Linux - General 4 01-26-2005 06:49 AM
how do you disable hardware on linux? ballam Linux - Hardware 5 07-15-2004 11:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:28 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
Open Source Consulting | Domain Registration