The tpasswd Command
Usage
tpasswd [option]
Where:
| Option | Description | Product | Version |
|---|---|---|---|
--compareAliases: -C | Compare given password.store file to currently used one. | CTTR | 7.1.3 |
--createAliases: -c | Creates a new user/password. | CTTR | |
--deleteAliases: -d | Delete a user/password combination. | CTTR | |
--encrypt.passwordAliases: -e | Encrypt the password. | CTTR | |
--fileAliases: -f | Specify the location of the security.properties file. | CTTR | |
--helpAliases: -h | CTTR | ||
--password.file.locationAliases: -p | Specify the password file location. | CTTR | |
--targetAliases: -t | Specify the target application. | CTTR | |
--truststore.locationAliases: -ts | CTTR |
Using the --compare.to option
Version availability
Available in 7.1.3 and later.
The --compare.to switch allows for comparing currently used passwords.store file to a given one. If the files
contain identical users and passwords, it will display true and return 0. If not, it will display false and
return error code 2.
Example:
shell> Given passwords file identical to current one: true