mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-12-27 20:42:07 +00:00
- (djm) [loginrec.c] Relax permission requirement on btmp logs to allow
group read/write. ok dtucker@
This commit is contained in:
parent
d995712383
commit
88e341e1ca
@ -1,6 +1,8 @@
|
|||||||
20101124
|
20101124
|
||||||
- (dtucker) [platform.c session.c] Move the getluid call out of session.c and
|
- (dtucker) [platform.c session.c] Move the getluid call out of session.c and
|
||||||
into the platform-specific code Only affects SCO, tested by and ok tim@.
|
into the platform-specific code Only affects SCO, tested by and ok tim@.
|
||||||
|
- (djm) [loginrec.c] Relax permission requirement on btmp logs to allow
|
||||||
|
group read/write. ok dtucker@
|
||||||
|
|
||||||
20101122
|
20101122
|
||||||
- (dtucker) Bug #1840: fix warning when configuring --with-ssl-engine, patch
|
- (dtucker) Bug #1840: fix warning when configuring --with-ssl-engine, patch
|
||||||
|
@ -1673,7 +1673,7 @@ record_failed_login(const char *username, const char *hostname,
|
|||||||
strerror(errno));
|
strerror(errno));
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
if((fst.st_mode & (S_IRWXG | S_IRWXO)) || (fst.st_uid != 0)){
|
if((fst.st_mode & (S_IXGRP | S_IRWXO)) || (fst.st_uid != 0)){
|
||||||
logit("Excess permission or bad ownership on file %s",
|
logit("Excess permission or bad ownership on file %s",
|
||||||
_PATH_BTMP);
|
_PATH_BTMP);
|
||||||
goto out;
|
goto out;
|
||||||
|
Loading…
Reference in New Issue
Block a user