summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2005-03-02 04:29:23 (GMT)
committerSkip Montanaro <skip@pobox.com>2005-03-02 04:29:23 (GMT)
commitc8c45c25acf1f7662fc6029967625ed03862b975 (patch)
tree796776efac10090289b835c9cbef1bb24f1863ab /Doc
parent4afe154369c1741bcdba1e7d715e0609082dea43 (diff)
downloadcpython-c8c45c25acf1f7662fc6029967625ed03862b975.zip
cpython-c8c45c25acf1f7662fc6029967625ed03862b975.tar.gz
cpython-c8c45c25acf1f7662fc6029967625ed03862b975.tar.bz2
Improve (?) description of system dependence of access to the pw_passwd
field on systems that support shadow passwords.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libpwd.tex7
1 files changed, 5 insertions, 2 deletions
diff --git a/Doc/lib/libpwd.tex b/Doc/lib/libpwd.tex
index c04b463..0c74d26 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: