This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
linux:ubuntu:vsftpd [2018/05/23 15:02] – created lunetikk | linux:ubuntu:vsftpd [2018/05/23 15:26] – lunetikk | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
===== Installation ===== | ===== Installation ===== | ||
Line 12: | Line 12: | ||
< | < | ||
- | useradd | + | useradd < |
- | passwd | + | passwd < |
</ | </ | ||
Line 19: | Line 19: | ||
Create the following file: | Create the following file: | ||
- | < | + | < |
==== Configure vsftpd ==== | ==== Configure vsftpd ==== | ||
Line 25: | Line 25: | ||
Configure the following settings in / | Configure the following settings in / | ||
- | < | + | < |
# Run standalone? | # Run standalone? | ||
# daemon started from an initscript. | # daemon started from an initscript. | ||
Line 113: | Line 113: | ||
userlist_deny=NO | userlist_deny=NO | ||
userlist_file=/ | userlist_file=/ | ||
+ | |||
+ | #split the log into two files (needed for fail2ban) | ||
+ | dual_log_enable=YES | ||
</ | </ | ||
+ | |||
+ | ===== Troubleshooting ===== | ||
+ | |||
+ | ==== 530 Login incorrect ==== | ||
+ | |||
+ | Trying to connect fails with the following message: \\ | ||
+ | < | ||
+ | 530 Login incorrect | ||
+ | </ | ||
+ | |||
+ | __Reason:__ \\ | ||
+ | Wrong pam name on Ubuntu 14 and lower.//" | ||
+ | |||
+ | __Fix:__ \\ | ||
+ | Change the " | ||
+ | < | ||
+ | to | ||
+ | < | ||
+ | |||
+ | and restart your service | ||
+ | < | ||
+ | |||
+ | [[https:// |