From owner-freebsd-hackers Wed Sep 6 03:23:51 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.freebsd.org (8.6.11/8.6.6) id DAA00710 for hackers-outgoing; Wed, 6 Sep 1995 03:23:51 -0700 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.6.11/8.6.6) with ESMTP id DAA00643 for ; Wed, 6 Sep 1995 03:22:25 -0700 Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id MAA12753 for ; Wed, 6 Sep 1995 12:20:57 +0200 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id MAA03440 for hackers@FreeBSD.ORG; Wed, 6 Sep 1995 12:20:56 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.6.12/8.6.9) id KAA03216 for hackers@FreeBSD.ORG; Wed, 6 Sep 1995 10:03:04 +0200 From: J Wunsch Message-Id: <199509060803.KAA03216@uriah.heep.sax.de> Subject: Re: Change in behaviour of SU... To: hackers@FreeBSD.ORG Date: Wed, 6 Sep 1995 10:03:03 +0200 (MET DST) Reply-To: hackers@FreeBSD.ORG In-Reply-To: <199509052051.WAA01505@keltia.frmug.fr.net> from "Ollivier Robert" at Sep 5, 95 10:51:04 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 554 Sender: hackers-owner@FreeBSD.ORG Precedence: bulk As Ollivier Robert wrote: > > It seems that Sean Eric Fagan said: > > When you say "su root -c ls" you are saying, "as root, do '/bin/csh -c ls'". > > If you say "su root exit", you are saying, "as root, do '/bin/sh exit'". > > OK, mea culpa. Not enough coffee, I should RTFS more. j@bonnie 121% uname -rs FreeBSD 1.1.5.1(RELEASE) j@bonnie 122% su r -c id Password: uid=0(root) gid=0(wheel) groups=0(wheel) -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-)