diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | session.c | 3 |
2 files changed, 7 insertions, 2 deletions
@@ -3,7 +3,9 @@ | |||
3 | cjwatson@debian.org | 3 | cjwatson@debian.org |
4 | - (djm) Bug #460: Filling utmp[x]->ut_addr_v6 if present. Patch from | 4 | - (djm) Bug #460: Filling utmp[x]->ut_addr_v6 if present. Patch from |
5 | cjwatson@debian.org | 5 | cjwatson@debian.org |
6 | 6 | - (djm) Bug #446: Set LOGIN env var to pw_name on AIX. Patch from | |
7 | mii@ornl.gov | ||
8 | |||
7 | 20030101 | 9 | 20030101 |
8 | - (stevesk) [session.c sshlogin.c sshlogin.h] complete portable | 10 | - (stevesk) [session.c sshlogin.c sshlogin.h] complete portable |
9 | parts of pass addrlen with sockaddr * fix. | 11 | parts of pass addrlen with sockaddr * fix. |
@@ -923,4 +925,4 @@ | |||
923 | save auth method before monitor_reset_key_state(); bugzilla bug #284; | 925 | save auth method before monitor_reset_key_state(); bugzilla bug #284; |
924 | ok provos@ | 926 | ok provos@ |
925 | 927 | ||
926 | $Id: ChangeLog,v 1.2539 2003/01/03 03:42:27 djm Exp $ | 928 | $Id: ChangeLog,v 1.2540 2003/01/03 03:52:53 djm Exp $ |
@@ -969,6 +969,9 @@ do_setup_env(Session *s, const char *shell) | |||
969 | /* Set basic environment. */ | 969 | /* Set basic environment. */ |
970 | child_set_env(&env, &envsize, "USER", pw->pw_name); | 970 | child_set_env(&env, &envsize, "USER", pw->pw_name); |
971 | child_set_env(&env, &envsize, "LOGNAME", pw->pw_name); | 971 | child_set_env(&env, &envsize, "LOGNAME", pw->pw_name); |
972 | #ifdef _AIX | ||
973 | child_set_env(&env, &envsize, "LOGIN", pw->pw_name); | ||
974 | #endif | ||
972 | child_set_env(&env, &envsize, "HOME", pw->pw_dir); | 975 | child_set_env(&env, &envsize, "HOME", pw->pw_dir); |
973 | #ifdef HAVE_LOGIN_CAP | 976 | #ifdef HAVE_LOGIN_CAP |
974 | if (setusercontext(lc, pw, pw->pw_uid, LOGIN_SETPATH) < 0) | 977 | if (setusercontext(lc, pw, pw->pw_uid, LOGIN_SETPATH) < 0) |