From owner-freebsd-stable Sat Oct 7 1:14:24 2000 Delivered-To: freebsd-stable@freebsd.org Received: from tisch.mail.mindspring.net (tisch.mail.mindspring.net [207.69.200.157]) by hub.freebsd.org (Postfix) with ESMTP id 131BE37B502 for ; Sat, 7 Oct 2000 01:14:20 -0700 (PDT) Received: from freebsd.mindspring.com (user-33qtcav.dialup.mindspring.com [199.174.177.95]) by tisch.mail.mindspring.net (8.9.3/8.8.5) with ESMTP id EAA07386 for ; Sat, 7 Oct 2000 04:14:18 -0400 (EDT) Received: (from david@localhost) by freebsd.mindspring.com (8.11.0/8.11.0) id e978EGH01404 for freebsd-stable@freebsd.org; Sat, 7 Oct 2000 03:14:16 -0500 (CDT) (envelope-from david) Date: Sat, 7 Oct 2000 03:14:16 -0500 From: "David J. Kanter" To: FreeBSD stable Subject: Security problem with "script"? Message-ID: <20001007031416.A1389@freebsd.mindspring.com> Mail-Followup-To: FreeBSD stable Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Operating-System: FreeBSD 4.1.1-RELEASE Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I don't know if this is an issue or not, but using the script program with sudo seems to switch the sudoer's id to root. Here's an example: david@/usr/src % whoami david david@/usr/src % sudo script /usr/tmp/buildworld Script started, output file is /usr/tmp/buildworld root@/usr/src % whoami root root@/usr/src % Is this a security problem? -- David Kanter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message