Bug 9463 - Screen locking does not use MD5 passwords
Screen locking does not use MD5 passwords
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: screen (Show other bugs)
6.1
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-02-15 10:31 EST by Chris Rode
Modified: 2014-03-16 22:12 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-02-15 11:26:22 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Chris Rode 2000-02-15 10:31:04 EST
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')))
Comment 1 Bernhard Rosenkraenzer 2000-02-15 11:26:59 EST
Thanks, fixed.

Note You need to log in before you can comment on or make changes to this bug.