account resetPassword

Resets the password for the specified account using the password recovery token.

SYNOPSIS

account ‑resetPassword 
   ‑name account‑name
   {‑currentPassword | ‑resetToken}
   {‑oracleFS oracle‑fs‑system | ‑sessionKey}

   [{‑outputformat | ‑o} { text | xml }]
   [{‑timeout timeout‑in‑seconds | ‑verify | ‑usage | ‑example | ‑help}] 

DESCRIPTION

Run the account ‑resetPassword command to reset the password for an account by using one of the following methods:
  • If an email with a token was sent to you, specify the ‑resetToken option. When the Oracle FS System prompts you for a token, provide the token.

  • If you did not receive an email with a token, specify the ‑currentPassword option. When the system prompts you, provide the current password. Only the /⁠⁠administrator and Administrator 1 accounts can reset accounts without either a token or the current password.

Note: After providing a token or a current password, the system prompts you to enter a new password and requests that you retype the password for verification.
Note: Administrators with primary administrator, admin1, admin2, monitor, or support roles are authorized to run the account resetPassword command.

OPTIONS

name

Specifies the account name. Use double quotation marks around names containing dashes.

currentPassword

Specifies that the Oracle FS System will prompt the administrator for the password that the administrator currently uses to log into the Oracle FS System. If this option is not specified, then the ‑resetToken option must be specified.

resetToken

Specifies that the Oracle FS System will prompt the administrator for the token that the administrator received in an email. The password reset token is valid for up to one hour after it is generated. The password reset token is valid for up to one hour after it is generated. After one hour, the token must be regenerated.

oracleFS

Specifies the name of the Oracle FS System.

EXAMPLE

Task

After receiving an email containing a password token, type the token on the command line to reset the password for the account.

Parameters
  • Name of the account: flash_store_admin

  • Name of the Oracle FS System: oracle_fs_system

$ fscli account ‑resetPassword ‑name flash_store_admin ‑oracleFS oracle_fs_system ‑resetToken