From owner-freebsd-arch Sat Sep 2 14:48:22 2000 Delivered-To: freebsd-arch@freebsd.org Received: from gw.nectar.com (gw.nectar.com [208.42.49.153]) by hub.freebsd.org (Postfix) with ESMTP id 3030A37B509; Sat, 2 Sep 2000 14:48:20 -0700 (PDT) Received: from hamlet.nectar.com (hamlet.nectar.com [10.0.1.102]) by gw.nectar.com (Postfix) with ESMTP id 6FB6E1925F; Sat, 2 Sep 2000 16:48:19 -0500 (CDT) Received: (from nectar@localhost) by hamlet.nectar.com (8.9.3/8.9.3) id QAA01561; Sat, 2 Sep 2000 16:48:19 -0500 (CDT) (envelope-from nectar@spawn.nectar.com) Date: Sat, 2 Sep 2000 16:48:19 -0500 From: "Jacques A. Vidrine" To: Robert Watson Cc: Neil Blakey-Milner , Dan Nelson , sthaug@nethelp.no, phk@critter.freebsd.dk, ume@FreeBSD.ORG, arch@FreeBSD.ORG Subject: Re: setuid ssh should die (Re: Request for review: nsswitch) Message-ID: <20000902164819.B1497@hamlet.nectar.com> References: <20000902155701.C1263@hamlet.nectar.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from rwatson@FreeBSD.ORG on Sat, Sep 02, 2000 at 05:45:14PM -0400 X-Url: http://www.nectar.com/ Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Sep 02, 2000 at 05:45:14PM -0400, Robert Watson wrote: > > @@ -546,6 +546,10 @@ > > } > > /* Disable rhosts authentication if not running as root. */ > > if (original_effective_uid != 0 || !options.use_privileged_port) { > > + if (options.rhosts_authentication || > > + options.rhosts_rsa_authentication) > > + log("Warning: rhosts disabled - " > > + "insufficient privileges"); > > options.rhosts_authentication = 0; > > options.rhosts_rsa_authentication = 0; > > } > > That sucks. Don't do that. :-) I didn't. That is a patch for OpenSSH's ssh.c, just adding a warning. -- Jacques Vidrine / n@nectar.com / jvidrine@verio.net / nectar@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message