Disable shutdown and reboot options from gnome menu

Olafur Arason olafra at gmail.com
Thu Nov 24 14:56:16 UTC 2005


When you have followed the gdm and ctrl alt del instructions.
You have to then do the following:
sudo chgrp admin /sbin/halt /sbin/shutdown
sudo chmod 550 /sbin/halt /sbin/shutdown
do:
sudo gedit /etc/gconf/gconf.xml.mandatory/apps/gnome-session/options/%gconf.xml
and copy this into it
<?xml version="1.0"?>
<gconf>
        <entry name="logout_prompt" mtime="1132842782" type="bool" value="true">
        </entry>
        <entry name="logout_option" mtime="1132842794" type="string">
                <stringvalue>logout</stringvalue>
        </entry>
</gconf>


2005/11/24, D.Personne <heliotopik at wanadoo.fr>:
> Le jeudi 24 novembre 2005 à 12:04 +0100, Christian Eichert a écrit :
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > D.Personne wrote:
> > > Le jeudi 24 novembre 2005 à 09:54 +0000, João Paulo Sousa a écrit :
> > >
> > >>-----BEGIN PGP SIGNED MESSAGE-----
> > >>Hash: SHA1
> > >>
> > >>Hello,
> > >>
> > >>I have configured the xorg to allow multiplies users in one linux
> > >>machine (like Userful application).
> > >>
> > >>But i have one problem that a user can shutdown the machine. I only
> > >>allow the users to close the session.
> > >>
> > >>Who i make to disable the shutdown and reboot options from gnome menu
> > >>to all users.
> > >
> > >
> > > Hi,
> > > You can temporarily disable their entries in the menu. Use the smeg
> > > (simple menu editing) app.
> > >
> >
> > there is no shutdown entry in smeg
> >
> > remove the administrator rights in user administration
>
>
>
> Found this:
> https://www.redhat.com/archives/fedora-list/2005-August/msg01903.html
>
> Hope it helps.
>
>
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>




More information about the ubuntu-users mailing list