Home > |
---|
Reset the appliance to the settings created at the factory. This is the same action as running the "sysconf config restore" command on the 'factoryInit_local_host..." file. You can specify any individual service's configuration, or just reset all of them to the initial factory settings with the '-all' option. This reset is for the configurations of the indicated services and does not affect the HSM.
This command affects appliance settings external to the HSM. To reset the HSM, use hsm factoryReset (which can be run from a local serial console only).
Note: To reset the configuration for the NTLS service, you must first stop this service (service stop ntls).
sysconf config factoryReset -service <service> [-force]
Parameter | Shortcut | Description |
---|---|---|
-force | -fo | Force the action without prompting. |
-service | -s |
Specifies the service name. Valid values: network,ssh,NTLS,syslog,ntp,snmp,users,system,all |
lunash:>sysconf config factoryReset -service all
This command restores the initial factory configuration of service: all. The HSM and Partition configurations are NOT included.
This command restores the previous configurations from the backup file:
factoryInit_local_host_Config.tar.gz
WARNING !! This command restores the configuration backup file:
factoryInit_local_host_Config.tar.gz.
It first creates a backup of the current configuration before restoring:
factoryInit_local_host_Config.tar.gz.
If you are sure that you wish to proceed, then type 'proceed', otherwise type 'quit'.
> proceed Proceeding...
This command creates a backup of the configuration of the following modules and services: users' accounts and files, network, syslog, NTP, SNMP, SSH and NTLS settings, keys and certificates. It does not include the HSM and Partition configurations.
Created configuration backup file: myluna_Config_20101021_1112.tar.gz You can save it to the HSM or an external backup token using the "sysconf config export" command.
Restore the ntls configuration: Failed: file not found.
Restore the network configuration: Succeeded.
Restore the syslog configuration: Succeeded.
Restore the ntp configuration: Succeeded.
Restore the snmp configuration: Succeeded.
Restore the ssh configuration: Succeeded.
Restore the users configuration: Failed: file not found.
Restore the system configuration: Failed: file not found.
You must either reboot the appliance or restart the service(s) for the changes to take effect. Please check the new configurations BEFORE rebooting or restarting the services. You can restore the previous configurations if the new settings are not acceptable.
Command Result : 0 (Success)
Note: The items that failed above simply failed to reset because they were already at factory default settings and had never been configured, so that no file of configuration settings for the particular service was ever created, and there was nothing for the "sysconf config factoryReset" command to do in those cases.