Date: Mon, 15 Sep 1997 02:55:01 +0000 (GMT) From: Terry Lambert <tlambert@primenet.com> To: grog@lemis.com (Greg Lehey) Cc: tlambert@primenet.com, brian@awfulhak.org, jkh@time.cdrom.com, hackers@FreeBSD.ORG Subject: Re: Here's an interesting bug in our utmp handling. Message-ID: <199709150255.TAA13144@usr09.primenet.com> In-Reply-To: <19970915121733.25438@lemis.com> from "Greg Lehey" at Sep 15, 97 12:17:33 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> >>> I don't understand why login should ever be called interactively. We > >>> have su for that. > >> > >> Perhaps 0500 permissions are in order. > > > > Ugh. Why not make it work as documented, instead? > > Because it requires changing every shell. Most are ports. In exec, revoke the tty to kill off all the other processes, if it's /bin/login, while keeping the tty for the process exec'ing so it doesn't hang up. The original reason for this was to let you actually re-login; it is useful for dialup connections, which would otherwise cause you to have to reestablish the call. Consider phone networks with higher charges for call teardown and reestablishing a call than the charges you'd pay for remaining online. Most long distance calls fall into this category, even in the US. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709150255.TAA13144>