File: 01_conf_location.diff

package info (click to toggle)
libpam-unix2 1%3A2.4.1-6
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 1,972 kB
  • sloc: sh: 4,076; ansic: 3,554; makefile: 105; sed: 16
file content (35 lines) | stat: -rw-r--r-- 990 bytes parent folder | download
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");
 }