setpwdreset
Use the setpwdreset command to view and change the status of the password-reset feature for the node.
Syntax
Parameters
- -disable
- Disables the password-reset feature that is available through the USB flash drive interface.
- -enable
- Enables the password-reset feature that is available through the USB flash drive interface.
- -show
- Displays the status of the password-reset feature, which is either
enabled
ordisabled
.
Description
The system provides an option to reset the system superuser password to the default value. For all systems, this option can be done by using the USB flash drive interface. If this feature remains enabled, make sure that there is adequate physical security to the system hardware. If this feature is disabled, it is not possible to reset the superuser password by using a USB flash drive. You can view or change the status of this feature.
Note: The superuser can enable the password and key
required feature only when the password-reset feature is enabled. Conversely, the
password-reset feature cannot be disabled as long as the password and key
required feature remains enabled.
An invocation example
setpwdreset -show
The resulting output:
Password status: [1]
This output means that
the password or reset feature is enabled. If the password status is [0]
,
this feature is disabled.