From owner-freebsd-hackers Wed Sep 6 14:33:01 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.freebsd.org (8.6.11/8.6.6) id OAA24005 for hackers-outgoing; Wed, 6 Sep 1995 14:33:01 -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 OAA23993 for ; Wed, 6 Sep 1995 14:32:34 -0700 Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id XAA02949 for ; Wed, 6 Sep 1995 23:31:58 +0200 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id XAA09025 for hackers@FreeBSD.ORG; Wed, 6 Sep 1995 23:31:57 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.6.12/8.6.9) id SAA04550 for hackers@FreeBSD.ORG; Wed, 6 Sep 1995 18:13:05 +0200 From: J Wunsch Message-Id: <199509061613.SAA04550@uriah.heep.sax.de> Subject: Re: Change in behaviour of SU... To: hackers@FreeBSD.ORG Date: Wed, 6 Sep 1995 18:13:05 +0200 (MET DST) Reply-To: hackers@FreeBSD.ORG In-Reply-To: <199509060803.KAA03216@uriah.heep.sax.de> from "J Wunsch" at Sep 6, 95 10:03:03 am 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: 548 Sender: hackers-owner@FreeBSD.ORG Precedence: bulk As J Wunsch wrote: > > > > 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) It's back in CVS. -- 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. ;-)