# PAM configuration for lamco-rdp-server (Fedora/RHEL)
#
# This file should be installed to /etc/pam.d/lamco-rdp-server
#
# Remote logins use authselect's password-auth stack, as sshd does.
# system-auth is for local logins and can include pam_fprintd or
# pam_sss smartcard prompts, which would wait on the local reader.
#
# The server only authenticates the desktop owner and checks the account;
# it opens no PAM session and changes no passwords, so no session or
# password lines are needed.

auth       required     pam_env.so
auth       substack     password-auth
auth       include      postlogin

account    required     pam_nologin.so
account    include      password-auth
