Re: wmShutdown & suid
On Wed, Aug 21, 2002 at 03:30:01PM +0200, Rafal Zawadzki wrote:
> Hello. I've package wmShutdown - wmaker dock which allow halt / reboot
> computer. But it need set sudi on /sbin/shutdown to do this. What can i
> do ?
You could depend on sudo and call sudo shutdown.
(That is what i did with gshutdown in gnome, gnome2 does not seem to
have gshutdown, so i am out of luck).
That said, you still would need to have the corresponding user having
sudo privilege, and i think this need to be done by hand.
Friendly,
Sven Luther
Reply to: