From 8fc424edae1212a89979b2cd9b5f66796ae9e7bc Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Wed, 15 Oct 2008 16:52:36 -0700 Subject: skip over the 'deny' in our no-primary-modules case --- debian/local/pam-auth-update | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'debian') diff --git a/debian/local/pam-auth-update b/debian/local/pam-auth-update index 214a931a..07f70273 100755 --- a/debian/local/pam-auth-update +++ b/debian/local/pam-auth-update @@ -317,7 +317,7 @@ sub create_from_template # to keep the stack intact if ($val eq 'Primary' && $count == 0) { - print OUTPUT "$type\trequired\t\t\tpam_permit.so\n"; + print OUTPUT "$type\t[default=1]\t\t\tpam_permit.so\n"; } $i = 0; @@ -484,7 +484,7 @@ sub write_profiles if ($i == 0) { print OUTPUT "Module: null\n"; - print OUTPUT "required\t\t\tpam_permit.so\n"; + print OUTPUT "[default=1]\t\t\tpam_permit.so\n"; } $i = 0; -- cgit v1.2.3