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

Re: shutdown from within gnome



On Tue, 2003-08-12 at 20:17, Christian Marillat wrote:
> James Strandboge <jstrand1@rochester.rr.com> writes:
> 
> > On Tue, 2003-08-12 at 13:38, John R Lenton wrote:
> >> WRT the thread on gnome's logout dialog showing reboot etc, it seems
> >> what is needed is e.g. /etc/pam.d/reboot.
> >> 
> >> Ref:
> >> https://listman.redhat.com/archives/psyche-list/2003-April/msg00272.html
> >
> > See:
> > http://bugzilla.gnome.org/show_bug.cgi?id=114432
> >
> > for a possible solution (patch is available in the report).
> 
> Not really insteresting if you need to type the root password in gksu.

That is but one solution.  You can add whatever authentication mechanism
you want into the shutdown and reboot scripts.  They could read a file
for allowed users, do a pam check, use sudo, whatever.  The idea is to
allow more than just redhat users the chance to have shutdown and reboot
options.  The patch lets system admins customize it, or distributions to
develop a policy for it.

All that said, I think using gksu is an interesting fallback mechanism--
eg try an automatic authentication, but if that doesn't work, use gksu.

Jamie

-- 
Email:        jstrand1@rochester.rr.com
GPG/PGP ID:   26384A3A
Fingerprint:  D9FF DF4A 2D46 A353 A289  E8F5 AA75 DCBE 2638 4A3A



Reply to: