Changeset 667


Ignore:
Timestamp:
Feb 25, 2008, 11:42:55 PM (17 years ago)
Author:
quentin
Message:
Don't log logins from non-root users
File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/fedora/config/etc/syslog-ng/d_zroot.pl

    r666 r667  
    4545        } elsif ($message =~ m|Root (\S+) shell|) {
    4646            sendmsg($message);
    47         } elsif ($message =~ m|session \S+ for user root\b|) {
    48             sendmsg($message);
     47        } elsif ($message =~ m|session \S+ for user (\S+)|) {
     48            sendmsg($message) if exists $USERS{$1};
    4949        } elsif ($message =~ m|^Connection closed|) {
    5050            # Do nothing
Note: See TracChangeset for help on using the changeset viewer.