diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | TODO | 5 | ||||
-rw-r--r-- | session.c | 9 |
3 files changed, 12 insertions, 6 deletions
@@ -7,6 +7,8 @@ | |||
7 | - (bal) if mmap() is substandard, don't allow compression on server side. | 7 | - (bal) if mmap() is substandard, don't allow compression on server side. |
8 | Post 'event' we will add more options. | 8 | Post 'event' we will add more options. |
9 | - (tim) [contrib/caldera/openssh.spec] Sync with Caldera | 9 | - (tim) [contrib/caldera/openssh.spec] Sync with Caldera |
10 | - (bal) moved aix_usrinfo() and noted not setting real TTY. Patch by | ||
11 | dtucker@zip.com.au | ||
10 | 12 | ||
11 | 20020624 | 13 | 20020624 |
12 | - OpenBSD CVS Sync | 14 | - OpenBSD CVS Sync |
@@ -1092,4 +1094,4 @@ | |||
1092 | - (stevesk) entropy.c: typo in debug message | 1094 | - (stevesk) entropy.c: typo in debug message |
1093 | - (djm) ssh-keygen -i needs seeded RNG; report from markus@ | 1095 | - (djm) ssh-keygen -i needs seeded RNG; report from markus@ |
1094 | 1096 | ||
1095 | $Id: ChangeLog,v 1.2270 2002/06/25 17:07:25 tim Exp $ | 1097 | $Id: ChangeLog,v 1.2271 2002/06/25 17:12:26 mouring Exp $ |
@@ -96,10 +96,11 @@ PrivSep Issues: | |||
96 | - PAM | 96 | - PAM |
97 | + See above PAM notes | 97 | + See above PAM notes |
98 | - AIX | 98 | - AIX |
99 | + Issues with usrinfo() | 99 | + usrinfo() does not set TTY, but only required for legicy systems. Works |
100 | with PrivSep. | ||
100 | - OSF | 101 | - OSF |
101 | + SIA is broken | 102 | + SIA is broken |
102 | - Cygwin | 103 | - Cygwin |
103 | + Privsep for Pre-auth only (no fd passing) | 104 | + Privsep for Pre-auth only (no fd passing) |
104 | 105 | ||
105 | $Id: TODO,v 1.49 2002/06/25 14:14:30 mouring Exp $ | 106 | $Id: TODO,v 1.50 2002/06/25 17:12:27 mouring Exp $ |
@@ -1152,6 +1152,8 @@ do_nologin(struct passwd *pw) | |||
1152 | void | 1152 | void |
1153 | do_setusercontext(struct passwd *pw) | 1153 | do_setusercontext(struct passwd *pw) |
1154 | { | 1154 | { |
1155 | char tty='\0'; | ||
1156 | |||
1155 | #ifdef HAVE_CYGWIN | 1157 | #ifdef HAVE_CYGWIN |
1156 | if (is_winnt) { | 1158 | if (is_winnt) { |
1157 | #else /* HAVE_CYGWIN */ | 1159 | #else /* HAVE_CYGWIN */ |
@@ -1196,6 +1198,10 @@ do_setusercontext(struct passwd *pw) | |||
1196 | # if defined(WITH_IRIX_PROJECT) || defined(WITH_IRIX_JOBS) || defined(WITH_IRIX_ARRAY) | 1198 | # if defined(WITH_IRIX_PROJECT) || defined(WITH_IRIX_JOBS) || defined(WITH_IRIX_ARRAY) |
1197 | irix_setusercontext(pw); | 1199 | irix_setusercontext(pw); |
1198 | # endif /* defined(WITH_IRIX_PROJECT) || defined(WITH_IRIX_JOBS) || defined(WITH_IRIX_ARRAY) */ | 1200 | # endif /* defined(WITH_IRIX_PROJECT) || defined(WITH_IRIX_JOBS) || defined(WITH_IRIX_ARRAY) */ |
1201 | # ifdef _AIX | ||
1202 | /* XXX: Disable tty setting. Enabled if required later */ | ||
1203 | aix_usrinfo(pw, &tty, -1); | ||
1204 | # endif /* _AIX */ | ||
1199 | /* Permanently switch to the desired uid. */ | 1205 | /* Permanently switch to the desired uid. */ |
1200 | permanently_set_uid(pw); | 1206 | permanently_set_uid(pw); |
1201 | #endif | 1207 | #endif |
@@ -1258,9 +1264,6 @@ do_child(Session *s, const char *command) | |||
1258 | do_motd(); | 1264 | do_motd(); |
1259 | #else /* HAVE_OSF_SIA */ | 1265 | #else /* HAVE_OSF_SIA */ |
1260 | do_nologin(pw); | 1266 | do_nologin(pw); |
1261 | # ifdef _AIX | ||
1262 | aix_usrinfo(pw, s->tty, s->ttyfd); | ||
1263 | # endif /* _AIX */ | ||
1264 | do_setusercontext(pw); | 1267 | do_setusercontext(pw); |
1265 | #endif /* HAVE_OSF_SIA */ | 1268 | #endif /* HAVE_OSF_SIA */ |
1266 | } | 1269 | } |