Just how do I set the default ftp root folder for an Ubuntu customer attaching to VSFTPD?

Just how do I set/change the default ftp root folder for a details customer? I intend to have the ability to create a programmer account that residences to various websites on a growth box relying on what is presently being worked with.

MODIFY: The web server is running Ubuntu and also vsftpd.

0
2019-05-05 01:56:13
Source Share
Answers: 2

If you define the user_config_dir in vsftpd.conf, you can set any kind of config alternative on a per - customer basis.

From man vsftpd.conf:

This effective alternative permits the override of any kind of config alternative defined in the hand-operated web page, on a per - customer basis. Use is straightforward, and also is ideal cited an instance. If you set user_config_dir to be/ etc/vsftpd _ user_conf and afterwards browse through as the customer "chris", after that vsftpd will use the setups in the documents/ etc/vsftpd _ user_conf/ chris throughout of the session.

So, establishing local_root this way to the wanted directory site adjustments the FTP favor simply that customer.

0
2019-05-09 00:38:08
Source

you can attempt - s alternative to run a message documents having FTP commands. Because command documents you can conveniently lcd to various dirs.
Please note this alternative is not readily available on all the Unix web servers.
Can specify on your need like which OS Win Or *nix etc ??.

0
2019-05-08 14:00:55
Source