HP-UX Reference (11i v2 04/09) - 4 File Formats (vol 8)
p
prpwd(4) prpwd(4)
u_numunsuclog
This field contains a count of the number of unsuccessful login attempts to the account.
This field is reset when a successful login to the account occurs.
u_unsuctty This field is a character string that identifies the name of the terminal or remote host
associated with the last unsuccessful login attempt to the account.
u_maxtries This field specifies the maximum number of consecutive unsuccessful login attempts to
the account that are permitted until the account is locked.
u_lock This flag field is used to administratively lock an account. A user cannot login to a locked
account.
Notes
The getprpwent (3) routines are used to parse the protected password database files into a structure that
can used by programs. A flag in the structure indicates whether a particular field in the structure and
hence the field is defined. System default values are also provided in the structure. These values are
derived from the
/tcb/files/auth/system/default
field and can be used by programs in the
absence of a user specific value.
EXAMPLES
The following is an example of a typical protected password database file:
perry:u_name=perry:u_id#101:\
:u_pwd=aZXtu1kmSpEzm:\
:u_minchg#0:u_succhg#653793862:u_unsucchg#622581606:u_nullpw:\
:u_suclog#671996425:u_suctty=tty1:\
:u_unsuclog#660768767:u_unsuctty=tty1:\
:u_maxtries#3:chkent:
This protected password database file is for the user
perry. The user ID for perry
is 101. This value
must match the
/etc/passwd entry for this user. The account has a password and its encrypted form
is specified by the u_pwd field.
The database file specifies a minimum password change time of 0, indicating the password can be
changed at any time. Furthermore, the account is permitted to have a null password (
u_nullpw). The
account has a maximum consecutive unsuccessful login threshold of 3 attempts indicating that the
account will be locked after three failed attempts (
u_maxtries). The remaining fields provide account
information such as the last successful and unsuccessful password change times as well as the last suc-
cessful and unsuccessful login times and terminal names.
AUTHOR
prpwd was developed by HP.
SEE ALSO
login(1), users(1), acceptable_password(3), getprpwent(3), tod(3), authcap(4), default(4).
Section 4−−268 Hewlett-Packard Company − 3 − HP-UX 11i Version 2: September 2004