Blog categories

Comments

[vsftpd] vsftpd 설치 및 설정

[vsftpd] vsftpd 설치 및 설정

설치 환경 : Ubuntu 12.04LTS 64bit

1. 설치

sudo apt-get install vsftpd

2. 설정

vim /etc/vsftpd.conf
listen=YES
# anonymous 유저 접속 불가
anonymous_enable=NO

# Local 계정 사용자 접속 허가
local_enable=YES

# vsftpd의 Default 설정은 업로드만 가능하게 되어 있음.
# 업로드 허용
write_enable=YES

# 디렉토리 혹은 파일 생성 시 umask 값 설정
local_umask=022

# 일반 사용자들의 접속 범위 제한
#chroot_list_enable=YES 를 통해 제외시킬 사용자들을 정의 가능
chroot_local_user=YES

만약 설치 후 conf 파일 변경 중 문제가 생겨서 아래와 같은 애러 발생 시 그냥 재설치 권장

root@hdmaster:/home/hadoop# service vsftpd stop
stop: Unknown instance:
vsftpd Uninstall
sudo apt-get remove --purge vsftpd

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다

div#stuning-header .dfd-stuning-header-bg-container {background-image: url(https://tech.sangron.com/wp-content/uploads/sites/2/2018/04/ubuntu_wallpaper_background.jpg);background-color: #3f3f3f;background-size: cover;background-position: top center;background-attachment: initial;background-repeat: no-repeat;}#stuning-header div.page-title-inner {min-height: 350px;}#main-content .dfd-content-wrap {margin: 0px;} #main-content .dfd-content-wrap > article {padding: 0px;}@media only screen and (min-width: 1101px) {#layout.dfd-portfolio-loop > .row.full-width > .blog-section.no-sidebars,#layout.dfd-gallery-loop > .row.full-width > .blog-section.no-sidebars {padding: 0 0px;}#layout.dfd-portfolio-loop > .row.full-width > .blog-section.no-sidebars > #main-content > .dfd-content-wrap:first-child,#layout.dfd-gallery-loop > .row.full-width > .blog-section.no-sidebars > #main-content > .dfd-content-wrap:first-child {border-top: 0px solid transparent; border-bottom: 0px solid transparent;}#layout.dfd-portfolio-loop > .row.full-width #right-sidebar,#layout.dfd-gallery-loop > .row.full-width #right-sidebar {padding-top: 0px;padding-bottom: 0px;}#layout.dfd-portfolio-loop > .row.full-width > .blog-section.no-sidebars .sort-panel,#layout.dfd-gallery-loop > .row.full-width > .blog-section.no-sidebars .sort-panel {margin-left: -0px;margin-right: -0px;}}#layout .dfd-content-wrap.layout-side-image,#layout > .row.full-width .dfd-content-wrap.layout-side-image {margin-left: 0;margin-right: 0;}