Fix permissions for /var/log/btmp (sshd requires it to be 0600) #36

Merged
merged 2 commits into from Sep 21, 2014

Projects

None yet

3 participants

@MasonM
Contributor
MasonM commented May 12, 2014

The logrotate::defaults::suse class correctly uses 0600 as the create_mode for /var/log/btmp, but logrotate::defaults::redhat and logrotate::defaults::debian use 0660. That causes sshd to emit the following error:

 sshd[24031]: Excess permission or bad ownership on file /var/log/btmp

Relevant Redhat bug: https://bugzilla.redhat.com/show_bug.cgi?id=485553

+1

@rodjek rodjek merged commit 89ee645 into rodjek:master Sep 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment