I am developing an API in Unix environment for virtual machines. Most of the modules are developed in python. I have few questions on this.

I have the file extension as abc.py. I would like to make this as a command. For example , virtman dominfo [vmid] should be the command syntax. Now I have to give ./virtman.py dominfo [vmid] to achieve this.  And I have first line as #!/usr/bin/python in the python file. So how can make this as a command?

My echo $PATH looks like '/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin0'

I read a lot of articles but I didn't get the clear picture,so any hints/suggestions would be helpful.


Question: Why don't wifi managers remember mac addresses for hotspots to defeat the jasager attack?
Answer: MAC address spoofing is trivial for an attacker to carry out,  any form of mac address filtering will not help secure any network.   However,  MAC address filtering can cause real problems for legitimate users.   What if you buy a new router and give it the same SSID?

The best defense against this sort of attack is WPA.  It isn't prefect,  WPA-PSK is pretty easy to break,  but its better than anything else consumers have.