From owner-freebsd-security Tue Dec 11 4:49:19 2001 Delivered-To: freebsd-security@freebsd.org Received: from shikima.mine.nu (pc1-card4-0-cust77.cdf.cable.ntl.com [62.252.49.77]) by hub.freebsd.org (Postfix) with ESMTP id 57AAA37B405 for ; Tue, 11 Dec 2001 04:49:17 -0800 (PST) Received: from rasputin by shikima.mine.nu with local (Exim 3.33 #1) id 16DmN2-0000dx-00; Tue, 11 Dec 2001 12:50:52 +0000 Date: Tue, 11 Dec 2001 12:50:52 +0000 From: Rasputin To: Sheldon Hearn Cc: security@freebsd.org Subject: Re: Accessing as root Message-ID: <20011211125052.A2445@shikima.mine.nu> Reply-To: Rasputin References: <20011211103103.A1668@shikima.mine.nu> <40735.1008073801@axl.seasidesoftware.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <40735.1008073801@axl.seasidesoftware.co.za>; from sheldonh@starjuice.net on Tue, Dec 11, 2001 at 02:30:01PM +0200 Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org * Sheldon Hearn [011211 12:35]: > > > On Tue, 11 Dec 2001 10:31:03 GMT, Rasputin wrote: > > > > You need to make your script setuid root (see chmod(1)). > > > > Can you do that on FreeBSD? Most moderm UNIXes don't allow suid scripts. > > Weird, could have sworn this used to work. It did - but modern kernels disallow it because of the race conditions that affect all shell/perl scripts. -- Computer programmers do it byte by byte Rasputin :: Jack of All Trades - Master of Nuns :: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message