From owner-freebsd-hackers Sun Feb 9 06:07:07 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id GAA17182 for hackers-outgoing; Sun, 9 Feb 1997 06:07:07 -0800 (PST) Received: from labs.usn.blaze.net.au (labs.usn.blaze.net.au [203.17.53.30]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA17174 for ; Sun, 9 Feb 1997 06:07:01 -0800 (PST) Received: (from davidn@localhost) by labs.usn.blaze.net.au (8.8.5/8.8.5) id BAA01077; Mon, 10 Feb 1997 01:06:39 +1100 (EST) Message-ID: <19970210010639.44033@usn.blaze.net.au> Date: Mon, 10 Feb 1997 01:06:39 +1100 From: David Nugent To: Joerg Wunsch Cc: hackers@freebsd.org Subject: Re: should permissions of /usr/bin/login be changed to 0100 ??? References: <19970208135454.ZJ37734@klemm.gtn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.61 In-Reply-To: ; from J Wunsch on Feb 02, 1997 at 12:28:02PM Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Feb 02, 1997 at 12:28:02PM, J Wunsch wrote: > I sometimes love to have this feature. E.g., i log in via modem, > setup or fixup a PPP account, and then exec login to the PPP account. > Doing this all from inside the `term' command of PPP allows me to try > the PPP session directly. I'm not sure whether exec su -l pppaccount > will also work here. I don't see why not. The only difference is that su(1) doesn't call setlogin(), so the session remains "owned" by the original login, and wtmp is no longer involved (which is a Good Thing). Regards, David Nugent - Unique Computing Pty Ltd - Melbourne, Australia Voice +61-3-9791-9547 Data/BBS +61-3-9792-3507 3:632/348@fidonet davidn@freebsd.org davidn@blaze.net.au http://www.blaze.net.au/~davidn/