From owner-freebsd-arch Sat Sep 2 14: 1:59 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 0294337B42C; Sat, 2 Sep 2000 14:01:57 -0700 (PDT) Received: from hamlet.nectar.com (hamlet.nectar.com [10.0.1.102]) by gw.nectar.com (Postfix) with ESMTP id 5A6161925F; Sat, 2 Sep 2000 16:01:56 -0500 (CDT) Received: (from nectar@localhost) by hamlet.nectar.com (8.9.3/8.9.3) id QAA01430; Sat, 2 Sep 2000 16:01:56 -0500 (CDT) (envelope-from nectar@spawn.nectar.com) Date: Sat, 2 Sep 2000 16:01:56 -0500 From: "Jacques A. Vidrine" To: Neil Blakey-Milner Cc: Poul-Henning Kamp , Brian Somers , Dan Nelson , sthaug@nethelp.no, ume@FreeBSD.ORG, arch@FreeBSD.ORG Subject: Re: setuid ssh should die Message-ID: <20000902160156.D1263@hamlet.nectar.com> References: <200009022015.e82KFN740808@hak.lan.Awfulhak.org> <41784.967926245@critter> <20000902223244.A39844@mithrandr.moria.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20000902223244.A39844@mithrandr.moria.org>; from nbm@mithrandr.moria.org on Sat, Sep 02, 2000 at 10:32:44PM +0200 X-Url: http://www.nectar.com/ Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Sep 02, 2000 at 10:32:44PM +0200, Neil Blakey-Milner wrote: > On Sat 2000-09-02 (22:24), Poul-Henning Kamp wrote: > > Uhm, how about a ssh_config variable where you tell it to drop > > the setuid bit right away, wouldn't that work ? > > I'd prefer to leave it off. It means one less file to assure myself is > safe, if I were thinking with my paranoid security hat on. In addition to Neil's points, setuid executables ignore LD_LIBRARY_PATH and such, breaking SOCKS. ssh is the type of application one would expect to use with SOCKS, so I'd prefer not having the gratuitous setuid bit set. -- 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