Skip to content

ybcli: config passwords

Configure user password length requirements:

config passwords get
config passwords set [min_length]
config passwords get
Read current setting for password length requirement. For example:
YBCLI(32239) (PRIMARY - yb99-mgr1)> config passwords get

The password length requirement is 14 characters
YBCLI(32239) (PRIMARY - yb99-mgr1)>
config passwords set
Change setting for password length requirement. For example:
YBCLI(32239) (PRIMARY - yb99-mgr1)> config passwords set

This command configures the global appliance system settings for password length
Do you want to alter these settings?
Continue (yes/no)? yes

Please enter the minimum password lengths required for new users: 10
Set the minimum password length to 10 characters

Remote manager node
-------------------

Set the minimum password length to 10 characters

YBCLI(32239) (PRIMARY - yb99-mgr1)>