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

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



At 3:01 PM -0700 8/16/06, Rus Berrett said something about:
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).

THanks for the clarification - but what if i'm NOT happy with that assignment? Can I change it?

I've got my contact at the business (userid: manager), who wants to handle all the usernames & password resets. However he does NOT want to handle the FTP to the site, which someone else handles. Therefore, on the VPS2 i've laid out the site as /home/company123/www/company123.com. That way they can give out the password to the company123 account to other employees/people who need FTP access to the site.

I don't think I can specify the User as 'manager') and have the web site live in /home/company123/ , right?

Any suggestions?

Matt

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).

--
:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+:-:+
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"
======================================================================
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: