security login password
- PDF of this doc site
Collection of separate PDF docs
Creating your file...
Modify a password for a user
Availability: This command is available to cluster and Vserver administrators at the admin privilege level.
Description
The security login password
command resets the password for a specified user. The command prompts you for the user's old and new password.
Parameters
-vserver <vserver name>
- Vserver-
This optionally specifies the Vserver name of the login method.
-username <text>
- Username-
This optionally specifies the user name whose password is to be changed. If you do not specify a user, the command defaults to the user name you are currently using.
Examples
The following command initiates a password change for the 'admin' user account of the 'vs' Vserver.
cluster1::> security login password -username admin -vserver vs
The following command initiates a password change for the 'vs' Vserver user account named 'admin'. The new password will be encrypted by using the SHA512 password-hashing algorithm.
cluster1::*> security login password -username admin -vserver vs -hash-function sha512
The following command initiates a password change for the 'vs' Vserver user account named 'admin'. The new password will be encrypted by using the SHA256 password-hashing encryption algorithm.
cluster1::*> security login password -username admin -vserver vs -hash-function sha256