From owner-freebsd-security Tue Dec 11 4:45:20 2001 Delivered-To: freebsd-security@freebsd.org Received: from internethelp.ru (wh.internethelp.ru [212.113.112.145]) by hub.freebsd.org (Postfix) with ESMTP id 870F237B41F for ; Tue, 11 Dec 2001 04:45:10 -0800 (PST) Received: from IBMKA (ibmka.internethelp.ru. [192.168.0.6]) by internethelp.ru (8.9.3/8.9.3) with ESMTP id PAA67619; Tue, 11 Dec 2001 15:44:13 +0300 (MSK) Date: Tue, 11 Dec 2001 15:43:09 +0300 From: "Nickolay A.Kritsky" X-Mailer: The Bat! (v1.49) Personal Reply-To: "Nickolay A.Kritsky" X-Priority: 3 (Normal) Message-ID: <150428298971.20011211154309@internethelp.ru> To: Sheldon Hearn Cc: Rasputin , security@FreeBSD.ORG Subject: Re[2]: Accessing as root In-reply-To: <40735.1008073801@axl.seasidesoftware.co.za> References: <40735.1008073801@axl.seasidesoftware.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Hello Sheldon, Tuesday, December 11, 2001, 3:30:01 PM, you wrote: SH> 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. SH> Weird, could have sworn this used to work. SH> Sorry, SH> Sheldon. You could run suid perl scripts using suidperl from ports. But I could not find such tools for shell or awk scripts, when I had similiar problem. ;------------------------------------------- ; NKritsky ; SysAdmin InternetHelp.Ru ; http://www.internethelp.ru ; mailto:nkritsky@internethelp.ru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message