Sun Microsystems 5602 用户手册

下载
页码 324
A – Command Line Interface
Passwd Command
59097-01 A
A-41
0
Passwd Command
Changes a user account’s password.
Authority
Admin account name and an admin session to change another account’s 
password; You can change you own password without an Admin session.
Syntax
passwd [account_name]
Keywords
[account_name]
The user account name. To change the password for an account name other than 
your own, you must open an admin session with the account name Admin. If you 
omit [account_name], you will be prompted to change the password for the 
current account name.
Examples
The following is an example of the Passwd command:
SANbox Manager (admin) #> passwd user2
      Press 'q' and the ENTER key to abort this command.
  account OLD password               : ********
  account NEW password (8-20 chars)  : ********
  please confirm account NEW password: ********
  password has been changed.