diff options
Diffstat (limited to 'session.c')
-rw-r--r-- | session.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1431,6 +1431,13 @@ do_child(Session *s, const char *command) | |||
1431 | #else /* HAVE_OSF_SIA */ | 1431 | #else /* HAVE_OSF_SIA */ |
1432 | do_nologin(pw); | 1432 | do_nologin(pw); |
1433 | do_setusercontext(pw); | 1433 | do_setusercontext(pw); |
1434 | /* | ||
1435 | * PAM session modules in do_setusercontext may have | ||
1436 | * generated messages, so if this in an interactive | ||
1437 | * login then display them too. | ||
1438 | */ | ||
1439 | if (command == NULL) | ||
1440 | display_loginmsg(); | ||
1434 | #endif /* HAVE_OSF_SIA */ | 1441 | #endif /* HAVE_OSF_SIA */ |
1435 | } | 1442 | } |
1436 | 1443 | ||