From f4c836a0a7917a2c41a20625263cf19912f8a399 Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Mon, 27 Jul 2009 16:15:58 +0200 Subject: 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. --- debian/libpam-runtime.templates | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'debian/libpam-runtime.templates') 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. -- cgit v1.2.3