vsftpd: Move ftp dir into subdir of home
This commit is contained in:
parent
65e8138c06
commit
c256cf8f02
1 changed files with 1 additions and 2 deletions
|
|
@ -5,11 +5,10 @@
|
||||||
localUsers = true;
|
localUsers = true;
|
||||||
writeEnable = true;
|
writeEnable = true;
|
||||||
chrootlocalUser = true;
|
chrootlocalUser = true;
|
||||||
allowWriteableChroot = true;
|
|
||||||
userDbPath = "/etc/vsftpd/users";
|
userDbPath = "/etc/vsftpd/users";
|
||||||
enableVirtualUsers = true;
|
enableVirtualUsers = true;
|
||||||
virtualUseLocalPrivs = true;
|
virtualUseLocalPrivs = true;
|
||||||
localRoot = "/var/lib/vsftpd";
|
localRoot = "/var/lib/vsftpd/data";
|
||||||
};
|
};
|
||||||
|
|
||||||
config.networking.firewall.allowedTCPPorts = [ 20 21 ];
|
config.networking.firewall.allowedTCPPorts = [ 20 21 ];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue