diff options
author | Sam Hartman <hartmans@debian.org> | 2023-10-27 15:05:40 -0600 |
---|---|---|
committer | Sam Hartman <hartmans@debian.org> | 2023-10-27 15:05:40 -0600 |
commit | 9a173719d3c2f26badfa0457a29f61ca05c89552 (patch) | |
tree | 3b4b3d5a030ce9a2a80f5d7fab913685ee2bd257 /debian/local | |
parent | 1bd966ef03c63bf9af87e147647e4141f6fa8fbf (diff) | |
download | pam-9a173719d3c2f26badfa0457a29f61ca05c89552.tar.gz pam-9a173719d3c2f26badfa0457a29f61ca05c89552.tar.bz2 pam-9a173719d3c2f26badfa0457a29f61ca05c89552.zip |
pam-auth-update: Session-Interactive-Only set to anything other than
yes counts as undefined/no, thanks Lucas Nussbaum, Closes: #982309
Diffstat (limited to 'debian/local')
-rw-r--r-- | debian/local/pam-auth-update | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/local/pam-auth-update b/debian/local/pam-auth-update index ac00b1c9..ca1cb36d 100644 --- a/debian/local/pam-auth-update +++ b/debian/local/pam-auth-update @@ -735,7 +735,7 @@ sub parse_pam_profile } } close(PROFILE); - if (!defined($profile{'Session-Interactive-Only'})) { + if (!defined($profile{'Session-Interactive-Only'}) or $profile{'Session-Interactive-Only'} ne 'yes') { $profile{'Session-noninteractive-Type'} = $profile{'Session-Type'}; $profile{'Session-noninteractive'} = $profile{'Session'}; $profile{'Session-noninteractive-Initial'} = $profile{'Session-Initial'}; |