Issue #1058
Updated by igulina@redhat.com over 9 years ago
>> rpm -qa pulp-server pulp-server-2.7.0-0.3.beta.fc20.noarch <pre> pulp-admin -u admin -p admin auth user create --login test-user Enter password for user [test-user] : 123456 Re-enter password for user [test-user]: 123456 User [test-user] successfully created >> pulp-admin -u admin -p admin auth user update --login test-user --password 654321 Invalid properties: ['p'] >> pulp-admin -u admin -p admin auth user update --login test-user --password '654321' Invalid properties: ['p'] >> pulp-admin -u admin -p admin auth user update --login test-user --password -p Invalid properties: ['p'] >> pulp-admin -u admin -p admin auth user update --login test-user -p Enter -pEnter password for user [test-user] : <654321> Re-enter password for user [test-user]: <654321> Invalid properties: ['p'] >> pulp-admin -u admin -p admin auth user update --login test-user --password Usage: pulp-admin [options] Command: update Description: changes metadata of an existing user Available Arguments: --login - (required) identifies the user to be updated --name - user-readable full name of the user --password - new password for the user, use -p if you want to be prompted for the password -p - if specified, you will be prompted to enter new password for the user >> pulp-admin -u admin -p admin auth user update --login test-user -p 654321 Command: update Description: changes metadata of an existing user Available Arguments: --login - (required) identifies the user to be updated --name - user-readable full name of the user --password - new password for the user, use -p if you want to be prompted for the password -p - if specified, you will be prompted to enter new password for the user >> pulp-admin -u admin -p admin auth user update --login test-user -p '654321' Command: update Description: changes metadata of an existing user Available Arguments: --login - (required) identifies the user to be updated --name - user-readable full name of the user --password - new password for the user, use -p if you want to be prompted for the password -p - if specified, you will be prompted to enter new password for the user >> pulp-admin -u admin -p admin auth user update --login test-user -p Enter password for user [test-user] : <qazxsw> Re-enter password for user [test-user]: <qazxsw> Invalid properties: ['p'] </pre> However it checks if passwords match: <pre> >> pulp-admin -u admin -p admin auth user update --login test-user -p Enter password for user [test-user] : <qwerty> Re-enter password for user [test-user]: <ytrewq> Passwords do not match </pre> The same output was observed on rhel7