]> granicus.if.org Git - python/commitdiff
Improve (?) description of system dependence of access to the pw_passwd
authorSkip Montanaro <skip@pobox.com>
Wed, 2 Mar 2005 04:29:23 +0000 (04:29 +0000)
committerSkip Montanaro <skip@pobox.com>
Wed, 2 Mar 2005 04:29:23 +0000 (04:29 +0000)
field on systems that support shadow passwords.

Doc/lib/libpwd.tex

index c04b463e7a28b23dbb9cb862a04d422f1e9ed9c6..0c74d2655ea0eaf2b766efdea27ced93cb84e976 100644 (file)
@@ -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: