Share a domain between 2 users

Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"

Top Level » DirectAdmin

Share a domain between 2 usersLast Modified: Apr 14, 2005, 11:02 am
Note: This how-to guide was provided by a client, and has not been tested by us.

- You currently have user named username with domain
- You will create a new user named newuser to share
- newuser won't have any of his own domains other than


1. Create a new user named newuser with a dummy domain from the reseller level.
2. Log on to the server as root.
3. execute (Redhat):

/usr/sbin/usermod -d /home/username -g username newuser


chmod 771 /home/username
chown -R newuser:newuser /home/username/domains
chmod -R 775 /home/username/domains
chown -R newuser:newuser /home/username/mail
mv /usr/local/directadmin/data/users/username/domains /usr/local/directadmin/data/users/username/domains-old
ln -s /usr/local/directadmin/data/users/username/domains /usr/local/directadmin/data/users/newuser/domains
echo "" > /usr/local/directadmin/data/users/newuser/domains.list

5. Edit /etc/proftpd.passwd and update the login path for newuser

© 2018 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST