Windows XP Windows 7 Windows 2003 Windows Vista Windows教程綜合 Linux 系統教程
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟件教程
 Windows教程網 >> Linux系統教程 >> Linux教程 >> solaris重啟syslog 配置單獨的認證日志

solaris重啟syslog 配置單獨的認證日志

日期:2017/2/7 14:37:40      編輯:Linux教程
 

在/etc/syslog裡面添加了下面一行:

auth.info /var/log/secure //記錄認證信息

接下來就需要重新啟動下syslog操作了

#svcadm restart system-log

#cat /var/log/secure

 

May 25 13:58:33 zhao-file sshd[893]: [ID 800047 auth.info] Accepted password for ckl from 180.168.81.54 port 53705 ssh2

May 25 13:59:45 zhao-file sshd[909]: [ID 800047 auth.info] Accepted publickey for ckl from 180.168.81.54 port 53706 ssh2

May 25 14:01:18 zhao-file sshd[938]: [ID 800047 auth.info] Did not receive identification string from 61.151.248.196

May 25 14:03:28 zhao-file sshd[911]: [ID 800047 auth.info] Received disconnect from 180.168.81.54: 0:

May 25 14:03:32 zhao-file sshd[895]: [ID 800047 auth.info] Received disconnect from 180.168.81.54: 0:

Copyright © Windows教程網 All Rights Reserved