Files
xrdp/instfiles/pam.d/xrdp-sesman.redhat
T
BLINDAUER Emmanuel 2af2e032c3 Add the loginuid pam module, as we are starting a session.
So /proc/<uid>/loginuid will be filled by the uid of the user.
This will fix entries in 'last' with "gone - no logout" instead of
'still logged in'
2024-02-20 17:37:11 +00:00

9 lines
241 B
Plaintext

#%PAM-1.0
auth include password-auth
account include password-auth
# Set the loginuid process attribute.
session required pam_loginuid.so
session include password-auth
password include password-auth