2 Feb
2000
2 Feb
'00
09:18
Ole Kofoed Hansen wrote:
[...]
It should be run as root, but you could SETUID it, then you need to have the path of lilo and shutdown in as well. (I think it is /sbin, but I can't check that now)
#!/bin/sh lilo -R win shutdown -r now
Regards
You cannot setuid with shell script. Even if you have the s-bit set to root a shell script run with user privileges. Maurizio -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/