Linked Questions

3 votes
4 answers
30k views

How to block all USB storage devices in Ubuntu [duplicate]

I need to block all USB storage devices (pendrives & mobile devices) but I need to access USB keyboard and USB mouse. I have already tried by editing /etc/modprobe.d/blacklist.conf by adding ...
Binto Paul K's user avatar
0 votes
1 answer
595 views

Disable USB Mass Storage for root user [duplicate]

I want to disable USB access to root and enable it when it is required. I need to restrict users to copy and paste anything using external drives. Can anyone help me on this?
Manoj Singh's user avatar
0 votes
1 answer
61 views

Disable External Storage (Thumb Drive) on Particular USB Ports [duplicate]

A particular industrial computer has several USB ports accessible from outside the chassis and one USB port inside a secured door. We need to restrict the accessible USB ports to use with mouse, ...
Matt Redmond's user avatar
9 votes
3 answers
16k views

Modules loading despite being added to the blacklist

I'd like to blacklist a couple of modules, namely drm, drm_kms_helper, i2c_algo_bit and i915 to forbid my integrated Intel GPU to be used, but to use my Nvidia MXM card instead. I inserted the ...
László Monda's user avatar
7 votes
3 answers
9k views

Disable usb mass storage

I want to disable usb mass storage on Ubuntu desktop 10.04, 11.04 and 11.10. As security policy to avoid data leakage. But in case of emergency there easy way getting usb mass storage back.
Deepak Rajput's user avatar
2 votes
1 answer
10k views

Users and Groups Administration tool - What do the options in User Privileges tab of Advanced Settings do?

How does the "User Privileges" tab in the Advanced Settings of Users and Groups GUI work? I mean this window: Does it simply add or remove the user from certain groups, or is there something else? If ...
MestreLion's user avatar
  • 20.1k
2 votes
2 answers
2k views

How to Prevent users from copying files to usb..?

using ubuntu 16.04lts,Some of the users are taking important files into their personal devices(pen drive or portable HDD). How to prevent users not to send or copy files to usb..? users are using USB ...
Mohammad's user avatar
0 votes
3 answers
2k views

How to disable USB storage device support [duplicate]

I want to disable a particular USB storage device (a sandisk flash drive). I read somewhere that you can use the .config file. How do i use it to disable that?
akshay's user avatar
  • 279
0 votes
1 answer
897 views

How do I restrict USB access?

I am the system administrator on a network using a single Ubuntu 12.04 computer as a server and several Windows (XP) clients. Is it possible to restrict users from accessing USB storage devices on ...
surendar's user avatar
  • 243
1 vote
0 answers
940 views

Using `gsettings` to block the mounting of USB drives

I want to configure Ubuntu (16.04) to prevent users from using removable media, specifically USB drives. You can prevent automount as per. gsettings set org.gnome.desktop.media-handling automount ...
Andrew Hardiman's user avatar