[Pkg-shadow-commits] r1203 - in trunk/debian: . patches

nekral-guest at alioth.debian.org nekral-guest at alioth.debian.org
Tue Jun 19 10:50:11 UTC 2007


Author: nekral-guest
Date: 2007-06-19 10:50:11 +0000 (Tue, 19 Jun 2007)
New Revision: 1203

Added:
   trunk/debian/patches/411_chpasswd_document_no_pam
Modified:
   trunk/debian/changelog
   trunk/debian/patches/series
Log:
Document that chpasswd foes not use PAM. Closes: #396726


Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2007-06-18 21:15:06 UTC (rev 1202)
+++ trunk/debian/changelog	2007-06-19 10:50:11 UTC (rev 1203)
@@ -9,6 +9,10 @@
     - 201_fix_man_su_fr: fix translation error in french translation for su(1)
     - 202_it_man_uses_gettext: switch italian manpages to gettext. This will
       fix missing paragraphs in translated manpages. Closes: #425689
+    - 411_chpasswd_document_no_pam: Document that chgpasswd do not use PAM to
+      update the passwords. Thus functionnalities provided by PAM modules are
+      not present in chgpasswd (e.g. writting the old password in
+      /etc/security/opasswd). Closes: #396726
   * Debian packaging fixes:
     - 506_relaxed_usernames: do not allow spaces in usernames. This was at
       least broken with username starting with a space or tabulation (the user

Added: trunk/debian/patches/411_chpasswd_document_no_pam
===================================================================
--- trunk/debian/patches/411_chpasswd_document_no_pam	                        (rev 0)
+++ trunk/debian/patches/411_chpasswd_document_no_pam	2007-06-19 10:50:11 UTC (rev 1203)
@@ -0,0 +1,26 @@
+Goal: Document that chpasswd foes not use PAM.
+Fixes: #396726
+
+Status wrt upstream: Not reported yet.
+
+Note: Even when PAM support is activated in chpasswd, this patch is valid. The
+PAM support is only for the authentication of the caller.
+
+Index: shadow-4.0.18.1/man/chpasswd.8.xml
+===================================================================
+--- shadow-4.0.18.1.orig/man/chpasswd.8.xml	2007-06-19 11:43:16.000000000 +0100
++++ shadow-4.0.18.1/man/chpasswd.8.xml	2007-06-19 11:47:10.000000000 +0100
+@@ -79,6 +79,13 @@
+       Remember to set permissions or umask to prevent readability of
+       unencrypted files by other users.
+     </para>
++    <para>
++      <command>chpasswd</command> does not use PAM to update the passwords.
++      Thus, It only updates the passwords from the
++      <filename>/etc/passwd</filename> and <filename>/etc/shadow</filename>
++      databases, and does not support the various checks provided by PAM
++      modules.
++    </para>
+   </refsect1>
+ 
+   <refsect1 id='see_also'>

Modified: trunk/debian/patches/series
===================================================================
--- trunk/debian/patches/series	2007-06-18 21:15:06 UTC (rev 1202)
+++ trunk/debian/patches/series	2007-06-19 10:50:11 UTC (rev 1203)
@@ -59,3 +59,4 @@
 303_wording_fixes_in_su_man
 201_fix_man_su_fr
 202_it_man_uses_gettext
+411_chpasswd_document_no_pam




More information about the Pkg-shadow-commits mailing list