tw_upduser
The tw_upduser utility enables you to update properties of a specific user, such as the current state, permissions, and passwords. To use the utility, type the following command at the $TIDEWAY/bin/ directory:
tw_upduser [options] username
where:
- username is the name of the user to update
- options are any of the options described in the following table and the common command line options described in Using-command-line-utilities.
User example
In the following example, the tw_upduser utility sets the user Joe to a locked state to protect from unauthorized changes to that account.
Locking a user for security purposes
To lock a user, type the following command:
$TIDEWAY/bin/tw_upduser --locked Joe
The following confirmation is displayed:
Set User State USER_STATE_LOCKED
To unlock the user, run the utility again with the --active option.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*