Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am currently using Kali OS (based on debian). When I insert a dvd or usb, it automatically mounts and opens. Is it advisable to not keep automount option in linux as we are suggested in windows. What all harms can be done in case of linux with automount option ? Can anyone tell from where to disable this feature?

share|improve this question
Are you confusing automount with AutoRun? – rink.attendant.6 Jul 25 '13 at 5:54
are both not on the same concept?Means if we run infected media, is their no possibility that our linux system will get infected with any sort of script which is meant to execute when mount. – wek Jul 25 '13 at 6:03
There is no danger of auto-mounting in either Windows or Linux. Autorun is the dangerous feature of Windows. – Paul Jul 25 '13 at 6:06
@wek: The difference is that nothing executes when mounting. – grawity Jul 25 '13 at 6:24
@grawity But after mounting (i.e showing drive letter on system), it opens by itself.will it be called autorun and is this harmful? – wek Jul 25 '13 at 6:39
up vote 3 down vote accepted

You confuse automount with autorun.

Automount is basically not harmfull as it only connects the device with your computer. This is also done in Windows (when the drive letter occurs it is mounted automatically). In Windows automount is activated always (without hacks it cannot be deactivated) where in Linux you have an easy choice.

What is dangerous is autorun. This is dangerous on Windows and on Linux as it can run unwanted scripts. Therefore I would suggest to turn it off.

share|improve this answer
Ok.Thanks for clearing my confusion.But it is ok till I get the drive letter on my system, but the scenario is that when i connect my usb , the usb drive gets open by itself.What we will be terming it as(automount)? – wek Jul 25 '13 at 6:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .