Share a domain between 2 users

Note: This how-to guide was provided by a client, and has not been tested by us.

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

Steps:

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

4.

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 "domain.com" > /usr/local/directadmin/data/users/newuser/domains.list

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

 
config/share.txt · Last modified: 2010/02/20 20:13 by muscardin
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Please visit Automatic Backlinks to start earning free backlinks Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki