From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,d83abd4bbc871b45,start X-Google-Attributes: gid10d4db,public X-Google-ArrivalTime: 1994-05-19 09:47:56 PST Newsgroups: comp.os.linux.announce Path: bga.com!news.sprintlink.net!demon!bnr.co.uk!bnrgate!nott!torn!spool.mu.edu!howland.reston.ans.net!gatech!udel!MathWorks.Com!news.kei.com!travelers.mail.cornell.edu!cornell!bounce-bounce From: lilo%slip-4-6@uunet.uu.net (lilo) Subject: Alternate Security Fix: Shadow Message-ID: Followup-To: comp.os.linux.misc Keywords: Linux shadow passwd security fix patch Sender: mdw@cs.cornell.edu (Matt Welsh) Reply-To: lilo%slip-4-6@uunet.uu.net (lilo) Organization: The University of Texas at Austin, Austin, Texas Date: Thu, 19 May 1994 16:19:06 GMT Hi, all-- Per Alan Cox's previous warning, it is possible to gain unauthorized access to most Linux systems via telnetd/rlogind using the trick previous mentioned. I'd strongly recommend getting the patched utilities from Alan! But for those of you who are running Shadow 3.3.2 and have the source handy, I'm including this quick patch which might also be useful. Note: This completely disables the ability of root to use login to sign onto users' accounts without specifying a password. It doesn't affect su at all; so it might be a good idea to apply it in any case! ;) --lilo --- lmain.c.VIRGIN Wed May 18 11:55:53 1994 +++ lmain.c Wed May 18 12:14:22 1994 @@ -403,7 +403,9 @@ break; case 'f': fflg++; +#ifdef PREAUTH_ALLOWED preauth_flag++; +#endif STRFCPY (name, optarg); break; #ifdef RLOGIN @@ -417,8 +419,10 @@ #ifdef SVR4 STRFCPY (utxent.ut_host, optarg); #endif /* SVR4 */ +#ifdef PREAUTH_ALLOWED if (rlogin (host, name, sizeof name)) preauth_flag++; +#endif break; case 'h': -- Mail submissions for comp.os.linux.announce to: linux-announce@tc.cornell.edu Be sure to include Keywords: and a short description of your software.