Hi Experts,
i am getting auth alert messages displaying on users sessions console. How to stop such messhages displaying on console.
e.g.
May 2 17:49:05 ldom5 sudo: [ID 702911 auth.alert] dinesh : command not allowed ; TTY=pts/2 ; PWD=/export/home/dinesh ; USER=root ; COMMAND=invalidCommand
Solaris machine details: SunOS ldom5 5.11 11.2 sun4v sparc sun4v
Syslog.conf file:
root@ldom5:/export/home/dinesh# cat /etc/syslog.conf
#
# Copyright (c) 1991, 2014, Oracle and/or its affiliates. All rights reserved.
#
# syslog configuration file.
#
# This file is processed by m4 so be careful to quote (`') names
# that match m4 reserved words. Also, within ifdef's, arguments
# containing commas must be quoted.
#
*.err;kern.notice;auth.notice /dev/sysmsg
*.err;kern.debug;daemon.notice;auth.none;mail.crit /var/adm/messages
*.alert;kern.err;daemon.err operator
*.alert root
*.emerg *
# if a non-loghost machine chooses to have authentication messages
# sent to the loghost machine, un-comment out the following line:
#auth.notice ifdef(`LOGHOST', /var/log/authlog, @loghost)
mail.debug ifdef(`LOGHOST', /var/log/syslog, @loghost)
#
# non-loghost machines will use the following lines to cause "user"
# log messages to be logged locally.
#
ifdef(`LOGHOST', ,
user.err /dev/sysmsg
user.err /var/adm/messages
user.alert `root, operator'
user.emerg *
)
root@ldom5:/export/home/dinesh#