Add pam_motd to the PAM stack

This will allow Cockpit to update /etc/motd.d/cockpit with
information informing the user of the location of the admin console
on the system if it is available.

Resolves: rhbz#1591381
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
This commit is contained in:
Stephen Gallagher 2018-06-14 11:26:16 -04:00
parent 04ca5e7b0b
commit 4ef6823ff4
No known key found for this signature in database
GPG Key ID: 7A25556236BAA3A3

View File

@ -12,5 +12,6 @@ session required pam_loginuid.so
session required pam_selinux.so open env_params
session required pam_namespace.so
session optional pam_keyinit.so force revoke
session optional pam_motd.so
session include password-auth
session include postlogin