From owner-freebsd-hackers Sun Sep 14 23:34:15 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA04627 for hackers-outgoing; Sun, 14 Sep 1997 23:34:15 -0700 (PDT) Received: from usr04.primenet.com (tlambert@usr04.primenet.com [206.165.6.204]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA04622 for ; Sun, 14 Sep 1997 23:34:12 -0700 (PDT) Received: (from tlambert@localhost) by usr04.primenet.com (8.8.5/8.8.5) id XAA15412; Sun, 14 Sep 1997 23:33:57 -0700 (MST) From: Terry Lambert Message-Id: <199709150633.XAA15412@usr04.primenet.com> Subject: Re: Here's an interesting bug in our utmp handling. To: grog@lemis.com (Greg Lehey) Date: Mon, 15 Sep 1997 06:33:57 +0000 (GMT) Cc: sef@Kithrup.COM, hackers@FreeBSD.ORG In-Reply-To: <19970915123230.44332@lemis.com> from "Greg Lehey" at Sep 15, 97 12:32:30 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > >> I don't understand why login should ever be called interactively. We > >> have su for that. > > > > That's funny, I thought Jordan demonstrated a wonderful reason why it may be > > desirable to run it interactively. > > Then I missed it (and I've deleted the message). What does it do that > su doesn't? 1) Changes your utmp/wtmp entries so there's a real accounting record for the new session that is not counted against the old for time online. 2) Modifies the TERM environment variable. 8-). Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.