diff options
-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; |