summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorSteve Langasek <vorlon@debian.org>2008-10-15 16:52:36 -0700
committerSteve Langasek <steve.langasek@ubuntu.com>2019-01-03 17:28:28 -0800
commit8fc424edae1212a89979b2cd9b5f66796ae9e7bc (patch)
tree0420b81f6c1d71a32896e1a99705c09dd3c31ea6 /debian
parenta7f2901ac4dcb4f54f6193935d19c5443d3443ca (diff)
skip over the 'deny' in our no-primary-modules case
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/local/pam-auth-update4
1 files changed, 2 insertions, 2 deletions
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;