- 论坛徽章:
- 0
|
如下:
a_j~:/etc# netstat -a
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:ftp *:* LISTEN
tcp 0 0 *:22 *:* LISTEN
tcp 0 0 localhost:smtp *:* LISTEN
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ] DGRAM 2044 @/org/kernel/udev/udevd
unix 2 [ ACC ] STREAM LISTENING 4053 /var/run/acpid.socket
unix 4 [ ] DGRAM 4026 /dev/log
unix 2 [ ] DGRAM 42664
unix 2 [ ] DGRAM 4055
已经注释了邮件行,还是不行,请高手指教.
# NOTE: This option should be present in the configuration file.
#
[email=#MAIL-ON-WARNING=me@mydomain]#MAIL-ON-WARNING=me@mydomain[/email] [email=root@mydomain]root@mydomain[/email]
#MAIL-ON-WARNING=""
#
# Specify the mail command to use if MAIL-ON-WARNING is set.
# NOTE: Double quotes are not required around the command, but
# are required around the subject line if it contains spaces.
#
#MAIL_CMD=mail -s "[rkhunter] Warnings found for ${HOST_NAME}" |
|