카테고리 없음2012. 3. 9. 09:57

/etc/postfix/main.cf 설정 내용중

mydestination = $myhostname, $myhostname.$mydomain, localhost.$mydomain, localhost, $mydomain

부분을 주석처리하고

mydestination = luna.handysoft.co.kr 형태로 넣어주어야 함

변경후 postfix flush 해야함.
Posted by 배터리
G:\UTIL\WAS\tomcat>ftp 123.212.190.138
123.212.190.138에 연결되었습니다.
220 (vsFTPd 2.2.2)
사용자(123.212.190.138:(none)): gw80
331 Please specify the password.
암호:
230 Login successful.
ftp> mput *
mput apache-tomcat-4.1.37.exe? y
200 PORT command successful. Consider using PASV.
553 Could not create file.

계속 업로드가 안되다가

[root@luna vsftpd]# setenforce
usage:  setenforce [ Enforcing | Permissive | 1 | 0 ]

[root@luna vsftpd]# setenforce 0

으로 하니까 ffp 업로드가 된다

아니면 total commanader 등에 외부 sftp 프로그램을 연결하여 사용할 수 있다. (http://storing.tistory.com/47 참고)
Posted by 배터리

redhat6 Enterprise 용 vsftpd 주소

http://rpm.pbone.net/index.php3/stat/4/idpl/15994799/dir/scientific_linux_6/com/vsftpd-2.2.2-6.el6_0.1.x86_64.rpm.html


SELinux가 설치된 경우 vsftpd 설치 후 로그인하면

500 OOPS: cannot change directory:/home/*******           <---- *****는 로그인하는 계정명입니다.

위와 같이 에러가 발생하면서 ftp에 로그인이 안됩니다.

 

이럴경우 setsebool 을 이용하여 ftp 부분의 설정을 변경해 주시면 됩니다.

 

setsebool -P ftp_home_dir 1

 

이렇게 설정하면 ftp directory에 대한 접근이 가능합니다.

 

-P 옵션은 리부팅 후에도 그 설정값을 유지하도록 합니다.

 

설정 변경시 데몬을 재시작 하셔야 합니다.


Posted by 배터리