Q. I’ve a central Linux test server. It has GDM based GUI login screen. How do I remove both shutdown and reboot server options from the login screen?
A. GDM is gnome specific display manager. It is a display manager that implements all significant features required for managing attached and remote displays. GDM is highly configurable, and many configuration settings can affect security. The GDM daemon is responsible for managing displays on the system. This includes authenticating users, starting the user session, and terminating the user session.
GUI tool gdmsetup
The gdmsetup application can be used to configure GDM. Open terminal and type the command:
$ sudo gdmsetup
Select “Local” tab > unselect “Show Actions menu” > Close
Note: You can start gdmsetup by visiting System > Administration > Login Screen / Login Windows. You can also modify configuration file stored at /etc/gdm/ directory.
🐧 4 comments so far... add one ↓
Category | List of Unix and Linux commands |
---|---|
File Management | cat |
Firewall | Alpine Awall • CentOS 8 • OpenSUSE • RHEL 8 • Ubuntu 16.04 • Ubuntu 18.04 • Ubuntu 20.04 |
Network Utilities | dig • host • ip • nmap |
OpenVPN | CentOS 7 • CentOS 8 • Debian 10 • Debian 8/9 • Ubuntu 18.04 • Ubuntu 20.04 |
Package Manager | apk • apt |
Processes Management | bg • chroot • cron • disown • fg • jobs • killall • kill • pidof • pstree • pwdx • time |
Searching | grep • whereis • which |
User Information | groups • id • lastcomm • last • lid/libuser-lid • logname • members • users • whoami • who • w |
WireGuard VPN | Alpine • CentOS 8 • Debian 10 • Firewall • Ubuntu 20.04 |
hi dear i m facing a problem .I have install Red Hat Enterprise Linux 5 .and when i want to connect from xmanager 2.1 from my labtop its showing me a msg “System Administrator is not allowed to login in this Screen” more surprising i can connect any other user except “root”.Root is not allowed.I have enable the gdm and done all other things
But the user can still hit F10 and get all the options. Is there a way to disable F10 at the login screen?
edit the file /etc/ssh/sshd_config, in this file, set the parameter of PermitRootLogin to yes(it may be set to no). this will allow you to login via network as root. further info, kcmakwana@rediffmail.com
Where is the answer for the question man……He asked u how to disable shutdown, reboot options from login screen…but u replied him how to change the login theme….what a craze….