vsftpd
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
vsftpd [2009/06/12 08:48] – k2patel | vsftpd [2020/08/10 02:35] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 2: | Line 2: | ||
Very secure, but hard to configure for virtual users and chroot.\\ | Very secure, but hard to configure for virtual users and chroot.\\ | ||
- | Here i have crack it down one day for my client. | + | Usually virtual user help in hosting environment.\\ |
+ | But it is good to have diff. account on FTP for each person to specific location.\\ | ||
+ | |||
+ | Use configuration below and use the commands specified to create new user / manage users. | ||
<code bash | / | <code bash | / | ||
Line 81: | Line 85: | ||
</ | </ | ||
- | Additional Log options | + | Additional Log options, you would like to add to above config i have added |
<code bash> | <code bash> | ||
Line 92: | Line 96: | ||
* create directory "/ | * create directory "/ | ||
* create file "/ | * create file "/ | ||
+ | |||
+ | NOTE : now we are overriding all disabled options for each user. (if not you will be denied for anything LOL) | ||
<code bash | / | <code bash | / | ||
Line 97: | Line 103: | ||
dirlist_enable=YES | dirlist_enable=YES | ||
download_enable=YES | download_enable=YES | ||
+ | anon_upload_enable=YES | ||
+ | anon_other_write_enable=YES | ||
+ | anon_mkdir_write_enable=YES | ||
local_root=/ | local_root=/ | ||
</ | </ | ||
Line 133: | Line 142: | ||
anon_mkdir_write_enable=YES | anon_mkdir_write_enable=YES | ||
</ | </ | ||
+ | |||
+ | * If you see permission 600 and you have issue with that permission and not able to chmod. try following additional lines. | ||
+ | |||
+ | <code bash | / | ||
+ | chmod_enable=YES | ||
+ | virtual_use_local_privs=YES | ||
+ | </ | ||
+ | |||
+ | NOTE : any change to user setting does not require restart - but new ftp connection needed. | ||
+ | |||
+ | Some use full link : \\ | ||
+ | [[ http:// | ||
DONE | DONE |
vsftpd.1244796515.txt.gz · Last modified: 2020/08/10 02:29 (external edit)