vsftpd root 접속 가능하게 하기

Jmnote (토론 | 기여)님의 2012년 3월 9일 (금) 11:10 판

  • vsftpd root 접속 가능하게 하기

1 개요

  • /etc/vsftpd/user_list와 /etc/vsftpd/ftpusers에서 root를 주석처리하여 접속제한을 풀어준다.
  • 두 파일만 수정해주면 바로 적용된다. (vsftpd를 재시작할 필요가 없다)

2 편집

vi /etc/vsftpd/user_list
vi /etc/vsftpd/ftpusers

2.1 user_list

# vsftpd userlist
# If userlist_deny=NO, only allow users in this file
# If userlist_deny=YES (default), never allow users in this file, and
# do not even prompt for a password.
# Note that the default vsftpd pam config also checks /etc/vsftpd/ftpusers
# for users that are denied.
# root <---
bin
daemon
adm
lp
sync
shutdown
halt
mail
news
uucp
operator
games
nobody

2.2 ftpusers

# Users that are not allowed to login via ftp
# root <---
bin
daemon
adm
lp
sync
shutdown
halt
mail
news
uucp
operator
games
nobody

3 참고자료

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}