Disable shutdown and reboot options from gnome menu

Olafur Arason olafra at gmail.com
Fri Dec 2 20:19:57 UTC 2005


What is missing, can you shutdown as a normal user, can you do shutdown or halt
or reboot at the command line, can you shutdown in gdm?

Olafur Arason
2005/11/28, João Paulo Sousa <jpaulo at ipb.pt>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Olafur Arason wrote:
>
> > 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
> >>
> >
> Tanks for the responses but none off this solutions solves the problem
> :-( .
>
> - --
> João Paulo
>
>     ESTGM-Instituto Politécnico de Bragança.
>     Dept. Informática e Comunicações.
>     - Telf.: 278201340/278201341 / Fax: 278265733
>     - VoIP (skype): jpps007
>     - icq: 302379809, sip: jpaulo at ipb.pt
>     - mailTo:jpaulo at ipb.pt
>     - Linux User: 402546
>
> ___________________________________________________________________________
>     Por favor considere as suas responsabilidades ambientais:
>
>     Antes de imprimir o e-mail, pergunte a si mesmo se precisa de
> cópia em papel !
>
>     Please consider your environmental responsibility:
>
>     Before printing this e-mail, ask yourself whether you need a hard
> copy !
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iD8DBQFDis/esqEbF7UPA5IRApR6AJ4vm8NEip+5A48RKLOMIrlel1+SUACeMq9G
> FDSIPBcgS9h0a1j9LMy230k=
> =pc/Q
> -----END PGP SIGNATURE-----
>
>
> --
> 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