From: Skip Montanaro Date: Wed, 2 Mar 2005 04:29:23 +0000 (+0000) Subject: Improve (?) description of system dependence of access to the pw_passwd X-Git-Tag: v2.5a0~1988 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c8c45c25acf1f7662fc6029967625ed03862b975;p=python Improve (?) description of system dependence of access to the pw_passwd field on systems that support shadow passwords. --- diff --git a/Doc/lib/libpwd.tex b/Doc/lib/libpwd.tex index c04b463e7a..0c74d2655e 100644 --- a/Doc/lib/libpwd.tex +++ b/Doc/lib/libpwd.tex @@ -29,9 +29,12 @@ The uid and gid items are integers, all others are strings. contains a password encrypted with a DES derived algorithm (see module \refmodule{crypt}\refbimodindex{crypt}). However most modern unices use a so-called \emph{shadow password} system. On those unices the -field \code{pw_passwd} only contains a asterisk (\code{'*'}) or the +\var{pw_passwd} field only contains an asterisk (\code{'*'}) or the letter \character{x} where the encrypted password is stored in a file -\file{/etc/shadow} which is not world readable.} +\file{/etc/shadow} which is not world readable. Whether the \var{pw_passwd} +field contains anything useful is system-dependent. If available, the +\module{spwd} module should be used where access to the encrypted password +is required.} It defines the following items: