summaryrefslogtreecommitdiff
path: root/session.c
diff options
context:
space:
mode:
authortim <tim>2005-08-26 20:15:19 +0000
committertim <tim>2005-08-26 20:15:19 +0000
commitb7bb91a00123191d95c760cc763d5b9973534741 (patch)
tree70ab3112b5a915912552aa063845edff424119d9 /session.c
parentda1d3f4abfe8e3e43283ed8f5e3471bcd901da22 (diff)
downloadopenssh-b7bb91a00123191d95c760cc763d5b9973534741.tar.gz
- (tim) [CREDITS LICENCE auth.c configure.ac defines.h includes.h session.c
openbsd-compat/Makefile.in openbsd-compat/openbsd-compat.h openbsd-compat/xcrypt.c] New files [openssh/openbsd-compat/port-uw.c openssh/openbsd-compat/port-uw.h] Support long passwords (> 8-char) on UnixWare 7 from Dhiraj Gulati and Ahsan Rashid. Cleanup and testing by tim@. Feedback and OK dtucker@
Diffstat (limited to 'session.c')
-rw-r--r--session.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/session.c b/session.c
index 95084aec..98bd3121 100644
--- a/session.c
+++ b/session.c
@@ -1334,6 +1334,11 @@ do_setusercontext(struct passwd *pw)
# ifdef _AIX
aix_usrinfo(pw);
# endif /* _AIX */
+# ifdef HAVE_LIBIAF
+ if (set_id(pw->pw_name) != 0) {
+ exit(1);
+ }
+# endif
/* Permanently switch to the desired uid. */
permanently_set_uid(pw);
#endif