diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | loginrec.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1,6 +1,8 @@ | |||
1 | 20101124 | 1 | 20101124 |
2 | - (dtucker) [platform.c session.c] Move the getluid call out of session.c and | 2 | - (dtucker) [platform.c session.c] Move the getluid call out of session.c and |
3 | into the platform-specific code Only affects SCO, tested by and ok tim@. | 3 | into the platform-specific code Only affects SCO, tested by and ok tim@. |
4 | - (djm) [loginrec.c] Relax permission requirement on btmp logs to allow | ||
5 | group read/write. ok dtucker@ | ||
4 | 6 | ||
5 | 20101122 | 7 | 20101122 |
6 | - (dtucker) Bug #1840: fix warning when configuring --with-ssl-engine, patch | 8 | - (dtucker) Bug #1840: fix warning when configuring --with-ssl-engine, patch |
diff --git a/loginrec.c b/loginrec.c index 95f14c46f..cccaa47ae 100644 --- a/loginrec.c +++ b/loginrec.c | |||
@@ -1673,7 +1673,7 @@ record_failed_login(const char *username, const char *hostname, | |||
1673 | strerror(errno)); | 1673 | strerror(errno)); |
1674 | goto out; | 1674 | goto out; |
1675 | } | 1675 | } |
1676 | if((fst.st_mode & (S_IRWXG | S_IRWXO)) || (fst.st_uid != 0)){ | 1676 | if((fst.st_mode & (S_IXGRP | S_IRWXO)) || (fst.st_uid != 0)){ |
1677 | logit("Excess permission or bad ownership on file %s", | 1677 | logit("Excess permission or bad ownership on file %s", |
1678 | _PATH_BTMP); | 1678 | _PATH_BTMP); |
1679 | goto out; | 1679 | goto out; |