Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Dec 2001 12:50:52 +0000
From:      Rasputin <rasputin@submonkey.net>
To:        Sheldon Hearn <sheldonh@starjuice.net>
Cc:        security@freebsd.org
Subject:   Re: Accessing as root
Message-ID:  <20011211125052.A2445@shikima.mine.nu>
In-Reply-To: <40735.1008073801@axl.seasidesoftware.co.za>; from sheldonh@starjuice.net on Tue, Dec 11, 2001 at 02:30:01PM %2B0200
References:  <20011211103103.A1668@shikima.mine.nu> <40735.1008073801@axl.seasidesoftware.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
* Sheldon Hearn <sheldonh@starjuice.net> [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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011211125052.A2445>