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

merged 2 commits into from Sep 21, 2014


None yet

3 participants

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:


@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