View Full Version : Auto execute problem
hakermania
May 4th, 2010, 09:05 PM
I want to plug in a USB stick and a program (unix scripting prog) to auto execute. How will I do this?
ssam
May 4th, 2010, 10:28 PM
you could make a custom udev rule to run a script when a drive is plugged in.
http://reactivated.net/writing_udev_rules.html#external-run
hakermania
May 5th, 2010, 04:23 PM
Will this be auto-executed from any pc?
hakermania
May 6th, 2010, 05:50 PM
Is there any way to execute a script when a USB Flash is pluged-in in every computer or not?
soltanis
May 6th, 2010, 09:03 PM
Probably not.
hakermania
May 7th, 2010, 05:14 PM
i made a thread in unix.com and I am awaiting for response.
I 'll let you know...
hakermania
May 8th, 2010, 07:27 AM
I asked there as well. The answer is NO. There is no way to auto-execute something from a plugged in USB for security reasons :(
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.