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'
9 lines
183 B
Plaintext
9 lines
183 B
Plaintext
#%PAM-1.0
|
|
@include common-auth
|
|
@include common-account
|
|
|
|
# Set the loginuid process attribute.
|
|
session required pam_loginuid.so
|
|
@include common-session
|
|
@include common-password
|