No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

FusionStorage 8.0.0 Software Installation Guide 02

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring Environment Variables for Authentication

Configuring Environment Variables for Authentication

To avoid frequent input of the user name and password when you run the dswareTool command, you can import environment variables for authentication.

Procedure

  1. Run the following command and enter the password of the authentication user as prompted to obtain the encrypted password:

    sh /opt/dsware/client/bin/dswareTool.sh --op encryptPwdByAes256 -encryptTool java

    The default user name for authentication and password are admin and IaaS@PORTAL-CLOUD9!, respectively.

    After the password is entered, the encrypted ciphertext is as follows:

    Encrypted password is:CBA25C9E9CEBB19FD566EE7EE9BC51BF
  2. Run the read -s password command, enter the encrypted ciphertext of the password, press Enter, and save the encrypted ciphertext to the password variable.
    dsware@FSM01:~> read -s password //After you press Enter, no information is displayed. Enter the encrypted ciphertext. In addition, the input information is not displayed on the page.
  3. Optional: Run the echo $password command to check whether the ciphertext configuration is correct. If the ciphertext is incorrect, reconfigure the ciphertext.
  4. Run the following command to set the authentication user name and password to environment variables:

    export DswareTool_username=Authentication user name

    export DswareTool_password=$password

    dsware@FSM01:~> export DswareTool_username=cmdadmin 
    dsware@FSM01:~> export DswareTool_password=$password
Translation
Download
Updated: 2019-07-12

Document ID: EDOC1100081424

Views: 1729

Downloads: 7

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next