Categories
Tutorial

Change DirectAdmin user /home location

Say, you have added another drive (or slab) to your server (or vps) and want to create your user home directories to that location instead of /home

To achieve that, first mount your new drive (or slab) as /home2

Then go to /etc/defaut/useradd and set HOME=/home to HOME=/home2.