[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

running lilo -R as user



I want to be able to boot windoze by pressing ctrl-altgr-delete. I did
this in RedHat 6.2 and it worked nicely:

I put in the /etc/inittab

   # Trap CTRL-ALTGR-DELETE
   kb::kbrequest:/usr/local/bin/godos.sh

and godos.sh contains:

   #!/bin/sh

   /sbin/lilo -R dos
   /sbin/shutdown -r -t3 now

The problem is that this do not work in debian potato. I guess it is
because RedHat is not so strict on what is run by root as Debian. I must
say I prefer the Debian way.

I'm therefore wondering if somebody could point me in the direction of
documentation so that I can get this to work under Debian too.

Thanks in advance.

-- 
Preben Randhol -- [randhol@pvv.org] -- <http://www.pvv.org/~randhol/>
+---+ "There was, I think, never any reason to  believe in any innate
| ! |  superiority of the male, except his superior muscle."
+---+      -- Bertrand Russell, Ideas That Have Harmed Mankind (1950)



Reply to: