NDR Sensor CLI
Associated Commands:
| CLI Description | Command |
|---|---|
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 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 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>]
|
Total commands: 11