HP-UX Reference (11i v1 00/12) - 1 User Commands N-Z (vol 2)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1/neqn.1
________________________________________________________________
___ ___
p
passwd(1) passwd(1)
-r repository Specify the repository to which the operation is to be applied. Supported repositories
include files, nis, nisplus, and dce. If repository is not specified, the default is
files.
-s name Display some password attributes associated with the specified name. Superuser privilege
and non-trusted mode is required if the files repository is specified. For nisplus,
there are no restrictions.
The format of the display will be:
name status mm/dd/yy min max warn
or, if password aging information is not present
name status
where status PS=passworded; LK=locked; and NP=no password.
-a Display some password attributes for all users in the password file. The -a option must be
used in conjunction with the -s option, with no name specified. For nisplus, this will
display entries in the NIS+ passwd table in the local domain. For files, this is res-
tricted to superuser, and is only valid in non-trusted mode. For a more complete display of
attributes use the command logins -x .
Privileged User Options
A superuser can modify characteristics associated with the user name using the following options:
-d Allow user to login without a password by deleting it. In untrusted mode this
unlocks/activates the user account if found locked/deactivated.
-f Force user to change password upon next login by expiring the current password.
-h Modify the default home directory in the password file.
-l Lock user account. In untrusted mode this replaces the encrypted password with *.
-n min Determine the minimum number of days, min, that must transpire before the user can
change the password.
-w warn Specify the number of days, warn, prior to the password expiring when the user will be
notified that the password needs to be changed. This option is only enabled when the sys-
tem has been converted to a trusted, secure system. Refer to the Managing Systems and
Workgroups manual for how to convert your HP-UX to a trusted, secure system.
-x max Determine the maximum number of days, max, a password can remain unchanged. The
user must enter another password after that number of days has transpired, known as the
password expiration time.
The min and max arguments are each represented in units of days. These arguments will be rounded up to
the nearest week on a nontrusted HP-UX system. If the system is then converted to a trusted system, the
number of days will be based on those weeks. If only one of the two arguments is supplied, then, if the
other one does not exist, it is set to zero.
Password Construction Requirements
Passwords must be constructed to meet the following requirements:
• On an untrusted system, only the first eight characters of a password are significant.
• On an untrusted system, passwords of non-root users must have at least six characters. On a trusted
system, passwords of all users must have at least six characters. This restriction on the password
length can be increased to a value larger than six. Refer to the security(4) manual page for detailed
information on configurable parameters that affect the behavior of this command. The parameter to
select the minimum password length is
MIN_PASSWORD_LENGTH
• Characters must be from the 7-bit US-ASCII character set; letters from the English alphabet.
• A password must contain at least two letters and at least one numeric or special character.
• A password must differ from the user’s login name and any reverse or circular shift of that login
name. For comparison purposes, an uppercase letter and its corresponding lowercase equivalent are
treated as identical.
Section 1−−646 − 2 − HP-UX Release 11i: December 2000
___
___