Go Back   TechArena Community > Software > Operating Systems
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Restricting Access To USB Devices In Ubuntu

Operating Systems


Reply
 
Thread Tools Search this Thread
  #1  
Old 07-01-2010
Member
 
Join Date: Jan 2009
Posts: 57
Restricting Access To USB Devices In Ubuntu
  

Hello, I am using Ubuntu 9.04 on my computer and want to do some or the other setting from which one will able to use usb devices for any type of keyboard of moue which are having usb connections. But, if someone want to connect Pen drive or any other storage device then it will not able to connect it. How can we achive this. Is is possible to Restrict access to usb device in Ubuntu 9.04?

Reply With Quote
  #2  
Old 07-01-2010
Dr. V
 
Posts: n/a
Re: Restricting Access To USB Devices In Ubuntu

I think you need to disable all those usb connections by using the Device Manager. You will able to get the list of all those usb connections present at your computer. So, you just need to right click on each one and just click on the disable option. So, your all of the usb ports will not work and when anyone connects usb, it will not detected on your computer.
Reply With Quote
  #3  
Old 07-01-2010
Member
 
Join Date: May 2008
Posts: 2,676
Re: Restricting Access To USB Devices In Ubuntu

You can do it by simply typing below command on your computer:

Code:
sudo chmod go-x /bin/mount
sudo chmod go-x /bin/umount
Just use these command.
Reply With Quote
  #4  
Old 07-01-2010
Member
 
Join Date: Nov 2005
Posts: 3,023
Re: Restricting Access To USB Devices In Ubuntu

I have come to know that The ADM template is used for this sort of purposes. If you use this then it will set the registry value of HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsbStor\Start to 4 (Disable). So, anyone cannot able to use usb devices on the computer. But, if you have some usb ports which are not installed already then it will not take charge on that and so one can use that usb port afterwards to connect it.
Reply With Quote
  #5  
Old 07-01-2010
Member
 
Join Date: Apr 2008
Posts: 3,518
Re: Restricting Access To USB Devices In Ubuntu

I am not having installed Ubuntu 9.04 on my computer and using Windows xp operating system installed on my computer. So, I know the solution for the Windows xp, just check it on your ubuntu.
  1. You can change the permissions of the usb device by changing the registry.
  2. You can simply disable driver for that particular port.
  3. You can create that particular device WriteProtected.
Reply With Quote
  #6  
Old 07-01-2010
Member
 
Join Date: Apr 2008
Posts: 3,291
Re: Restricting Access To USB Devices In Ubuntu

If you want to restrict access to usb device in Ubuntu 9.04 then you have to use the command below:
sudo chmod go-x /bin/mount
sudo chmod go-x /bin/umount

You can search these type of tricks on internet. There are many more tricks available on internet.
Reply With Quote
Reply

  TechArena Community > Software > Operating Systems
Tags: , , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Restricting Access To USB Devices In Ubuntu"
Thread Thread Starter Forum Replies Last Post
Is there any fix for using IOS 5 devices on ubuntu HangDown Portable Devices 7 05-01-2012 11:59 AM
Restricting access to mail app on iPad ZEENA Portable Devices 4 26-02-2011 12:37 AM
Plugin problem of USB Devices in Ubuntu Laquan Windows Software 3 14-01-2010 01:27 PM
Restricting access to the messenger? Icarusul Technology & Internet 2 22-09-2008 07:02 PM


All times are GMT +5.5. The time now is 12:45 AM.