HP-UX Reference (11i v3 07/02) - 4 File Formats (vol 8)
p
prpwd(4) prpwd(4)
(TO BE OBSOLETED)
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 successful and unsuccess-
ful login times and terminal names.
WARNINGS
HP-UX 11i Version 3 is the last release to support trusted systems functionality.
AUTHOR
prpwd was developed by HP.
SEE ALSO
login(1), users(1), getprpwent(3), authcap(4), default(4).
336 Hewlett-Packard Company − 3 − HP-UX 11i Version 3: February 2007