Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Vesta Web Interface
  • Search

Change default path for users

Questions regarding the Web Interface
GUI
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
Milu
Posts: 2
Joined: Wed Nov 26, 2014 4:01 am

Change default path for users
  • Quote

Post by Milu » Wed Nov 26, 2014 4:05 am

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
Top

Milu
Posts: 2
Joined: Wed Nov 26, 2014 4:01 am

Re: Change default path for users
  • Quote

Post by Milu » Fri Nov 28, 2014 12:42 pm

Isnt this possible?
Top

KeiroD
Posts: 61
Joined: Fri Oct 11, 2013 8:35 pm

Re: Change default path for users
  • Quote

Post by KeiroD » Tue Mar 03, 2015 1:17 am

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
Sure it is. Look in /usr/local/vesta as that is where all the scripts for VestaCP is located.
Milu wrote:Isnt this possible?
Yup!
Top

ScIT
Support team
Posts: 617
Joined: Mon Feb 23, 2015 4:13 pm

Os: Ubuntu 17x
Web: apache + nginx
Re: Change default path for users
  • Quote

Post by ScIT » Fri Mar 06, 2015 2:58 pm

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
Hi Milu

You can setup the homedir path in {VestaDirectory}/func/main.sh

Code: Select all

...
HOMEDIR='/home'
...
Also have a look about the permission request in file {VestaDirectory}/bin/v-add-user.

Greetings back from switzerland to switzerland :-).

Regards
Raphael
Top


Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “Web Interface”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password