Skip to main content

Changing local user account passwords

You can change a local user's account password. This can be useful if the user's password is compromised or if the user has forgotten the password.

Change the password by performing the appropriate action: vserver cifs users-and-groups local-user set-password -vserver vserver_name -user-name user_name

Example

The following example sets the password for the local user CIFS_SERVER\sue associated with storage virtual machine (SVM, formerly known as Vserver) vs1:

cluster1::> vserver cifs users-and-groups local-user set-password 
-user-name CIFS_SERVER\sue -vserver vs1

Enter the new password:
Confirm the new password: