clear | set password

Use the clear password command to create a new policy file without a password or a new token file without a password. Use the set password command to create a new policy file or a new token file with a new password.

When you issue the set password command, you are prompted to enter and verify the new password for the domain.

Syntax

clear | set password domain_name <string> policy_file <string>
 [new_policy_file <string>]
clear | set password token_file <string> [new_token_file <string>]

Parameters

The following table lists the parameters for this command with a description of each parameter.

clear | set password Parameters
Parameter Description
domain_name Specify the domain name for the domain for which you want to set or clear the password.
policy_file Specify the existing policy file to use when creating the new policy file without a password.
new_policy_file This optional parameter specifies the name of a new policy file that is created based on the policy file that you specify with the policy_file parameter.

If you do not specify a new policy filename, then a new policy file is created with the current date and time appended to the existing policy's filename. For example, if you specify an existing policy filename of “policy.txt,” ActiveSpaces creates a policy with the name “policy.txt.2013_01_16_20_38_00."

Note: The policy filename cannot contain a forward slash character (“/”).
token_file If you are using the clear password command to clear the password in a token file or the set password command to set the password for a token file, specify the token filename.
new_token_file This optional parameter specifies the name of a new token file that is created based on the token file that you specify with the token_file parameter.

If you do not specify a new token filename, then a new token file is created with the current date and time appended to the existing token's filename. For example, if the token file is named “my token,” ActiveSpaces creates a token file with the name “mytoken.2013_01_16_20_38_00."

Example

clear password domain_name 'AS-DOMAIN' policy_file 'policy.txt' 
new_policy_file 'newdeal.txt'
Note: Parameter String values must be enclosed in either single or double quotes.

The following examples illustrate the syntax of the clear password command:

  • clear password domain_name 'AS-DOMAIN' policy_file 'policy.txt'
  • clear password domain_name 'AS-DOMAIN' policy_file 'policy.txt' new_policy_file 'newdeal.txt'
  • clear password token_file 'mytoken'
  • clear password token_file 'mytoken' new_token_file 'yourtoken'