From owner-freebsd-current Mon Nov 9 00:23:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA27608 for freebsd-current-outgoing; Mon, 9 Nov 1998 00:23:09 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from foobar.franken.de (foobar.franken.de [194.94.249.81]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA27596 for ; Mon, 9 Nov 1998 00:23:06 -0800 (PST) (envelope-from logix@foobar.franken.de) Received: (from logix@localhost) by foobar.franken.de (8.8.8/8.8.5) id JAA22486; Mon, 9 Nov 1998 09:20:01 +0100 (CET) Message-ID: <19981109091957.A22438@foobar.franken.de> Date: Mon, 9 Nov 1998 09:19:57 +0100 From: Harold Gutch To: Marc Slemko , Phillip Salzman Cc: pal , sporkl@ix.netcom.com, freebsd-current@FreeBSD.ORG, osa@freebsd.org.ru Subject: Re: SSH 2.0.10 BUG? (!) References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: ; from Marc Slemko on Sun, Nov 08, 1998 at 07:39:14PM -0800 X-Organisation: BatmanSystemDistribution X-Mission: To free the world from the Penguin Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Nov 08, 1998 at 07:39:14PM -0800, Marc Slemko wrote: > On Mon, 9 Nov 1998, Phillip Salzman wrote: > > make it +s > > DO NOT. > > Doing so would quite possibly introduce a major security hole. Very few > daemons are designed to have the setuid bit set, for the simple reason > that if they have to be root they are normally already root. > sshd has to run as root if you want to be able to login as more than the user it runs as. What difference should an suid-bit make if it belongs to root and it's run by root anyway ? Not that it would be of any use, I just don't see how it should do any harm or even "indroduce a major security hole". Other than that sshd doesn't have an suid bit set on any system I know of, but it does write the users which login to utmp. I have never used sshd2 though, so perhaps it is a bug in sshd2. > > On Sun, 8 Nov 1998, pal wrote: > > > > > its: > > > > > > -rwxr-xr-x 1 root wheel 1310188 28 20:57 sshd2 -- bye, logix Sleep is an abstinence syndrome wich occurs due to lack of caffein. Wed Mar 4 04:53:33 CET 1998 #unix, ircnet To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message