Obfuscating Passwords

When using commands on TEA shell, you can obfuscate passwords.

PasswordObfuscation.sh is the tool used to obfuscate passwords and is available under <TEA_HOME>\<version>\bin.
Note: You cannot use the TEA UI or Python scripting to obfuscate passwords.

You cannot use the TEA UI to obfuscate passwords, but you can use the obfuscated password in the TEA UI when you are changing a password or creating a new user. You can also create an obfuscated password for a user that does not exist. Whenever you create the user later, you can use the obfuscated password you had created for the user.

Important: An obfuscated password is complicated; thereby making it difficult for onlookers to memorize it. TIBCO recommends that obfuscated passwords must be kept confidential since not only are they reversible but they can also be used interchangeable with real passwords in shell commands.
Before you beginEnsure that Java is mentioned in the PATH environment variable.

    Procedure
  1. Open the command prompt and navigate to <TEA_HOME>\<version>\bin.
  2. Run the following command:
    PasswordObfuscation.sh <user_name> <user_password>
    The obfuscation tool takes the user name and password as parameters. If you run the tool without these parameters, you are prompted to enter the user name and password. After providing the password, the tool obfuscates the password and provides a string prefixed with "OBF:". Copy the entire string including "OBF:" to use it as the obfuscated password.
    Note: The length of the obfuscated password increases with the length of the password that you are obfuscating.
  3. To exit the tool, press any key to continue.
    Note: When you enter a plain-text password, you cannot start a password with "OBF:" ("O", "B", and "F" written in uppercase followed by a colon).