Bug 84541
Summary: | rhn-register complains about characters in password | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Mike Gahagan <mgahagan> |
Component: | rhn_register | Assignee: | Pradeep Kilambi <pkilambi> |
Status: | CLOSED WORKSFORME | QA Contact: | Beth Nackashi <bnackash> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4.0 | CC: | tsanders |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-11-16 19:51:14 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: | 191074, 191079 |
Description
Mike Gahagan
2003-02-18 17:13:21 UTC
Blocking rhnupr4u4 and rhnupr3u8 to track the progress of the release Moving bugs to the CanFix List This bug did not make the code freeze and it will not be fiixed during this release cycle. Re-aligning bug to the next release This bug did not make the code freeze. It will not be fixed in this releasee Reea ligning to the next one. Note, this may not involve client changes. Should this solely be a server-side change, I'll clone this bug, change the clone's component to RHN/Backend, and close this one. Yes, this needs to be a server side change: basically in backend/server/rhnUser.py there is a call validate_new_password this validates the password sent by the client and throws an rhnFault if it does'nt comply with the regex mentioned. invalid_re = re.compile(r"[^ A-Za-z0-9`!@#$%^&*()-_=+[{\]}\\|;:'\",<.>/?~]") so instead of checking for valid characters, we just follow the business rule on account creation that we follow for webui where the only restriction is the length. Apparently It seems to work for me: created a user with username: 'test_pwd' password: '%password%' from webui then ran $rhn_register -vv (with the above uname and password) [root@rlx-0-20 ~]# rhn_register -vv D: logininfo: {'X-RHN-Server-Id': 1007041205, 'X-RHN-Auth-Server-Time': '1163706208.5', 'X-RHN-Auth': 'IHPBtCY7wiZ8y/AJjZmVMA==', 'X-RHN-Auth-Channels': [['rhel-i386-as-4', '20061110101036', '1', '1']], 'X-RHN-Auth-User-Id': '', 'X-RHN-Auth-Expire-Offset': '3600.0'} [root@rlx-0-20 ~]# works fine with no errors... let me know if i missed anything here Also the version of up2date i'm running is: [root@rlx-0-20 ~]# rpm -q up2date up2date-4.4.69-25 my comments in comment#11 is only for new user creation. So if we try to create a new user with rhn_register with % in password it raises an exception as i mentioned. But as per the original bug reported we should not have this issue for existing users. |