Table 9.46. tpasswd Common Options
| Option | Description |
|---|---|
--create, -c | Creates a new user/password |
--delete, -d | Delete a user/password combination |
-e, --encrypted.password | Encrypt the password |
--file, -f | Specify the location of the security.properties file |
-help, -h | Display help text |
-p, --password.file.location | Specify the password file location |
--target, -t | Specify the target application |
-ts, --truststore.location |
Using the --compare.to option
This --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