I have a VM player with CentOS 6.5. VM Player is installed in a Windows 7 PC. CentOS has a root user and a normal user. I logged in as normal user.
I have a script file say "/test/mywork/autorun.sh" which I have to execute with root privilege.
I can run the script using su root inside the VM Player.
SO I want to know if there is any possibility that if I can send a trigger from windows 7 PC to VM Player to run the script? Something like I can trigger using the IP address of VM Player?
If not, then can I automatically execute the script as root without asking for password(pre-configure the password) while logging in as normal user ?