On Wed, Feb 16, 2000 at 02:16:03PM +0100, Markus Friedl wrote:
> On Wed, Feb 16, 2000 at 10:35:37AM +0100, Niels M�ller wrote:
> > Updating the who-database is a little more tricky. Pointers to
> > documentation on how to do this properly and portably are
> > appreciated.  Using PAM is probably not an option.
> you could use the code from the portable openssh version
> (www.openssh.com) or liblogin from
> http://dspace.dial.pipex.com/andre.lucas/liblogin.html

This is something I'd really like to see too. I've spent half an hour or
so playing with the login.c from OpenSSH 1.2 and trying to integrate it
into lsh, but all I seem to have managed to do is make it segfault
several times.

Am I right in saying that we can assume we've logged in if we get to the
parent bit after the fork in do_spawn_shell() in server_session.c? And
when can we assume we've logged out? do_exit_shell(), also in
server_session.c?

J.

-- 
Programmer, |    "F**k a duck." -- Walt Disney    | Tel/SMS (Orange):
student and |                                     |  +44-7974-678646
BHMF.       |                                     | Made by HuggieTag

Reply via email to