setSecurityPolicy command

Last Updated : Jul 27, 2022 |

From Release 10.1.2, you can use the setSecurityPolicy command to modify the default password policy settings of WebLM. This command is only applicable for changing or setting up the password for the CLI or root user created during deployment.

Note:

When you create a user through the WebLM web console, the WebLM web console password policy applies.

You can run the setSecurityPolicy command in the following modes:

  • Interactive modeThis is the default mode for operating this command. You can display, change, and refresh the password policy settings.

  • Non-interactive modeYou can view the status, display the current settings, restore the default settings, and refresh the current profile, including any custom settings.

Syntax

setSecurityPolicy

Displays the interactive mode to change the password policy settings.

Syntax

setSecurityPolicy [--status] [--display-only] [--restore-defaults] [--refresh-custom]
--status
Displays the password policy settings status.
--display-only
Displays all the password policy settings.
--restore-defaults
Removes all customized values and restores the password policy settings to the default profile settings.
--refresh-custom
Refreshes the custom profile settings in case of backup and restore.