path: root/debian/libpam-runtime.templates
diff options
authorSteve Langasek <>2009-07-27 16:15:58 +0200
committerSteve Langasek <>2019-01-08 19:41:59 -0800
commitf4c836a0a7917a2c41a20625263cf19912f8a399 (patch)
tree2a98fa9e28df7f2890a938badc0dda37a0f77cc7 /debian/libpam-runtime.templates
parent535cd44225f00c8092854e986692f742fef284f7 (diff)
When no profiles are chosen in pam-auth-update, throw an error message
and prompt again instead of letting the user end up with an insecure system. This introduces a new debconf template. Closes: #519927.
Diffstat (limited to 'debian/libpam-runtime.templates')
1 files changed, 6 insertions, 0 deletions
diff --git a/debian/libpam-runtime.templates b/debian/libpam-runtime.templates
index a5f879db..1195d9e5 100644
--- a/debian/libpam-runtime.templates
+++ b/debian/libpam-runtime.templates
@@ -35,3 +35,9 @@ _Description: Override local changes to /etc/pam.d/common-*?
decline this option, you will need to manage your system's
authentication configuration by hand.
+Template: libpam-runtime/no_profiles_chosen
+Type: error
+_Description: No PAM profiles have been selected.
+ No PAM profiles have been selected for use on this system. This would grant
+ all users access without authenticating, and is not allowed. Please select
+ at least one PAM profile from the available list.