views:

91

answers:

2

Hi,

How to create a autorun file in linux which is similar to autorun.inf in Windows in order to execute a shell file ie Following are the requirment

1.Autorun the installer file ./example.sh

When CD is mounted onto the system .

+2  A: 

this is not possible. would be too much of a risk. You can of course do this for your own system in various variants. for example cronjobs. but i suppose you want it to run on any other system...

h_b
A: 

Rule #1 in Linux's Security: Any new Executable file come to system haven't the due to execute himself without permission from his user/owner :) you can make an autorun for your system but for other systems nop I guess

Aboelnour