Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 9463

Summary: Screen locking does not use MD5 passwords
Product: [Retired] Red Hat Linux Reporter: Chris Rode <electro>
Component: screenAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1CC: 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:

Description Chris Rode 2000-02-15 15:31:04 UTC
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 16:26:59 UTC
Thanks, fixed.