Reset service IP address and superuser password command
Use this command to obtain service assistant access to a node or canister even if the current state of the node or canister is unknown. The physical access to the node or canister is required and is used to authenticate the action.
Syntax
Parameters
- -serviceip ipv4
- The IPv4 address for the service assistant.
- -gw ipv4
- The IPv4 gateway for the service assistant.
- -mask ipv4
- The IPv4 subnet for the service assistant.
- -serviceip_6 ipv6
- The IPv6 address for the service assistant.
- -gw_6 ipv6
- The IPv6 gateway for the service assistant.
- -prefix_6 int
- The IPv6 prefix for the service assistant.
- -resetpassword <cleartext_password>
- (Optional) Sets the service assistant password to cleartext_password. The password must be in the range of 6 - 64 characters.
Description
This command can be used to reset the service assistant IP address to a new value. If the -default parameter is provided, it resets the service assistant IP address to the default value.
If the -resetpassword parameter is provided, the superuser password for the system is reset to the value provided. The superuser password cannot be reset back to the default password. If the node or canister is active in a system, the superuser password for the system is reset; otherwise, the superuser password is reset on the individual node canister. If the node canister later becomes active in a system, the superuser password is reset to that of the system. You can configure the system to disable resetting the superuser password, see Managing the password reset feature using the CLI. If you disable that function, this action fails.
This action calls the satask chserviceip command and the satask resetpassword command.
