From owner-freebsd-hackers Sun Apr 9 12:08:20 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id MAA29499 for hackers-outgoing; Sun, 9 Apr 1995 12:08:20 -0700 Received: from gndrsh.aac.dev.com (gndrsh.aac.dev.com [198.145.92.241]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id MAA29491 for ; Sun, 9 Apr 1995 12:08:17 -0700 Received: (from rgrimes@localhost) by gndrsh.aac.dev.com (8.6.8/8.6.6) id MAA19487; Sun, 9 Apr 1995 12:06:55 -0700 From: "Rodney W. Grimes" Message-Id: <199504091906.MAA19487@gndrsh.aac.dev.com> Subject: Re: should su retain ${DISPLAY} To: joerg_wunsch@uriah.heep.sax.de Date: Sun, 9 Apr 1995 12:06:54 -0700 (PDT) Cc: freebsd-hackers@FreeBSD.org In-Reply-To: <199504091652.SAA07493@uriah.heep.sax.de> from "J Wunsch" at Apr 9, 95 06:52:42 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1313 Sender: hackers-owner@FreeBSD.org Precedence: bulk > > As Jordan K. Hubbard wrote: > > > > > Your right, it should completely reset the environment as if it was a fresh > > > login. Speaking of su, why the hell doesnt FreeBSD's su support -c cmd like > > > every other su on the planet? > > > > Hmmmm. Therein lies a mystery! > > > > I believe we lost this in the 1.x transition! :-( > > We've never had it. The word `every' in the above sentence must be > `every second'. It was not documented in 1.x, but we sure as heck had it: RCS file: /home/cvs/386BSD/src/usr.bin/su/su.c,v ... ---------------------------- revision 1.5 date: 1994/06/23 05:45:18; author: jkh; state: Exp; lines: +30 -32 su -c was broken before (whoops!); these changes from Barry Morris should put it right. My build fell over last night (!#$%&^* broken NFS soft mounts!) so I had a change to fold this in. ---------------------------- revision 1.4 date: 1994/04/03 00:16:36; author: jkh; state: Exp; lines: +53 -28 Barry Morris's (bsm@freefall) changes to su. ---------------------------- gndrsh# uname -a FreeBSD gndrsh.aac.dev.com 1.1.5.1(RELEASE) GNDRSH#0 i386 gndrsh# su rgrimes -c whoami rgrimes gndrsh# -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Custom computers for FreeBSD