Bug 1111591
Summary: | User create lets you create a user without a password but login fails | ||
---|---|---|---|
Product: | [Retired] Pulp | Reporter: | Preethi Thomas <pthomas> |
Component: | z_other | Assignee: | amacdona <austin> |
Status: | CLOSED UPSTREAM | QA Contact: | Irina Gulina <igulina> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 2.4 Beta | CC: | austin, cduryee, igulina, skarmark |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-02-28 22:11:14 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Preethi Thomas
2014-06-20 13:25:02 UTC
austin@laptop|/home/austin/code/pulp on 2.4-dev? ± pulp-admin auth user create --login user2 Enter password for user [user2] : <no input here> Re-enter password for user [user2]: <no input here> User [user2] successfully created austin@laptop|/home/austin/code/pulp on 2.4-dev? ± pulp-admin login -u user2 Enter password: <no input here> Successfully logged in. Session certificate will expire at Nov 13 15:40:47 2014 GMT. Appears to be fixed in both 2.4-dev and 2.5-dev. Failed QA Austin, for you everything is OK, because I think you worked under valid certificate. My certificate was expired. Look what happened: >> pulp-admin -u admin -p admin auth user create --login no_pass_user Enter password for user [no_pass_user] : <enter> Re-enter password for user [no_pass_user]: <enter> User [no_pass_user] successfully created >> pulp-admin login -u no_pass_user Enter password: Session Expired The session certificate expired on Oct 24 14:51:22 2014 GMT. >> date Thu Nov 13 14:24:50 UTC 2014 >> pulp-admin login --username admin Enter password: <admin pass> Successfully logged in. Session certificate will expire at Nov 20 14:25:56 2014 GMT. >> pulp-admin login --username no_pass_user Enter password: <enter> Successfully logged in. Session certificate will expire at Nov 20 14:26:03 2014 GMT. ...broken pipe >> pulp-admin rpm repo list +----------------------------------------------------------------------+ RPM Repositories +----------------------------------------------------------------------+ Id: gena Display Name: gena Description: None Content Unit Counts: Rpm: 2 Id: m1 Display Name: m1 Description: None Content Unit Counts: >> pulp-admin logout Session certificate successfully removed. >> pulp-admin rpm repo list +----------------------------------------------------------------------+ RPM Repositories +----------------------------------------------------------------------+ The specified user does not have permission to execute the given command >> pulp-admin login -u no_pass_user Enter password: The specified user does not have permission to execute the given command >> pulp-admin -u admin -p admin auth user create --login funtik Enter password for user [funtik] : <enter> Re-enter password for user [funtik]: <enter> User [funtik] successfully created >> pulp-admin login -u funtik Enter password: <enter> The specified user does not have permission to execute the given command >>rpm -qa | grep pulp-server pulp-server-2.5.0-0.18.rc.fc20.noarch Setting BZ back to ASSIGNED, PR is still in WIP state. Moved to https://pulp.plan.io/issues/458 |