Bug 624512
| Summary: | Password in new user creation should not be displayed on the screen | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Jay Dobies <jason.dobies> |
| Component: | z_other | Assignee: | Pradeep Kilambi <pkilambi> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Jason Connor <jconnor> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | unspecified | CC: | jconnor, mmccune, pkilambi, pthomas, skarmark, tsanders |
| Target Milestone: | --- | Keywords: | FutureFeature, Triaged |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-08-16 14:20:32 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 647488 | ||
|
Description
Jay Dobies
2010-08-16 17:58:18 UTC
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. |