diff options
author | Steve Langasek <vorlon@debian.org> | 2008-10-15 15:48:22 -0700 |
---|---|---|
committer | Steve Langasek <steve.langasek@ubuntu.com> | 2019-01-03 17:28:28 -0800 |
commit | 929c07f5a9d887e1f58147439f248078fa3493a4 (patch) | |
tree | 3bbc4a4b632abe133270fedfe83c998d366efedf /debian | |
parent | 56f0673e67df64f6059ecb840ff9d707f4eb8004 (diff) |
output a generic pam_permit line if the primary block is empty
Diffstat (limited to 'debian')
-rwxr-xr-x | debian/local/pam-auth-update | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/debian/local/pam-auth-update b/debian/local/pam-auth-update index ddf650ae..fe793ef5 100755 --- a/debian/local/pam-auth-update +++ b/debian/local/pam-auth-update @@ -478,6 +478,13 @@ sub write_profiles } } + # no primary block, so output a stock pam_permit line + if ($i == 0) + { + print OUTPUT "Module: null\n"; + print OUTPUT "required\t\tpam_permit.so\n"; + } + $i = 0; for my $mod (@{$enabled}) { my $output; |