NDR Sensor CLI
Security
Associated Commands:
| CLI Description | Command |
|---|---|
Clear security banner or message of the dayClear the security banner or message of the day. The banner is reset to the system default banner. |
clear banner
|
Resets configured password complexity requirements to defaultResets configured password complexity requirements to default. |
clear password-complexity
|
Disable password expiration for the userDisable password expiration for the user. |
clear user <node-all-username> password-expiration
|
Disable password expiration warning for the userDisable password expiration warning for the user. |
clear user <node-all-username> password-expiration-warning
|
Delete SSH service keys from authorized_keys file for specified userDelete any SSH key with specified label from specified user's authorized_keys file. If password is not provided in the command then you are prompted to enter it. Password is required only for users root and admin. |
del user <username> ssh-keys label <key-label> [password <password>]
|
Get CLI account lockout periodGet the amount of time, in seconds, that an account will remain locked out of the CLI after exceeding the maximum number of failed authentication attempts. |
get auth-policy cli lockout-period
|
Get CLI maximum authentication failuresGet the number of failed CLI authentication attempts that are allowed before the account is locked. If set to 0, account lockout is disabled. |
get auth-policy cli max-auth-failures
|
Get minimum allowable password lengthGet the minimum number of characters that passwords must have. |
get auth-policy minimum-password-length
|
Show Sensor Certificate in the systemShow Sensor Certificate in the system. |
get certificate <get-certificate-entity-arg>
|
Get configured password complexity requirementsGet configured password complexity requirements. |
get password-complexity
|
Get the number of days until user password expirationGet number of days the user's password is valid after a password change and number of days before user receives password expiration warning message. |
get user <node-all-username> password-expiration
|
Get user status for specified non-root userGet user status for specified non-root user. |
get user <node-all-username> status
|
Get SSH keys from authorized_keys file for specified userGet SSH keys from authorized_keys file for specified user. |
get user <node-username> ssh-keys
|
Set CLI account lockout periodSets the amount of time, in seconds, that an account will remain locked out of the CLI after exceeding the maximum number of failed authentication attempts. While the lockout period is in effect, additional authentication attempts restart the lockout period, even if a valid password is specified. |
set auth-policy cli lockout-period <lockout-period-arg>
|
Set CLI maximum authentication failuresSet the number of failed CLI authentication attempts that are allowed before the account is locked. If set to 0, account lockout is disabled. |
set auth-policy cli max-auth-failures <auth-failures-arg>
|
Set minimum allowable password lengthSet the minimum number of characters that passwords must have. The smallest value that can be set is 8. |
set auth-policy minimum-password-length <password-length-arg>
|
Set security banner or message of the daySet the security banner or message of the day. |
set banner
|
Update certificateUpdate certificate for the given entity. |
set certificate <set-certificate-entity-arg> <x509-encoded-certificate-arg>
|
Configure password complexity requirementsConfigure password complexity requirements.
Note, passwords less than 8 characters are never allowed. |
set password-complexity [<complexity-name> <complexity-value>]
|
Set number of days the user's password is valid after a password changeSet number of days the user's password is valid after a password change. |
set user <node-all-username> password-expiration <password-expiration-arg>
|
Set number of days prior user receives warning message before password expiresSet number of days prior user receives warning message before password expires. Set 0 to disable warning messages for password expiry. |
set user <node-all-username> password-expiration-warning <password-expiration-warn-arg>
|
Set new username for specified non-root userSet new user name for the specified non-root user. |
set user <node-all-username> username <new-node-username>
|
Set user passwordSet the password for the specified user. If you do not specify the password on the command line, you will be prompted for it. For details on setting passwords during installation, see the NDR Sensor documentation. |
set user <username> password [<password> [old-password <old-password>]]
|
Add SSH service key to authorized_keys file for specified userAdd SSH service key to authorized_keys file for specified user. If password is not provided in the command then you are prompted to enter it. Password is required only for users root and admin. |
set user <username> ssh-keys label <key-label> type <key-type> value <key-value> [password <password>]
|