/var/ftp/
가 익명사용자 기본 루트 디렉토리
서브디렉토리(upload) 만들어주고 그룹이랑 권한 바꿔준다.
read 권한 있으면 다운로드 가능. 그래서 저장됬는지 확인도 못한당
write 권한 있으면 업로드 가능.
chgrp ftp upload
chroot_local_user=YES
이러면 일반사용자가 자기 홈디렉토리 이상으로 못 옮김
실제론 본인의 홈디렉토리
pwd로 해도 / 로만 나옴
보안설정 가능함.
106 # When "listen" directive is enabled, vsftpd runs in standalone mode and
107 # listens on IPv4 sockets. This directive cannot be used in conjunction
108 # with the listen_ipv6 directive.
109 listen=YES // yes면 standalone
[root@station1 xinetd.d]# rpm -ql vsftpd
현재 /etc/xinetd.d/
[root@station1 xinetd.d]# cp /usr/share/doc/vsftpd-2.2.2/vsftpd.xinetd .
[root@station1 xinetd.d]# chkconfig vsftpd.xinetd on
'UNIX > Redhat' 카테고리의 다른 글
레드햇 MPIO (0) | 2013.07.15 |
---|---|
레드햇6 DM Multipath (0) | 2013.07.15 |
xinetd / standalone (0) | 2013.06.12 |
14장 using apache (0) | 2013.06.12 |
repository ftp주소로 추가 + 영문버전 (0) | 2013.04.15 |