![]() However, sudo maintains a list of rules on which users are allowed to run what commands using sudo, and whether or not a password is required. It will ask you for the admin password, and then should do its thing, as the script then runs as root. If you run it like so: sudo /usr/local/bin/winreboot.sh ![]() Then change the owner of that script to root, mark it as executable and put it in a useful location (such as /usr/local/bin/). Let's call it winreboot.sh for sake of argument. If you don't mind doing a bit of shell scripting, and you've found a script you can run from the Terminal that will switch to windows, you can create a script containing that command (and maybe a reboot command following it).
0 Comments
Leave a Reply. |