HP 3PAR InForm OS 3.1.1 Command Line Interface Reference

EXAMPLES
The following example shows how to set a user’s (user1) password on an InServ storage system
and on a client:
cli% setpassword save file <insertfile> user1
The following example displays the prompts encountered when changing a user’s (user1) password:
cli% setpassword u user1
password:
Old password:
NOTES
The format of the entry in the file is <username> <encrypted_password>. This file may
be referenced by the TPDPWFILE environment variable or -pwf command line option for
subsequent commands.
The -save or -saveonly option requires the -file option.
Without any options, the command will prompt to change the invoking user's password on
the system.
Changing a user's password has no effect on SSH access if the user has set a valid key with
the setsshkey command. Until the SSH key is removed the user will not have to provide the
new password.
For additional information about password files, see the InForm OS Concepts Guide and the
InForm OS CLI Administrator’s Manual.
setpassword 313