From owner-freebsd-bugs Mon Apr 26 4: 5: 6 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 1765F15026 for ; Mon, 26 Apr 1999 04:05:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id CAA90044; Mon, 26 Apr 1999 02:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from vestein.arb-phys.uni-dortmund.de (vestein.arb-phys.uni-dortmund.de [192.109.44.6]) by hub.freebsd.org (Postfix) with ESMTP id 0668514BE2 for ; Mon, 26 Apr 1999 02:43:13 -0700 (PDT) (envelope-from wb@vestein.arb-phys.uni-dortmund.de) Received: (from wb@localhost) by vestein.arb-phys.uni-dortmund.de (8.9.2/8.9.1) id LAA40719; Mon, 26 Apr 1999 11:43:32 +0200 (MET DST) (envelope-from wb) Message-Id: <199904260943.LAA40719@vestein.arb-phys.uni-dortmund.de> Date: Mon, 26 Apr 1999 11:43:32 +0200 (MET DST) From: "Wilhelm B. Kloke" Reply-To: wb@vestein.arb-phys.uni-dortmund.de To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: misc/11328: a problem with setuid scripts Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 11328 >Category: misc >Synopsis: a problem with setuid scripts >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Mon Apr 26 02:50:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Wilhelm B. Kloke >Release: FreeBSD 3.1-RELEASE i386 >Organization: >Environment: >Description: It seems that a setuid bit in shell scripts is not honored. This may be necessary to avoid security lecks. This is not mentioned explicitly in execve(2). I tried even set setuid in /bin/sh, temporarily. I don't know whether this is a bug or feature. If it is a feature, then the example slip.login and the manual page sliplogin(8) are probably incorrect, as the process does not work as described. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message