Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@debian:/home/alireza# cat /etc/vsftpd.conf
- # we're running standalone
- listen=YES
- listen_port=61
- # enable virtual users:
- anonymous_enable=NO
- local_enable=YES
- # guest_enable=YES uncomment for active another users coonect
- guest_enable=YES
- ## Where the accounts are located.
- # guest_username=ftp uncomment for active another users coonect
- guest_username=ftp
- user_sub_token=$USER
- local_root=/home/ftp/$USER
- chroot_local_user=YES
- allow_writeable_chroot=YES
- # allow writing
- write_enable=YES
- local_umask=022
- virtual_use_local_privs=YES
- # some general options
- # Activate directory messages - messages given to remote users when they
- # go into a certain directory.
- dirmessage_enable=YES
- hide_ids=YES
- secure_chroot_dir=/var/run/vsftpd
- connect_from_port_20=YES
- # here we define OUR pam config [see below]
- pam_service_name=vsftpd
- # more verbose logging
- xferlog_enable=YES
- log_ftp_protocol=YES
- setproctitle_enable=YES
- # If enabled, vsftpd will display directory listings with the time
- # in your local time zone. The default is to display GMT. The
- # times returned by the MDTM FTP command are also affected by this
- # option.
- use_localtime=YES
- # You may fully customise the login banner string:
- ftpd_banner=Welcome to << ALIREZA >> FTP service.
- ## if u want to active change root for users
- #chroot_list_enable=YES
- #chroot_list_file=/etc/vsftpd/chroot_list
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement