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