먼저 아래 옵션을 NO로 설정합니다.
anonymous_enable=NO

그리고 ftp 루트를 다음과 같이 설정해줍니다. (/var/ftp를 쓴다고 가정)
groupadd ftpusers
mkdir /var/ftp
chmod 3775 /var/ftp
chown root:ftpusers /var/ftp

다음과 같이 noshell 을 하나 만듭니다. ftp 전용 계정으로 쉘을 안준다고 가정합니다.
touch /bin/noshell
chmod 755 /bin/noshell
/etc/shells 에 /bin/noshell 추가

다음과 같이 noshell을 쉘로 가지는 계정을 추가해주면 됩니다.
useradd -g ftpusers -d /var/ftp -s /bin/noshell 유저명
passwd 유저명 - 패스워드 등록

원문 : http://debianusers.org/DebianWiki/wiki.php/vsftpd 7번 항목


크리에이티브 커먼즈 라이센스
Creative Commons License

Posted by shiftkey

2008/05/16 13:22 2008/05/16 13:22
, ,
Response
No Trackback , No Comment
RSS :
http://shiftkey.org/rss/response/141


블로그 이미지

Shiftkey가 살아가는 이런 저런 이야기......

- shiftkey

Notices

Archives

Authors

  1. shiftkey

Calendar

«   2012/05   »
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

Site Stats

Total hits:
160883
Today:
158
Yesterday:
156