3PAR InForm® OS 2.3.1 CLI Reference (320-200166 Rev B, March 2010)

21.52
Command Line Interface Reference InForm OS Version 2.3.1
SPECIFIERS
None.
RESTRICTIONS
Only a user with Super level privileges 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.
EXAMPLES
The following example shows how to set a user’s (user1) password on an InServ storage
system and on a client:
The following example displays the prompts encountered when changing a user’s (
user1)
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 InServ 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.
cli% setpassword –save –file <insertfile> user1
cli% setpassword –u user1
password:
Old password: