CentOS – Change User’s Home Directory


You may find the need to change a users home directory from the traditional /home/username to something more specific such as the root directory of their website to allow them FTP access to that directory only. An example would be ->  /var/www/html/usersite.com/public_html Change the user's home directory usermod -m -d…