Bug 1189963
| Summary: | satpassd does not accept punctuation characters in username | ||
|---|---|---|---|
| Product: | [Community] Spacewalk | Reporter: | philipp.burath <philipp.burath> |
| Component: | Server | Assignee: | Jan Dobes <jdobes> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Red Hat Satellite QA List <satqe-list> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.2 | CC: | tkasparek |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-10-08 13:26:06 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1267654 | ||
this was fixed by 0c29c06799e0afc1120a548a06886e4bd961bb1a Spacewalk 2.4 has been released. |
Description of problem: satpassd does not accept punctuation characters in username. For example: user_a is not treated as a valid username when changing password with satpasswd even though username is accepted within spacewalk. Version-Release number of selected component (if applicable): spacewalk-base-2.2.33-1.el6.noarch How reproducible: satpasswd user_a Steps to Reproduce: 1. Create user_a in spacewalk 2. In CLI on server, run "satpasswd user_a" 3. Actual results: [root]# satpasswd user_a Usage: satpasswd [OPTIONS] user Options: -h, --help Print this help message. -s, --stdin Read the password from standard input. Expected results: Should prompt for password. Additional info: This is the cause of the problem: if not userIn.isalnum(): It incorrect only permits alphanumeric.