Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 156900 - permissions of /var/log/btmp cause sshd to complain
Summary: permissions of /var/log/btmp cause sshd to complain
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: initscripts
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-05-05 00:13 UTC by Jack Spaar
Modified: 2014-03-17 02:53 UTC (History)
1 user (show)

Fixed In Version: 8.11-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-05-05 03:47:43 UTC


Attachments (Terms of Use)

Description Jack Spaar 2005-05-05 00:13:32 UTC
Description of problem:
initscripts-8.10-1 installs /var/log/btmp with permissions that cause sshd to
complain.  Here's an extract from /var/log/secure:

May  4 16:49:57 localhost sshd[3130]: Excess permission or bad ownership on file
/var/log/btmp

$ ls -l /var/log/btmp
-rw-rw-r--  1 root utmp 0 May  4 16:48 /var/log/btmp


Version-Release number of selected component (if applicable):
initscripts-8.10-1

How reproducible:
Always.

Steps to Reproduce:
1. Force sshd to log a routine error (e.g., $ ssh invaliduser@localhost)
2. 
3.
  
Actual results:
See sshd message in /var/log/secure about "Excess permission or bad ownership on
file /var/log/btmp"

Expected results:
See only the routine error message (e.g., about the invalid login attempt).

Additional info:
sshd from openssh-server-4.0p1-2

chmod 0600 /var/log/btmp works around.

Comment 1 Bill Nottingham 2005-05-05 03:47:43 UTC
Will be fixed in 8.11-1, thanks!


Note You need to log in before you can comment on or make changes to this bug.