Print this page
    
OS-136 Need to log auth facility
    
      
        | Split | 
	Close | 
      
      | Expand all | 
      | Collapse all | 
    
    
          --- old/usr/src/cmd/syslogd/syslog.conf
          +++ new/usr/src/cmd/syslogd/syslog.conf
   1    1  #
   2    2  # CDDL HEADER START
   3    3  #
   4    4  # The contents of this file are subject to the terms of the
   5    5  # Common Development and Distribution License, Version 1.0 only
   6    6  # (the "License").  You may not use this file except in compliance
   7    7  # with the License.
   8    8  #
   9    9  # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
  10   10  # or http://www.opensolaris.org/os/licensing.
  11   11  # See the License for the specific language governing permissions
  
    | 
      ↓ open down ↓ | 
    11 lines elided | 
    
      ↑ open up ↑ | 
  
  12   12  # and limitations under the License.
  13   13  #
  14   14  # When distributing Covered Code, include this CDDL HEADER in each
  15   15  # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  16   16  # If applicable, add the following below this CDDL HEADER, with the
  17   17  # fields enclosed by brackets "[]" replaced with your own identifying
  18   18  # information: Portions Copyright [yyyy] [name of copyright owner]
  19   19  #
  20   20  # CDDL HEADER END
  21   21  #
  22      -#ident  "%Z%%M% %I%     %E% SMI"        /* SunOS 5.0 */
       22 +
  23   23  #
  24   24  # Copyright (c) 1991-1998 by Sun Microsystems, Inc.
  25   25  # All rights reserved.
       26 +# Copyright 2014 Nexenta Systems, Inc.  All rights reserved.
  26   27  #
       28 +
       29 +#
  27   30  # syslog configuration file.
  28   31  #
  29   32  # This file is processed by m4 so be careful to quote (`') names
  30   33  # that match m4 reserved words.  Also, within ifdef's, arguments
  31   34  # containing commas must be quoted.
  32   35  #
  33      -*.err;kern.notice;auth.notice                   /dev/sysmsg
       36 +#*.err;kern.notice;auth.notice                  /dev/sysmsg
  34   37  *.err;kern.debug;daemon.notice;mail.crit        /var/adm/messages
  35   38  
  36   39  *.alert;kern.err;daemon.err                     operator
  37   40  *.alert                                         root
  38   41  
  39   42  *.emerg                                         *
  40   43  
       44 +auth.info                                       /var/log/authlog
       45 +
  41   46  # if a non-loghost machine chooses to have authentication messages
  42   47  # sent to the loghost machine, un-comment out the following line:
  43   48  #auth.notice                    ifdef(`LOGHOST', /var/log/authlog, @loghost)
  44   49  
  45   50  mail.debug                      ifdef(`LOGHOST', /var/log/syslog, @loghost)
  46   51  
  47   52  #
  48   53  # non-loghost machines will use the following lines to cause "user"
  49   54  # log messages to be logged locally.
  50   55  #
  51   56  ifdef(`LOGHOST', ,
  52   57  user.err                                        /dev/sysmsg
  53   58  user.err                                        /var/adm/messages
  54   59  user.alert                                      `root, operator'
  55   60  user.emerg                                      *
  56   61  )
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX