diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | session.c | 4 |
2 files changed, 8 insertions, 3 deletions
@@ -1,3 +1,8 @@ | |||
1 | 20010713 | ||
2 | - (djm) Enable /etc/nologin check on PAM systems, as some lack the | ||
3 | pam_nologin module. Report from William Yodlowsky | ||
4 | <bsd@openbsd.rutgers.edu> | ||
5 | |||
1 | 20010711 | 6 | 20010711 |
2 | - (djm) dirname(3) may modify its argument on glibc and other systems. | 7 | - (djm) dirname(3) may modify its argument on glibc and other systems. |
3 | Patch from markus@, spotted by Tom Holroyd <tomh@po.crl.go.jp> | 8 | Patch from markus@, spotted by Tom Holroyd <tomh@po.crl.go.jp> |
@@ -5972,4 +5977,4 @@ | |||
5972 | - Wrote replacements for strlcpy and mkdtemp | 5977 | - Wrote replacements for strlcpy and mkdtemp |
5973 | - Released 1.0pre1 | 5978 | - Released 1.0pre1 |
5974 | 5979 | ||
5975 | $Id: ChangeLog,v 1.1384 2001/07/11 11:32:20 djm Exp $ | 5980 | $Id: ChangeLog,v 1.1385 2001/07/14 01:54:05 djm Exp $ |
@@ -1050,7 +1050,7 @@ do_child(Session *s, const char *command) | |||
1050 | if (options.use_login && command != NULL) | 1050 | if (options.use_login && command != NULL) |
1051 | options.use_login = 0; | 1051 | options.use_login = 0; |
1052 | 1052 | ||
1053 | #if !defined(USE_PAM) && !defined(HAVE_OSF_SIA) | 1053 | #if !defined(HAVE_OSF_SIA) |
1054 | if (!options.use_login) { | 1054 | if (!options.use_login) { |
1055 | # ifdef HAVE_LOGIN_CAP | 1055 | # ifdef HAVE_LOGIN_CAP |
1056 | if (!login_getcapbool(lc, "ignorenologin", 0) && pw->pw_uid) | 1056 | if (!login_getcapbool(lc, "ignorenologin", 0) && pw->pw_uid) |
@@ -1068,7 +1068,7 @@ do_child(Session *s, const char *command) | |||
1068 | exit(254); | 1068 | exit(254); |
1069 | } | 1069 | } |
1070 | } | 1070 | } |
1071 | #endif /* USE_PAM || HAVE_OSF_SIA */ | 1071 | #endif /* HAVE_OSF_SIA */ |
1072 | 1072 | ||
1073 | /* Set login name, uid, gid, and groups. */ | 1073 | /* Set login name, uid, gid, and groups. */ |
1074 | /* Login(1) does this as well, and it needs uid 0 for the "-h" | 1074 | /* Login(1) does this as well, and it needs uid 0 for the "-h" |