Password – FUJITSU M8000 User Manual
Page 119
password(8)
System Administration
97
NAME
password - manage user passwords and expiration settings
SYNOPSIS
password
[-e days| date|Never] [-i inactive] [-M maxdays] [-n mindays] [-w
warn] [ user]
password -h
DESCRIPTION
password
(8) changes a user’s password and password expiration settings.
The password is specified in up to 32 characters. The following characters are valid:
1. abcdefghijklmnopqrstuvwxyz
2. ABCDEFGHIJKLMNOPQRSTUVWXYZ
3. 0123456789
4. !@#$%^&*[]{}()-+=‘~,>'’?;:[SPACE]
When invoked with one or more options, password will make changes to the
expiration settings of the account. See setpasswordpolicy(8) for a description of
default values.
When invoked without options, password prompts you to change the account
password.
When invoked without a user operand, password operates on the current user
account.
Caution –
When you change the password for another user by using the user
operand, the system password policy is not enforced. The user operand is intended
only for creating a new user’s initial password or replacing a lost or forgotten
password for a user account. When changing another user’s password, be sure to
choose a password that conforms with the system password policy. You can display
the current password policy settings with the showpasswordpolicy(8) command.
Whether the user name is specified or not, the account must be local. password
returns an error if it is not local.
Privileges
You must have one of the following privileges to run this command:
No privileges are required in the following cases:
■
To change the password for the current user account
■
To use the -h option
useradm
Can run this command with or without any options or operand.
Can change the password for any account.