Bug 9463 - Screen locking does not use MD5 passwords
Summary: Screen locking does not use MD5 passwords
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: screen   
(Show other bugs)
Version: 6.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-02-15 15:31 UTC by Chris Rode
Modified: 2014-03-17 02:12 UTC (History)
1 user (show)

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: ---


Attachments (Terms of Use)

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.


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