Red Hat Bugzilla – Bug 117844
Please add section to logrotate.conf for "/var/log/btmp"
Last modified: 2007-11-30 17:10:38 EST
Description of problem:
If the sysadmin creates /var/log/btmp (bad logins file), it will never
get rotated by default.
IMHO, it would be good to add the following to the default
create 0400 root root (or 0440 root wheel)
Version-Release number of selected component (if applicable):
What program creates by default /var/log/btmp file?
None that I know of, which is why I said "If the sysadmin creates
/var/log/btmp." If he does so, login(1) will keep writing to the same
file and it will never be rotated.
IMHO it would be a good idea for the OS installer to "touch" the file
(mode 0400), but maybe that is a separate issue for the 'setup' package?