결과 올립니다.
작성자 정보
- 최혁 작성
- 작성일
컨텐츠 정보
- 2,346 조회
- 0 추천
- 목록
본문
네 답변해주셔서 감사드립니다.
다음과 같이 나옵니다. 최근에 샌드메일 안되서 다시 셋업 하였구요.
ls -la `find /usr/sbin -perm +4000`
total 208
drwxr-xr-x 2 root root 4096 7월 2 07:30 .
drwxr-xr-x 53 root root 4096 7월 4 04:02 ..
-rw-r--r-- 1 root root 920 4월 16 2004 Makefile
-rw------- 1 root root 559 6월 19 18:59 access
-rw-r----- 1 root root 12288 7월 1 18:22 access.db
-rw-r--r-- 1 root root 0 4월 16 2004 domaintable
-rw-r----- 1 root root 12288 7월 1 18:20 domaintable.db
-rw-r--r-- 1 root root 5588 4월 16 2004 helpfile
-rw------- 1 root root 136 7월 1 20:02 local-host-names
-rw-r--r-- 1 root root 0 4월 16 2004 mailertable
-rw-r----- 1 root root 12288 7월 1 18:20 mailertable.db
-rw-r--r-- 1 root root 57718 7월 1 18:49 sendmail.cf
-rw-r--r-- 1 root root 6090 7월 1 17:48 sendmail.mc
-r--r--r-- 1 root root 39181 4월 16 2004 submit.cf
-rw-r--r-- 1 root root 952 4월 16 2004 submit.mc
-rw-r--r-- 1 root root 127 4월 16 2004 trusted-users
-rw------- 1 root root 742 7월 2 07:30 virtusertable
-rw-r----- 1 root root 12288 7월 2 07:30 virtusertable.db
[root@ns1 mail]#
[root@ns1 xinetd.d]# netstat -lnp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 1704/mysqld
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 24215/xinetd
tcp 0 0 XXXXXXXXXXXX:53 0.0.0.0:* LISTEN 9673/named
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 9673/named
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 1788/proftpd: (acce
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 24215/xinetd
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 18351/sendmail: acc
tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 9673/named
tcp 0 0 :::80 :::* LISTEN 2991/httpd
tcp 0 0 :::443 :::* LISTEN 2991/httpd
udp 0 0 XXXXXXXXXXX:53 0.0.0.0:* 9673/named
udp 0 0 127.0.0.1:53 0.0.0.0:* 9673/named
udp 0 0 0.0.0.0:33608 0.0.0.0:* 9673/named
udp 0 0 :::33609 :::* 9673/named
Active UNIX domain sockets (only servers)
Proto RefCnt Flags Type State I-Node PID/Program name Path
unix 2 [ ACC ] STREAM LISTENING 2283 1704/mysqld /var/lib/mysql/mysql.sock
unix 2 [ ACC ] STREAM LISTENING 2459 1771/saslauthd /var/run/saslauthd/mux
[root@ns1 xinetd.d]#
total 24
-rw-r--r-- 1 root root 233 7월 3 11:25 ftp
-rw-r--r-- 1 root root 231 7월 3 11:25 pop3
-rw-r--r-- 1 root root 317 7월 3 11:25 rsync
-rw-r--r-- 1 root root 501 7월 3 11:25 sgi_fam
-rw-r--r-- 1 root root 259 7월 3 11:25 ssh
-rw-r--r-- 1 root root 404 7월 3 11:25 xproftpd
service ftp
{
disable = yes
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/vsftpd
log_on_failure += USERID
}
service pop3
{
disable = no
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/local/lib/popper
server_args = qpopper -s
}
UW PICO(tm) 4.10 File: rsync
# default: off
# description: The rsync server is a good addition to an ftp server, as it
# allows crc checksumming etc.
service rsync
{
disable = yes
socket_type = stream
wait = no
user = root
server = /usr/bin/rsync
server_args = --daemon
log_on_failure += USERID
}
# default: off
# description: FAM is a file monitoring daemon. It can
# be used to get reports when files change.
#
# The daemon conflicts with selinux, so you must boot
# with selinux disabled to use this.
service sgi_fam
{
disable = yes
type = RPC UNLISTED
socket_type = stream
user = root
group = nobody
server = /usr/bin/fam
wait = yes
protocol = tcp
rpc_version = 2
rpc_number = 391002
bind = 127.0.0.1
}
service ssh
{
disable = no
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/sshd
server_args = -i
log_on_failure += USERID
}
# default: off
# $Id: proftpd-xinetd,v 1.1 2004/02/26 17:57:39 thias Exp $
# description: The ProFTPD FTP server serves FTP connections. It uses
# normal, unencrypted usernames and passwords for authentication.
service ftp
{
disable = yes
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.proftpd
log_on_success += DURATION USERID
log_on_failure += USERID
nice = 10
}
[root@ns1 xinetd.d]# pstree
init-+-crond
|-events/0-+-aio/0
| |-aio/1
| |-kacpid
| |-kblockd/0
| |-kblockd/1
| |-khelper
| `-2*[pdflush]
|-events/1
|-httpd---10*[httpd]
|-khubd
|-5*[kjournald]
|-klogd
|-kseriod
|-ksoftirqd/0
|-ksoftirqd/1
|-kswapd0
|-migration/0
|-migration/1
|-6*[mingetty]
|-named
|-proftpd
|-safe_mysqld---mysqld
|-saslauthd---4*[saslauthd]
|-2*[sendmail]
|-syslogd
`-xinetd---sshd---sshd---bash---su---bash---pstree
[root@ns1 xinetd.d]#
관련자료
-
이전
-
다음