beautypg.com

FUJITSU SPARC ENTERPRISE M9000 User Manual

Page 131

background image

password(8)

System Administration

107

OPERANDS

The following operands are supported:

EXAMPLES

EXAMPLE 1

Enabling Password Until February 2, 2008

EXAMPLE 2

Set Password Lock 10 Days After Password Expiration

EXIT STATUS

The following exit values are returned:

SEE ALSO

setpasswordpolicy(8)

, showpasswordpolicy(8)

-M

maxdays

Sets the maximum number of days that a password is valid.
This value is assigned to new user accounts when they are
created. The initial value is 999999.

Valid values are integers with value of 0 - 999999999.

-n

mindays

Sets the minimum number of days between password
changes. An initial value of zero for this field indicates that
you can change the password at any time.

Valid values are integers with value of 0 - 999999999.

This value is assigned to new user accounts when they are
created.

-w

warn

Sets the default number of days before password expiration
at which to start warning the user. This value is assigned to
new user accounts when they are created. The initial value is
7

.

Valid values are integers with value of 0 - 999999999.

user

Specifies a valid user name.

XSCF>

password -e 2008-02-02

XSCF>

password -i 10

0

Successful completion.

>0

An error occurred.