Date: Sun, 9 Apr 1995 12:06:54 -0700 (PDT) From: "Rodney W. Grimes" <rgrimes@gndrsh.aac.dev.com> To: joerg_wunsch@uriah.heep.sax.de Cc: freebsd-hackers@FreeBSD.org Subject: Re: should su retain ${DISPLAY} Message-ID: <199504091906.MAA19487@gndrsh.aac.dev.com> In-Reply-To: <199504091652.SAA07493@uriah.heep.sax.de> from "J Wunsch" at Apr 9, 95 06:52:42 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199504091906.MAA19487>