From owner-freebsd-arch Sat Sep 2 13:24:16 2000 Delivered-To: freebsd-arch@freebsd.org Received: from critter.freebsd.dk (flutter.freebsd.dk [212.242.40.147]) by hub.freebsd.org (Postfix) with ESMTP id CEDC137B424; Sat, 2 Sep 2000 13:24:13 -0700 (PDT) Received: from critter (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.0/8.9.3) with ESMTP id e82KO5N41786; Sat, 2 Sep 2000 22:24:06 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Brian Somers Cc: "Jacques A. Vidrine" , Dan Nelson , sthaug@nethelp.no, ume@FreeBSD.ORG, arch@FreeBSD.ORG Subject: Re: setuid ssh should die (Re: Request for review: nsswitch) In-Reply-To: Your message of "Sat, 02 Sep 2000 21:15:23 BST." <200009022015.e82KFN740808@hak.lan.Awfulhak.org> Date: Sat, 02 Sep 2000 22:24:05 +0200 Message-ID: <41784.967926245@critter> From: Poul-Henning Kamp Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <200009022015.e82KFN740808@hak.lan.Awfulhak.org>, Brian Somers write s: >> On Sat, Sep 02, 2000 at 02:58:22PM -0500, Dan Nelson wrote: >> > Rather, it's so it can read the host key, which is only readable by >> > root. >> >> We're talking about ssh, not sshd. >> >> IMHO, ssh should be mode 0555. I have to change this all the time on >> my machines, since I often socksify ssh. > >Yes, a make.conf variable would be in order, defaulting to 0555 in >line with FallBackToRsh being set to no in /etc/ssh/ssh_config. Uhm, how about a ssh_config variable where you tell it to drop the setuid bit right away, wouldn't that work ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD coreteam member | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message