Bug 9463
| Summary: | Screen locking does not use MD5 passwords | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Chris Rode <electro> |
| Component: | screen | Assignee: | Bill Nottingham <notting> |
| Status: | CLOSED RAWHIDE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.1 | CC: | rvokal |
| 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: | 2000-02-15 16:26:22 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: | |||
Thanks, fixed. |
In all recent version of screen, including 3.9.4 in the 6.1 Errata, and 3.9.5 from the 6.2 beta, if the system is set to use MD5 for passwords, when a user locks the screen session with Ctrl-a x, screen prompts for a key instead of using the user's system password. The following patch fixes: --- screen.c.orig Wed Aug 11 13:13:43 1999 +++ screen.c Wed Dec 8 09:29:50 1999 @@ -281,7 +281,7 @@ for (; n < 13; n++) { char c = ppp->pw_passwd[n]; - if (!(c == '.' || c == '/' || + if (!(c == '.' || c == '/' || c == '$' || (c >= '0' && c <= '9') || (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z')))