diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | session.c | 10 |
2 files changed, 10 insertions, 5 deletions
@@ -7,6 +7,9 @@ | |||
7 | - markus@cvs.openbsd.org 2002/03/27 22:21:45 | 7 | - markus@cvs.openbsd.org 2002/03/27 22:21:45 |
8 | [ssh-keygen.c] | 8 | [ssh-keygen.c] |
9 | try to import keys with extra trailing === (seen with ssh.com < 2.0.12) | 9 | try to import keys with extra trailing === (seen with ssh.com < 2.0.12) |
10 | - markus@cvs.openbsd.org 2002/03/28 15:34:51 | ||
11 | [session.c] | ||
12 | do not call record_login twice (for use_privsep) | ||
10 | 13 | ||
11 | 20020401 | 14 | 20020401 |
12 | - (stevesk) [monitor.c] PAM should work again; will *not* work with | 15 | - (stevesk) [monitor.c] PAM should work again; will *not* work with |
@@ -8114,4 +8117,4 @@ | |||
8114 | - Wrote replacements for strlcpy and mkdtemp | 8117 | - Wrote replacements for strlcpy and mkdtemp |
8115 | - Released 1.0pre1 | 8118 | - Released 1.0pre1 |
8116 | 8119 | ||
8117 | $Id: ChangeLog,v 1.2008 2002/04/02 20:26:26 mouring Exp $ | 8120 | $Id: ChangeLog,v 1.2009 2002/04/02 20:32:46 mouring Exp $ |
@@ -33,7 +33,7 @@ | |||
33 | */ | 33 | */ |
34 | 34 | ||
35 | #include "includes.h" | 35 | #include "includes.h" |
36 | RCSID("$OpenBSD: session.c,v 1.132 2002/03/19 10:49:35 markus Exp $"); | 36 | RCSID("$OpenBSD: session.c,v 1.133 2002/03/28 15:34:51 markus Exp $"); |
37 | 37 | ||
38 | #include "ssh.h" | 38 | #include "ssh.h" |
39 | #include "ssh1.h" | 39 | #include "ssh1.h" |
@@ -648,9 +648,11 @@ do_login(Session *s, const char *command) | |||
648 | } | 648 | } |
649 | 649 | ||
650 | /* Record that there was a login on that tty from the remote host. */ | 650 | /* Record that there was a login on that tty from the remote host. */ |
651 | record_login(pid, s->tty, pw->pw_name, pw->pw_uid, | 651 | if (!use_privsep) |
652 | get_remote_name_or_ip(utmp_len, options.verify_reverse_mapping), | 652 | record_login(pid, s->tty, pw->pw_name, pw->pw_uid, |
653 | (struct sockaddr *)&from); | 653 | get_remote_name_or_ip(utmp_len, |
654 | options.verify_reverse_mapping), | ||
655 | (struct sockaddr *)&from); | ||
654 | 656 | ||
655 | #ifdef USE_PAM | 657 | #ifdef USE_PAM |
656 | /* | 658 | /* |