vsftpd_centos
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| vsftpd_centos [2016/01/26 11:59] – 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 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.1453809563.txt.gz · Last modified: 2024/05/23 07:26 (external edit)
