Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Feb 1997 01:06:39 +1100
From:      David Nugent <davidn@labs.usn.blaze.net.au>
To:        Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de>
Cc:        hackers@freebsd.org
Subject:   Re: should permissions of /usr/bin/login be changed to 0100 ???
Message-ID:  <19970210010639.44033@usn.blaze.net.au>
In-Reply-To: <Mutt.19970209122802.j@uriah.heep.sax.de>; from J Wunsch on Feb 02, 1997 at 12:28:02PM
References:  <19970208135454.ZJ37734@klemm.gtn.com> <Mutt.19970209122802.j@uriah.heep.sax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970210010639.44033>