GDM: /sbin/nologin does not prevent user to login to a graphical session
Issue
- A user is still able to login via GNOME Display Manager after setting
login shell
to/sbin/nologin
.
Environment
- Red Hat Enterprise Linux (RHEL) 8.0
- GNOME Display Manager (gdm-3.28.3-20.el8.x86_64)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.