LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   reboot into windows button / shortcut (https://www.linuxquestions.org/questions/linux-software-2/reboot-into-windows-button-shortcut-317441/)

pistonbrew 04-26-2005 04:31 PM

reboot into windows button / shortcut
 
looking to create a desktop shortcut to reboot into windows (using kde3.2 / mandrake 10.1 / LILO) - i've seen them from time to time on various screenshots.

i've configured a shortcut to run the following comand:

#!/bin/sh
/sbin/lilo -R windows
/usr/bin/reboot



which works fine but requires the root password. is there an easy way to do this without the password? i could use SUDO as a last resort but just wondering if there's an easy way....?

masand 04-26-2005 10:50 PM

well u can do that also but u won't have any secur'ty ,anyone can just reboot ur machine
if u still want to do that

run

chmod u+s for the /sbin/lilo and for reboot

regards


All times are GMT -5. The time now is 08:22 PM.