Bug 121507 - FC1 syslog.conf logs auth msgs to /var/log/messages
Summary: FC1 syslog.conf logs auth msgs to /var/log/messages
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: sysklogd
Version: 1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jason Vas Dias
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-04-22 07:49 UTC by Need Real Name
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-08-04 14:33:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Need Real Name 2004-04-22 07:49:54 UTC
Description of problem:
The default syslog.conf provided with FC1 has these lines:

# Don't log private authentication messages!
*.info;mail.none;authpriv.none;cron.none   /var/log/messages

However, authentication messages *do* get logged to /var/log/messages.

"auth" needs to be added to the above string, so it reads:

*.info;mail.none;auth,authpriv.none;cron.none   /var/log/messages


Version-Release number of selected component (if applicable):
1.4.1-13

Comment 1 Bill Nottingham 2004-04-22 20:32:15 UTC
What changed from authpriv to auth? What specific messages do you see?

Comment 2 Need Real Name 2004-04-22 20:59:29 UTC
From su and login, for example:

Apr 22 16:54:50 host su(pam_unix)[2716]: session opened for user root
by vader(uid=0)
Apr 22 16:54:50 host su(pam_unix)[2716]: session closed for user root
Apr 22 16:54:58 host login(pam_unix)[1047]: session opened for user
root by LOGIN(uid=0)
Apr 22 16:54:58 host  -- root[1047]: ROOT LOGIN ON tty1
Apr 22 16:55:02 host login(pam_unix)[1047]: session closed for user root

Comment 3 Jason Vas Dias 2004-08-04 14:33:34 UTC
In fc2+, syslog.conf is now:
"
# Don't log private authentication messages!
*.info;mail.none;news.none;authpriv.none;cron.none             
/var/log/messages

# The authpriv file has restricted access.
authpriv.*                                              /var/log/secure
"
These messages:
Apr 22 16:54:50 host su(pam_unix)[2716]: session closed for user root
Apr 22 16:54:50 host su(pam_unix)[2716]: session closed for user root
are auth.info messages; users can direct them 
elsewhere using syslog.conf, but by default they
are caught by
*.info;...   /var/log/messages



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