From a36df58aa78531a4629f90f732be475e9296a842 Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Tue, 18 Jun 2013 16:27:15 +0200 Subject: Use hash from /etc/login.defs as default if no other one is specified as argument. * modules/pam_unix/support.c: Add search_key, call from __set_ctrl * modules/pam_unix/support.h: Add define for /etc/login.defs * modules/pam_unix/pam_unix.8.xml: Document new behavior. * modules/pam_umask/pam_umask.c: Add missing NULL pointer check --- modules/pam_unix/pam_unix.8.xml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'modules/pam_unix/pam_unix.8.xml') diff --git a/modules/pam_unix/pam_unix.8.xml b/modules/pam_unix/pam_unix.8.xml index 0a42d7a3..9ce084e3 100644 --- a/modules/pam_unix/pam_unix.8.xml +++ b/modules/pam_unix/pam_unix.8.xml @@ -81,7 +81,9 @@ The password component of this module performs the task of updating - the user's password. + the user's password. The default encryption hash is taken from the + ENCRYPT_METHOD variable from + /etc/login.defs @@ -392,6 +394,9 @@ session required pam_unix.so SEE ALSO + + login.defs5 + , pam.conf5 , -- cgit v1.2.3