vsftpd_centos
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| vsftpd_centos [2015/04/25 21:48] – luke7858 | vsftpd_centos [2024/05/23 07:26] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 6: | Line 6: | ||
| === Configuring / | === Configuring / | ||
| - | You should edit your **/ | + | You should edit your **/ |
| <sxh bash> | <sxh bash> | ||
| anonymous_enable=NO | anonymous_enable=NO | ||
| Line 27: | Line 27: | ||
| === Chrooting User === | === Chrooting User === | ||
| - | If you would like to chroot the users you can add the following line to the bottom of **/var/ | + | If you would like to chroot the users you can add the following line to the bottom of **/etc/ |
| #for chrooting users add the following lines: | #for chrooting users add the following lines: | ||
| Line 50: | Line 50: | ||
| === Firewall Rules: === | === Firewall Rules: === | ||
| <sxh bash> | <sxh bash> | ||
| - | iptables -I INPUT -p tcp –dport 21 -m comment | + | iptables -I INPUT -p tcp --dport 21 -m comment |
| - | iptables -I INPUT -p tcp -m multiport | + | iptables -I INPUT -p tcp -m multiport |
| </ | </ | ||
| <sxh bash> | <sxh bash> | ||
| Line 72: | Line 72: | ||
| Alternivately you are able to use the following command to add a new user straight into a group you have created with a home directory of / | Alternivately you are able to use the following command to add a new user straight into a group you have created with a home directory of / | ||
| <sxh bash> | <sxh bash> | ||
| - | useradd -G groupname | + | useradd -G groupname |
| </ | </ | ||
| Don’t forget to set the password for the user with: | Don’t forget to set the password for the user with: | ||
vsftpd_centos.1429998497.txt.gz · Last modified: 2024/05/23 07:26 (external edit)
