adding a link in the home directory

I am migrating domains from cpanel. I would like to create a link in the users home directory so every time I add a domain there is a link from httpdocs pointing to public_html. This way the customer that has already setup the ftp program to go to the httpdocs directory they would land in public_html. This would keep our support calls down. Has anyone else done this or can tell me how?

I believe you’d just want to add a relative link to your skel (which defaults to /etc/skel for virtual server owners). e.g.:

mkdir /etc/skel/public_html
cd /etc/skel
ln -s public_html httpdocs

You’ll want to test that, as I’ve never actually done it before…but it seems likely to work. :wink:

Work great thanks Joe.