change default home directory of user

Discussion in 'Tips/Tricks/Mods' started by theskript, Jul 14, 2009.

  1. theskript

    theskript New Member

    how do i change the way ispconfig automatically sets the default home location of a user in /etc/passwd when an account is created. for example, right now when i create a site the default home directory is set to /var/www/web1/ but i would like ispconfig to automatically set it to be something like /var/www/web1/web instead for ftp security purposes.

    how can i change this?
     
    Last edited: Jul 14, 2009
  2. falko

    falko Super Moderator ISPConfig Developer

    You'd have to modify the /root/ispconfig/scripts/lib/config.lib.php script, but I'm not sure what implications this has...
     

Share This Page