diff options
Diffstat (limited to 'session.c')
-rw-r--r-- | session.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -33,7 +33,7 @@ | |||
33 | */ | 33 | */ |
34 | 34 | ||
35 | #include "includes.h" | 35 | #include "includes.h" |
36 | RCSID("$OpenBSD: session.c,v 1.167 2003/11/04 08:54:09 djm Exp $"); | 36 | RCSID("$OpenBSD: session.c,v 1.168 2003/11/21 11:57:03 djm Exp $"); |
37 | 37 | ||
38 | #include "ssh.h" | 38 | #include "ssh.h" |
39 | #include "ssh1.h" | 39 | #include "ssh1.h" |
@@ -980,7 +980,7 @@ do_setup_env(Session *s, const char *shell) | |||
980 | #endif | 980 | #endif |
981 | 981 | ||
982 | #ifdef GSSAPI | 982 | #ifdef GSSAPI |
983 | /* Allow any GSSAPI methods that we've used to alter | 983 | /* Allow any GSSAPI methods that we've used to alter |
984 | * the childs environment as they see fit | 984 | * the childs environment as they see fit |
985 | */ | 985 | */ |
986 | ssh_gssapi_do_child(&env, &envsize); | 986 | ssh_gssapi_do_child(&env, &envsize); |
@@ -1012,7 +1012,7 @@ do_setup_env(Session *s, const char *shell) | |||
1012 | path = child_get_env(env, "PATH"); | 1012 | path = child_get_env(env, "PATH"); |
1013 | # endif /* HAVE_ETC_DEFAULT_LOGIN */ | 1013 | # endif /* HAVE_ETC_DEFAULT_LOGIN */ |
1014 | if (path == NULL || *path == '\0') { | 1014 | if (path == NULL || *path == '\0') { |
1015 | child_set_env(&env, &envsize, "PATH", | 1015 | child_set_env(&env, &envsize, "PATH", |
1016 | s->pw->pw_uid == 0 ? | 1016 | s->pw->pw_uid == 0 ? |
1017 | SUPERUSER_PATH : _PATH_STDPATH); | 1017 | SUPERUSER_PATH : _PATH_STDPATH); |
1018 | } | 1018 | } |
@@ -1266,7 +1266,7 @@ do_setusercontext(struct passwd *pw) | |||
1266 | endgrent(); | 1266 | endgrent(); |
1267 | # ifdef USE_PAM | 1267 | # ifdef USE_PAM |
1268 | /* | 1268 | /* |
1269 | * PAM credentials may take the form of supplementary groups. | 1269 | * PAM credentials may take the form of supplementary groups. |
1270 | * These will have been wiped by the above initgroups() call. | 1270 | * These will have been wiped by the above initgroups() call. |
1271 | * Reestablish them here. | 1271 | * Reestablish them here. |
1272 | */ | 1272 | */ |