[Ilugc] How to autorun html file in Linux on CD insertion?
- From: yogeshg1987@xxxxxxxxx (Yogesh Girikumar)
- Date: Wed, 18 Apr 2012 09:20:30 +0530
On 17 April 2012 12:15, Dhastha <dhasthagheer at gmail.com> wrote:
Autorun
#!/bin/sh
fullpath=$(pwd)
exec firefox $fullpath/index.html
There seems to be a program for this:
http://linux.die.net/man/1/autorun
Look at this as well:
https://wiki.ubuntu.com/autorun
That said, autorun is kind of risky when the user does not know what is
being run automatically. And this feature can be used to run an attack
script. You get the drift.
--
Y
Other related posts: