![]() Userlist_file=/etc/vsftpd.allowed_usersIn the file /etc/vsftpd.allowed_users add the username of the users that can login. In the file /etc/nied_users add the username of the users that can't login. To deny some users to login, add the following options in the end of the file: # Create the file /etc/vsftpd.chroot_list with a list of the "free" users.To deny (or allow) just some users to login # Create the file /etc/vsftpd.chroot_list with a list of the jailed users. Search for "chroot_local_users" on the file and consider one of the following: To jail/chroot users (not the vsftpd service), there are three choices. If you do need to transfer files over FTP, consider the use of virtual users (same system users but with non system passwords) or TLS/SSL/FTPS (see below). Write_enable=YESNOTE: It is not advisable to use FTP without TLS/SSL/FTPS over the internet because the FTP protocol does not encrypt passwords. # If you connect from the internet with local users, you should enable TLS/SSL/FTPS To disable anonymous login and to enable local users login and give them write permissions: ![]() Sudo cp /etc/nf /etc/ edit the file /etc/nf and change it's settings as follows. ![]() Keep a copy to have the original settings and comments, just in case. Make a copy of the original configuration file. This installs ssl-cert, openssl and vsftpd, only with anonymous login and just for downloads from a jailed /home/ftp/.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |