If you share your Systems and you want to disable USB Drive connects there is a small solution. By default the gvfs Service handle all automounts and drive scans. On old Linux Systems you could purge the complete gvfsd “Backend” but Ubuntu-Desktop forces some pakets to the default Desktop Package! If you purge it the working Desktop can be destroyed!
It’s easier to disable the “USB Drivers” called Modules from load on Start! Cause Rules are “Software” and can FAIL unknown!!
Howto? Edit the /etc/modprobe.d/blacklist.conf and add:
Update initramfs (Kernel Image)
update-initramfs -u -k all
Now try to plugin USB Sticks , they should now be ignored!
To enable USB Drives temporaily do:
$sudo modprobe uas
Now the USB Stick should be able to mount for root!
Advantage? No gvfs, org.freedesktop rules or package deps are touched!
Remark: On Laptops DISABLE all USB Devices for Security Reasons! There should now “Fake Keyboard” or “Fake Mouse” be able to enter the Systems!!! (USB Kill Sticks)
If you use Ubuntu on your Systems, you perhaps read last weeks about a new Release Version.
I am often asked, must i upgrade now?
My answere at first is not really, cause the new Versions are not cleaned up by all bugs and the User or Admin must recheck against the new advantages of the new Releases for production usage. I prefer to wait 3 Month after a Release by Ubuntu is published. But if you setup a very new Hardware your are often forced to take the LAST Release Version, cause it supports newest Hardware Chips by the latest Kernel (for example Laptop mixed Chips Wifi/Bluetooth/USB3.0).
Remark: You should read the “release notes” of the Versions, cause this can prevent you from running into trouble or “black screens”. DONT forget to Backup the old OS if you try to start the Upgrade. Fresh Setup’s are often smaller and more free of Bugs as “upgraded Systems”! Cause sometimes the old Configs are not all updated or replaced! (User-Homes). New Releases can allocate MORE Disk Space and offer new Call Home Sniffing Tools, RECHECK open Ports, running Processes and Privacy Settings!
On Companies you must always setup a “Lab PC” for Testing the new Releases before rolling out the OS.
Print this Release Timeline out to be updated daily..
If you use Ubuntu Desktop 16.10 you will run sometimes into freezes of the Desktop with a Default Setup.
Background: Theres a known Bug of the Deja-Dup Backup Service which is started by Cron. The Service take 100% Ram and 100% CPU usage. This did my PC with 16GB Ram too! Only HARD RESET helps to get back Control!
Purge the deja-dup service with:
$sudo apt purge deja-dup
Use instead the “rsync” tool by command line with users crontab to Backup your User Homes to external or 2nd. Disk.