[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cpx] Migrating to VPS2 & CPX - how to add a domain admin?



On Wed, Aug 16, 2006 at 02:22:26PM -0700, Matt Cohen wrote:
>
> Subject: [cpx] Migrating to VPS2 & CPX - how to add a domain admin?
>
> I'm migrating a VPS1 to a VPS2 and I want to start everyone fresh and 
> use CPX.  I've already imported my users and now i'm noticing that I 
> don't see an easy (or any!) way to take a user that already exists 
> and 'promote' them to a domain admin.
> 
> I did some searching and don't see much beyond the online help in CPX 
> - how do I promote someone to being a domain admin (and of course, 
> later I may need to 'unpromote' someone...)
> 
> Matt

Matt,

How did you add the domain names to the server?  Or have you yet?
When you add a domain name via CPX you specify the admin at that 
time.  

If you added them manually outside of CPX, then don't fret.  Check
over your vhosts in your httpd.conf and be sure you are happy with
the "User" assignments for each host.  The username specified as
the value for the "User" component of the VirtualHost is presumed
to be the domain admin (only one domain admin per domain).

Now perform the following steps:

  # cp /usr/local/etc/cpx.conf /usr/local/etc/cpx.conf-backup

open the cpx.conf file and remove the <domains> node completely;
save the buffer and exit.  If you didn't make any mods to your 
httpd.conf while verifying your VirtualHost "User" values, then
run the following commands:

  # touch /www/conf/httpd.conf
  # apachectl restart

(You have to do this to invalidate the cache.)

Now log in to CPX (as a server admin); the <domains> node in 
the cpx.conf file will be rebuilt automagically.

hth.

cheers.

--rus.


> -- 
> :-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+
> Matthew I. Cohen                                   http://www.iwbyte.com/
> It Won't Byte Web Design & Hosting.     Ob. Quote: "Reality is for those
> email: lists@xxxxxxxxxx                  people who can't handle Fantasy"

-- 
========================================================================
Rus Berrett                                                    NTT/Verio
                 See Perl. See Perl Run. Run Perl, Run!

======================================================================
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
Match: Format: Sort by:
Search: