Improve (?) description of system dependence of access to the pw_passwd

field on systems that support shadow passwords.
This commit is contained in:
Skip Montanaro 2005-03-02 04:29:23 +00:00
parent 4afe154369
commit c8c45c25ac
1 changed files with 5 additions and 2 deletions

View 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 contains a password encrypted with a DES derived algorithm (see module
\refmodule{crypt}\refbimodindex{crypt}). However most modern unices \refmodule{crypt}\refbimodindex{crypt}). However most modern unices
use a so-called \emph{shadow password} system. On those unices the 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 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: It defines the following items: