Gentoo Archives: gentoo-user

From: covici@××××××××××.com
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] gnome login panel how to disable restart and shutdown buttons
Date: Mon, 26 Apr 2010 19:31:48
Message-Id: 11521.1272310264@ccs.covici.com
In Reply to: Re: [gentoo-user] gnome login panel how to disable restart and shutdown buttons by Jonathan
1 Jonathan <winelauncher.jonathan@××××××××××.com> wrote:
2
3 > On Mon, 26 Apr 2010 05:06:53 -0400
4 > covici@××××××××××.com wrote:
5 >
6 > > Using gdm when I am at the login screen there are two buttons --
7 > > restart and shutdown and if you push one by accident it does the action
8 > > without asking for any kind of password or any authentication at all --
9 > > how do I fix this, seems like a big security hole to me.
10 > >
11 > > Thanks.
12 >
13 > Build gnome with the policykit flag set. Then you need to give permission to the user to shutdown or restart.
14 > I do not know about GDM.
15 >
16 > Have you looked in gconf-editor for a setting?
17
18 I did not look in gconf editor, and gdm at least, is compiled with the
19 policykit use flag, so I am not sure where to go with this. Where would
20 I look in gconf?
21
22 --
23 Your life is like a penny. You're going to lose it. The question is:
24 How do
25 you spend it?
26
27 John Covici
28 covici@××××××××××.com