9.26. The tpasswd Command

Content Being Written

This section of the documentation is currently being produced and may be incomplete and/or subject to change.

Table 9.63. tpasswd Common Options

OptionDescription
-C, --compare.toCompare given password.store file to currently used one
--create, -cCreates a new user/password
--delete, -dDelete a user/password combination
-e, --encrypted.passwordEncrypt the password
--file, -fSpecify the location of the security.properties file
-help, -hDisplay help text
-p, --password.file.locationSpecify the password file location
--target, -tSpecify the target application
-ts, --truststore.location

Using the --compare.to option

This new 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