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 default path for users
Change default path for users
Hi,
is it possible to change the default path of created users to /var/www/html/USERNAME/ and change its CHMOD automaticly to 777? I use now the way with editing /etc/passwd manually but as you know, this is kinda stupid. Thanks
Greetings from switzerland
is it possible to change the default path of created users to /var/www/html/USERNAME/ and change its CHMOD automaticly to 777? I use now the way with editing /etc/passwd manually but as you know, this is kinda stupid. Thanks
Greetings from switzerland
Re: Change default path for users
Isnt this possible?
Re: Change default path for users
Sure it is. Look in /usr/local/vesta as that is where all the scripts for VestaCP is located.Milu wrote:Hi,
is it possible to change the default path of created users to /var/www/html/USERNAME/ and change its CHMOD automaticly to 777? I use now the way with editing /etc/passwd manually but as you know, this is kinda stupid. Thanks
Greetings from switzerland
Yup!Milu wrote:Isnt this possible?
Re: Change default path for users
Hi MiluMilu wrote:Hi,
is it possible to change the default path of created users to /var/www/html/USERNAME/ and change its CHMOD automaticly to 777? I use now the way with editing /etc/passwd manually but as you know, this is kinda stupid. Thanks
Greetings from switzerland
You can setup the homedir path in {VestaDirectory}/func/main.sh
Code: Select all
...
HOMEDIR='/home'
...
Greetings back from switzerland to switzerland :-).
Regards
Raphael