Usenet comp.os.linux.announce (1993-2013)
 help / color / mirror / Atom feed
* Alternate Security Fix: Shadow
@ 1994-05-19 16:19 lilo
  0 siblings, 0 replies; only message in thread
From: lilo @ 1994-05-19 16:19 UTC (permalink / raw)


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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1994-05-19 16:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-05-19 16:19 Alternate Security Fix: Shadow lilo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox