Skip to content

change-password

Change your password. Be sure to use the password as the authentication factor (argument -p). Using another authentication factor, such as an authentication token, will not work.

note

It is not possible to change the password of an external authentication domain.

Syntax:

Command OptionsRequired/OptionalDescription
-nRequiredThe new password.
shell
sfiler [options] change-password -n <new_password>

Exemples:

"my-user" user password modification :

shell
sfiler.exe -l "my-user" -p "my-password" -s https://www.sfiler.com/sfiler/server/ change-password -n "my-new-password"

If the "my-user" user's password does not comply with the password policy, an error will be displayed:

shell
sfiler.exe -l "my-user" -p "my-password" -s https://www.sfiler.com/sfiler/server/ change-password -n "a"

The new password does not meet the password policy requirements.
INVALIDE: Password must be at least 8 character(s) long
VALIDE: This password has not been used recently