ghoneycutt / puppet-module-pam

Puppet module to manage PAM
Other
18 stars 79 forks source link

Missing entries in pam.d/sshd for Ubuntu 16 #241

Closed gnobironts closed 3 years ago

gnobironts commented 3 years ago

The /etc/pam.d/sshd file generated for Ubuntu 16.04 are missing these two lines compared to default:

# Print the status of the user's mailbox upon successful login.
session    optional     pam_mail.so standard noenv # [1]

# Read environment variables from /etc/environment and
# /etc/security/pam_env.conf.
session    required     pam_env.so # [1]

This PR fixes this.

Templates for Ubuntu 18 and Ubuntu 20 are already ok.

ghoneycutt commented 3 years ago

Thanks! These options likely came in a later release from when this was made.