From owner-freebsd-stable Sat Oct 27 8:28:49 2001 Delivered-To: freebsd-stable@freebsd.org Received: from r220-1.rz.RWTH-Aachen.DE (r220-1.rz.RWTH-Aachen.DE [134.130.3.31]) by hub.freebsd.org (Postfix) with ESMTP id 5556537B406; Sat, 27 Oct 2001 08:28:43 -0700 (PDT) Received: from r220-1.rz.RWTH-Aachen.DE (relay2.RWTH-Aachen.DE [134.130.3.1]) by r220-1.rz.RWTH-Aachen.DE (8.10.1/8.11.3-2) with ESMTP id f9RFSej23385; Sat, 27 Oct 2001 17:28:40 +0200 (MEST) Received: from hyperion.informatik.rwth-aachen.de (hyperion.Informatik.RWTH-Aachen.de [137.226.112.212]) by r220-1.rz.RWTH-Aachen.DE (8.10.1/8.11.3/6) with ESMTP id f9RFSdo23377; Sat, 27 Oct 2001 17:28:39 +0200 (MEST) Received: from margaux.informatik.rwth-aachen.de (margaux.Informatik.RWTH-Aachen.DE [137.226.194.72]) by hyperion.informatik.rwth-aachen.de (8.9.1b+Sun/8.9.1) with ESMTP id RAA09890; Sat, 27 Oct 2001 17:26:48 +0200 (MET DST) Received: (from stolz@localhost) by margaux.informatik.rwth-aachen.de (8.9.1b+Sun/8.9.1-gb-2) id RAA00798; Sat, 27 Oct 2001 17:28:39 +0200 (MET DST) Date: Sat, 27 Oct 2001 17:28:39 +0200 From: Volker Stolz To: "Jose M. Alcaide" Cc: freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org Subject: Re: login(1) now forks the shell instead of exec'ing it ? Message-ID: <20011027172839.A793@i2.informatik.rwth-aachen.de> Reply-To: freebsd-hackers@freebsd.org References: <20011026154851.B378@v-ger.we.lc.ehu.es> <17070000.1004104497@vpn68.ece.cmu.edu> <20011026160930.D378@v-ger.we.lc.ehu.es> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.17i In-Reply-To: <20011026160930.D378@v-ger.we.lc.ehu.es> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In local.freebsd-stable, you wrote: > Anyway, I am a bit sad after losing the traditional login(1) behavior. :-) You're right, it even makes things harder to understand (& verify). There do exist other languages which will allow you to do something similar to calling "login", but returning to your code afterwards. But I'm really oversimplyfying things and you surely don't want to use these programming languages for OS binaries (yet!) :-) OTOH, how about passing on PAM-credentials on to login and telling it via a switch to close PAM on termination? Of course this would imply some magic, I'm sure. [F'Up to -hackers. Maybe someone has a flash of inspiration?] -- Volker Stolz * stolz@i2.informatik.rwth-aachen.de * PGP + S/MIME To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message