Restricting logout options?
andrew at alangdondavies.es
Thu Feb 25 21:41:16 CET 2010
Mark Knecht wrote:
> On Thu, Feb 25, 2010 at 12:02 PM, David Mohr <squisher at xfce.org> wrote:
>> On Thu, Feb 25, 2010 at 12:38 PM, Mark Knecht <markknecht at gmail.com> wrote:
>>> My wife's desktop died and for the short term we decided to move
>>> her account to my MythTV backend server box. I don't see much problem
>>> doing this - it's almost done in fact - but one risk is that she or
>>> the kid will make a mistake logging out where they hit one of the
>>> shutdown options instead of just logging out. If they make that
>>> mistake then recordings will get missed or broken up.
>>> I'm wondering if there is something in the settings area that would
>>> allow me to remove everything except a plain log out? The other 4
>>> (shutdown/restart/suspend/hibernate) are all problematic.
>> All these options require privileges. Most distros use policykit for
>> this, so you can edit its configuration to not allow them for
>> If it still works, make sure that sudo is not also configured to allow logout.
> Interesting. Thanks David. I'm Gentoo based and it's not installed so
> maybe it's getting done differently here, but at least I've got
> something to focus on.
> Xfce mailing list
> Xfce at xfce.org
On my system (Slackware) only members of 'power' group can power off.
More information about the Xfce