[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cpx] Changing Domain Administrators
- Subject: Re: [cpx] Changing Domain Administrators
 
- From: Scott Wiersdorf <scottw@xxxxxxxxxxxx>
 
- Date: Wed, 13 Jul 2005 16:34:47 -0600
 
On Wed, Jul 13, 2005 at 03:11:57PM -0700, hkonline wrote:
> I have a domain with several users under a domain administrator.  I would 
> like to change the domain administrator to a new user so that this client 
> can now set up multiple domains.  Is there any easy way to do this?
Not *easy*, but here are some things you'll need to do:
- create the new domain admin in CPX. Give them a fake domain if
  necessary to start with (you can delete it later).
- in a shell, do this (assuming a little http domain downtime is
  acceptable):
  - mv the old document root directory from the DAs ~/www dir to the
    new one
  - change the owner of the domain in httpd.conf to the new DA
  - change the documentroot of the domain in httpd.conf to the new DA
  - in the new DA's home directory, do this:
      chown -R newuser: www/domain.tld
  - in /usr/local/etc/cpx.conf, change the <admin> of the domain to
    the new DA.
  - restart apache, and /usr/local/etc/rc.d/vsapd.sh restart
  - fix any aliases, virtusertable, or genericstable entries in
    /etc/mail, then type 'make' to rebuild those databases
This is a starting point (there might be a few other items I've
forgotten), but this will be really close. Because the users belong
to domains (not the admins), by changing the <admin> node in cpx.conf
(please edit very carefully), you won't have to change any end user
accounts.
Scott
-- 
Scott Wiersdorf
scottw@xxxxxxxxxxxx
======================================================================
This is <cpx@xxxxxxxxxxxxx>      <http://www.groupmail.org/lists/cpx/>
Before posting a question, please search the archives (see above URL).
Home |
Main Index |
Thread Index