Ubuntu Linux Disable Autorun

By | 2011/02/09

How do I disable autorun in Ubuntu Linux?

As in recent news, Linux on the Desktop is vulnerable to autorun attacks via a specially crafted USB flash drive. You can help to make your Linux Desktop safer by disabling autorun for removable media.


In Ubuntu, open up a terminal (Applications > Accessories > Terminal). In that window, type:

nautilus-file-management-properties

and press enter.

autorun1

In the window that appears next, go to the far right Media tab. There make two changes.

Check ‘Never prompt or start programs on media insertion’
Uncheck ‘Browse media when inserted’

autorun2

As always, YMMV! Set autorun options on your machine as based on your desired settings.

2 thoughts on “Ubuntu Linux Disable Autorun

  1. Jörg Schlüter

    in new Gnome Classic (Ubuntu 11.10+) that’s
    “gnome-control-center &” from console, then open Hardware>Removable Media

    Reply
  2. Andrea

    It was really starting to irritate me that every time I booted my computer my Media and Backup drives both opened in their own window. I appreciate the info. Thank you!

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

Notify me of followup comments via e-mail. You can also subscribe without commenting.