If --newpassword isn't specified, the pulp-admin user should be prompted for the password and not have it echoed on the screen. So the output would look something like: pulp-admin -uadmin -padmin user create --newusername jdob Enter new user's password: And as the password is entered, it's not displayed at the prompt.
Something else to take into consideration: <jdob> newpassword isnt a required parameter, is that intentional for some reason? <mccun934> no <mccun934> jdob: actually .. yeah <jdob> i'm thinking it should be, and if you dont do it on the initial command it prompts you for the non-echoed one <mccun934> jdob: imagine we were using ldap or some external authentication , could be possible to have no pass <jdob> hrm, ok, will add that note to the bug <mccun934> but i think for now we should make it required <mccun934> since it is broken with out it
future enhancement
*** Bug 634943 has been marked as a duplicate of this bug. ***
Fixed. Also as per above comment, password is now 'required'. $ sudo pulp-admin user create --username="awesome" Enter password for user awesome: Successfully created user [ awesome ] with name [ ] I have also made similar changes to "user update". If you pass -P option when updating, it will prompt for new password for the user - $ sudo pulp-admin user update --help Usage: pulp-admin <options> user update <options> Options: -h, --help show this help message and exit --username=USERNAME username of user you wish to edit. Not editable (required) -P, --password change user password --name=NAME updated name of user for display purposes $ sudo pulp-admin user update --username="awesome" -P Enter new password for user awesome: Successfully updated [ awesome ] with name [ ]
Fixed in build 0.111.
verified [root@10 ~]# rpm -q pulp pulp-0.0.111-1.fc14.noarch Last login: Mon Dec 6 13:21:43 2010 from pthomas.rdu.redhat.com [root@10 ~]# pulp-admin user create --username=life Enter password for user life: Successfully created user [ life ] with name [ ] [root@10 ~]# pulp-admin user update --username=life --help Usage: pulp-admin <options> user update <options> Options: -h, --help show this help message and exit --username=USERNAME username of user you wish to edit. Not editable (required) -P, --password change user password --name=NAME updated name of user for display purposes [root@10 ~]# pulp-admin user update --username=life -P Enter new password for user life: Successfully updated [ life ] with name [ ]
Closing with Community Release 15 pulp-0.0.223-4.