Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Disable Reboot and Shutdown in GDM/Gnome
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
musv
Advocate
Advocate


Joined: 01 Dec 2002
Posts: 3237
Location: de

PostPosted: Tue Feb 19, 2019 4:44 pm    Post subject: Disable Reboot and Shutdown in GDM/Gnome Reply with quote

Hi there,

at work we have a few server, which need a graphical environment. Therefore a minimal Gnome and GDM are installed.

Both Gnome and GDM provide a symbol with a shutdown dialog, in which a user an reboot or shutdown the machine. On a server this is not a desireable goal. Is there a way to remove/disable the reboot and shutdown ability for ordinary users?

gsettings list-recursively org.gnome.login-screen:

org.gnome.login-screen fallback-logo ''
org.gnome.login-screen disable-user-list false
org.gnome.login-screen allowed-failures 3
org.gnome.login-screen enable-smartcard-authentication false
org.gnome.login-screen banner-message-enable false
org.gnome.login-screen enable-password-authentication true
org.gnome.login-screen disable-restart-buttons false
org.gnome.login-screen logo '/usr/share/pixmaps/fedora-gdm-logo.png'
org.gnome.login-screen enable-fingerprint-authentication false
org.gnome.login-screen banner-message-text ''


I tried:
Code:
gsettings set org.gnome.login-screen disable-restart-buttons true

(process:47621): dconf-WARNING **: 17:41:13.670: failed to commit changes to dconf: The connection is closed.


Is there a way to disable reboot/shutdown for users in Gnome?
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5802

PostPosted: Wed Feb 20, 2019 2:04 am    Post subject: Reply with quote

I believe you can change these with dconf-editor, but in theory you could just change them back so its basically security through obscurity. 8)
_________________
overlay | patches
Neddyseagoon wrote:
The problem with leaving is that you can only do it once and it reduces your influence.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum