We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
change ftp home directory v-change-web-domain-ftp-path.sh
-
- Posts: 14
- Joined: Sat Oct 04, 2014 2:13 am
change ftp home directory v-change-web-domain-ftp-path.sh
I want to set my ftp path home directory to be above all of the sitename level folders. Is this a security concern other than the fact than the obvious answer of one break in means all domains for that user are under attack?
I would prefer to have one ftp user log in to
/home/$user/web/
instead of
/home/$user/web/$domain/public_html/
When I try to adjust the path using v-change-web-domain-ftp-path I get an error stating that Web System is not enabled in vesta.conf
changing /etc/passwd is only temporary and when the website panel is saved the ftp is reverted to default.
Your Feedback is appreciated.
I would prefer to have one ftp user log in to
/home/$user/web/
instead of
/home/$user/web/$domain/public_html/
When I try to adjust the path using v-change-web-domain-ftp-path I get an error stating that Web System is not enabled in vesta.conf
changing /etc/passwd is only temporary and when the website panel is saved the ftp is reverted to default.
Your Feedback is appreciated.
Re: change ftp home directory v-change-web-domain-ftp-path.s
Hi,
If you found a solution please post here,
I edited:
I added at the end of the file:
I'm not 100% if is the ideal solution... but until now is ok.
I will test more.
Succes!
If you found a solution please post here,
I edited:
Code: Select all
/etc/vsftpd/vsftpd.conf
Code: Select all
local_root=/home/$user/
user_sub_token=$user
I will test more.
Succes!