
password(8)
System Administration
105
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.
Summary of Contents for SPARC Enterprise M3000
Page 1: ......
Page 2: ......
Page 6: ......
Page 12: ......
Page 24: ...xviii SPARC Enterprise Mx000 Servers XSCF Reference Manual July 2010 ...
Page 32: ...Intro 8 8 SPARC Enterprise Mx000 Servers XSCF Reference Manual Last Revised July 2010 ...
Page 36: ...addboard 8 12 SPARC Enterprise Mx000 Servers XSCF Reference Manual Last Revised August 2009 ...
Page 42: ...addfru 8 18 SPARC Enterprise Mx000 Servers XSCF Reference Manual Last Revised September 2008 ...
Page 60: ...clockboard 8 36 SPARC Enterprise Mx000 Servers XSCF Reference Manual Last Revised April 2010 ...
Page 82: ...dumpconfig 8 58 SPARC Enterprise Mx000 Servers XSCF Reference Manual Last Revised August 2009 ...
Page 86: ...exit 1 62 SPARC Enterprise Mx000 Servers XSCF Reference Manual Last Revised January 2007 ...
Page 142: ...poweron 8 118 SPARC Enterprise Mx000 Servers XSCF Reference Manual Last Revised August 2009 ...
Page 154: ...reset 8 130 SPARC Enterprise Mx000 Servers XSCF Reference Manual Last Revised August 2009 ...
Page 172: ...sendbreak 8 148 SPARC Enterprise Mx000 Servers XSCF Reference Manual Last Revised August 2009 ...
Page 180: ...setad 8 156 SPARC Enterprise Mx000 Servers XSCF Reference Manual Last Revised February 2010 ...
Page 198: ...setcod 8 174 SPARC Enterprise Mx000 Servers XSCF Reference Manual Last Revised July 2010 ...
Page 202: ...setdate 8 178 SPARC Enterprise Mx000 Servers XSCF Reference Manual Last Revised February 2010 ...
Page 208: ...setdcl 8 184 SPARC Enterprise Mx000 Servers XSCF Reference Manual Last Revised September 2008 ...
Page 296: ...setroute 8 272 SPARC Enterprise Mx000 Servers XSCF Reference Manual Last Revised April 2010 ...
Page 302: ...setsmtp 8 278 SPARC Enterprise Mx000 Servers XSCF Reference Manual Last Revised August 2009 ...
Page 322: ...setssh 8 298 SPARC Enterprise Mx000 Servers XSCF Reference Manual Last Revised August 2009 ...
Page 346: ...showad 8 322 SPARC Enterprise Mx000 Servers XSCF Reference Manual Last Revised November 2009 ...
Page 444: ...showlocale 8 420 SPARC Enterprise Mx000 Servers XSCF Reference Manual Last Revised March 2008 ...
Page 482: ...showntp 8 458 SPARC Enterprise Mx000 Servers XSCF Reference Manual Last Revised November 2009 ...
Page 502: ...showsnmp 8 478 SPARC Enterprise Mx000 Servers XSCF Reference Manual Last Revised January 2007 ...
Page 510: ...showssh 8 486 SPARC Enterprise Mx000 Servers XSCF Reference Manual Last Revised August 2009 ...
Page 558: ...who 1 534 SPARC Enterprise Mx000 Servers XSCF Reference Manual Last Revised January 2007 ...
Page 559: ......
Page 560: ......