summaryrefslogtreecommitdiff
path: root/session.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-07-04 03:08:40 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-07-04 03:08:40 +0000
commit51b2488aad8b5387a8107e90b2f97dbe27ca850a (patch)
tree27193a6af2c6171e85f0b25362ec95b8cb8a7037 /session.c
parentee3a8e4abc63a525cb137bb9a233feabed184c8f (diff)
- (bal) Clean up aix_usrinfo(). Ignore TTY= period I guess.
Diffstat (limited to 'session.c')
-rw-r--r--session.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/session.c b/session.c
index 19b22c2aa..774e6168a 100644
--- a/session.c
+++ b/session.c
@@ -1209,8 +1209,7 @@ do_setusercontext(struct passwd *pw)
1209 irix_setusercontext(pw); 1209 irix_setusercontext(pw);
1210# endif /* defined(WITH_IRIX_PROJECT) || defined(WITH_IRIX_JOBS) || defined(WITH_IRIX_ARRAY) */ 1210# endif /* defined(WITH_IRIX_PROJECT) || defined(WITH_IRIX_JOBS) || defined(WITH_IRIX_ARRAY) */
1211# ifdef _AIX 1211# ifdef _AIX
1212 /* XXX: Disable tty setting. Enabled if required later */ 1212 aix_usrinfo(pw);
1213 aix_usrinfo(pw, &tty, -1);
1214# endif /* _AIX */ 1213# endif /* _AIX */
1215 /* Permanently switch to the desired uid. */ 1214 /* Permanently switch to the desired uid. */
1216 permanently_set_uid(pw); 1215 permanently_set_uid(pw);