mirror of https://github.com/neutrinolabs/xrdp
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'
This commit is contained in:
parent
eaffeaf53f
commit
2af2e032c3
|
@ -9,6 +9,8 @@ auth required pam_env.so readenv=1 envfile=/etc/default/locale
|
|||
|
||||
@include common-password
|
||||
|
||||
# Set the loginuid process attribute.
|
||||
session required pam_loginuid.so
|
||||
@include common-session
|
||||
-session optional pam_gnome_keyring.so auto_start
|
||||
-session optional pam_kwallet5.so auto_start
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
#%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
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
#%PAM-1.0
|
||||
auth include common-auth
|
||||
account include common-account
|
||||
|
||||
# Set the loginuid process attribute.
|
||||
session required pam_loginuid.so
|
||||
session include common-session
|
||||
password include common-password
|
||||
|
|
Loading…
Reference in New Issue