passwd.1 (2010 09)

p
passwd(1) passwd(1)
The system administrator can enable the password history feature to discourage users from reusing pre-
viously used passwords. Refer to the security (4) manual page for detailed information on configurable
attributes that affect the behavior of this command. The attribute for password history is:
PASSWORD_HISTORY_DEPTH
EXTERNAL INFLUENCES
International Code Set Support
Characters from single-byte character code sets are supported in passwords.
EXAMPLES
Change the password expiration date of
user
to 42 days in the files repository:
passwd -r files -x 42 user
Force user2 to establish a new password on the next login which will expire in 70 days and prohibit the
user from changing the password until 7 days have transpired:
passwd -r files -f -x 70 -n 7 user2
DEPENDENCIES
Pluggable Authentication Modules (PAM)
PAM is an Open Group standard for user authentication, password modification, and account validation.
In particular, pam_chauthtok()
is invoked to perform all functions related to passwd. This includes
establishing and changing a password, using
passwd options, and displaying error messages.
WARNINGS
Avoid password characters which have special meaning to the tty driver, such as # (erase) and @ (kill).
You may not be able to login with these characters.
Multiple superusers are allowed, but are strongly discouraged. That is because the system often stores
user ID rather than user name. Having unique IDs for all users will guarantee a consistent mapping
between user name and user ID.
HP-UX 11i Version 3 is the last release to support trusted systems functionality.
FILES
/etc/passwd Standard password file used by HP-UX.
/etc/shadow Shadow password file.
/tcb/files/auth/*/*
Protected password database used when system is converted to
trusted system.
/etc/nsswitch.conf
Repository Configuration.
/etc/default/security
Security defaults configuration file.
/etc/default/DO_NOT_ROUND_PW_AGING
If patch PHCO_36523 or later is installed, do not round password
aging values on systems using shadow passwords.
SEE ALSO
chfn(1), id(1), login(1), su(1), logins(1M), pwconv(1M), auth.adm(1M), getuid(2), crypt(3C), passwd(4),
security(4), shadow(4), auth(5), auth.dce(5), rbac(5).
HP-UX System Administrator’s Guide
Pluggable Authentication Modules (PAM)
pam(3), pam_chauthtok(3), pam.conf (4), pam_user.conf(4).
HP-UX Smart Card Login
scpin (1), scsync (1).
STANDARDS CONFORMANCE
passwd: SVID2, SVID3, XPG2
HP-UX 11i Version 3: September 2010 5 Hewlett-Packard Company 5