HP 3PAR StoreServ 7200 2-node HP 3PAR Command Line Interface Reference (OS 3.1 - Page 309
setpassword, Only a user with Super level role can set another user's password.
View all HP 3PAR StoreServ 7200 2-node manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 309 highlights
setpassword DESCRIPTION The setpassword command allows a user with Super level role to change the password for any user and create a password file on a client. Edit-, browse-, or service-level users can use the setpassword command to change their own passwords or save their password files on a client. SYNTAX setpassword [options ] AUTHORITY • Super, Edit, Browse, Service • Any role granted the password_setany right can set any user password. • Any role granted the password_setown right can only set their own password. OPTIONS -save|-saveonly This option cannot be used independently of the -file option. -save Specifies that the password, as specified with the -file option, is saved on both the storage system and on a client of the system. -saveonly Specifies that the password, as specified with the -file option, is only saved on the client. -file Specifies the password file to be saved. The option can be any valid file name in the client system. This option cannot be used independently of the -save or -saveonly options. -u Specifies the login name of the user whose password is being changed. If a login name is not specified, the command defaults to the current user. SPECIFIERS None. RESTRICTIONS • Only a user with Super level role can set another user's password. • Passwords can be no longer than eight non-null characters, and must be at least six non-null characters long. • Using the -saveonly option with the -file option leaves a copy of the encrypted password in the -file argument. This file, if compromised, could allow the user to be impersonated. EXAMPLES The following example shows how to set a user's (user1) password on an storage system and on a client: cli% setpassword -save -file user1 setpassword 309