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

Re: shutdown from within gnome



On Wed, Aug 13, 2003 at 04:04:40PM +0200, Sven Luther wrote:
> On Wed, Aug 13, 2003 at 09:38:29AM -0300, John R Lenton wrote:
> > 
> > but now it's only "how do I get reboot to reboot" and not "how do I
> > get the logout dialog to ask for reboot". I know how to handle the
> > first, I didn't know how to handle the second.
> 
> And how do you do that ? I think it is the more difficult and
> problematic of the two.

you configure gnome-session with --with-halt-command=userhalt, and
make userhalt a setuid root program that calls /sbin/halt.

-- 
John Lenton (john@grulic.org.ar) -- Random fortune:
Llámala puta, pero no la llames fea.

Attachment: pgpWAeZ0RIY_w.pgp
Description: PGP signature


Reply to: