1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
  
     | 
    
      Description: Change upstream /etc/default/passwd to the more Debian/FHS-friendly.
Author: Ivan Kohler <ivan-debian@420.am>
Last-Update: 2012-01-11
--- a/doc/pam_unix2.8
+++ b/doc/pam_unix2.8
@@ -18,7 +18,7 @@
 .PP
 The options can be added in the PAM configuration files for every
 single service.
-.B /etc/default/passwd
+.B /etc/security/pam_unix2.default
 defines, which password encryption algorithm should be used in case of a
 password change.
 .SH OPTIONS
@@ -93,7 +93,7 @@
 and login expire are ignored, only on aging warning is printed. If no
 shadow information exists, it always returns success.
 .SH FILES
-/etc/default/passwd
+/etc/security/pam_unix2.default
 .SH "SEE ALSO"
 .BR login (1),
 .BR passwd (1),
--- a/src/logindefs.c
+++ b/src/logindefs.c
@@ -155,7 +155,7 @@
 static void
 load_defaults (void)
 {
-  load_defaults_internal ("/etc/default/passwd");
+  load_defaults_internal ("/etc/security/pam_unix2.default");
   load_defaults_internal ("/etc/login.defs");
 }
 
 
     |