The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

ownerships changed for a user to the ownerships of a domain that had username changed

Discussion in 'General Discussion' started by nat, Mar 22, 2004.

  1. nat

    nat Well-Known Member

    Joined:
    Jan 16, 2003
    Messages:
    204
    Likes Received:
    0
    Trophy Points:
    16
    Ownerships changed for a domain to the ownerships of a different domain that had its username changed.

    domain1.com
    owner: domain1
    group: domain1

    domain2.com
    owner: domain2
    group: domain2

    Username for domain1.com was changed to abc so that the ownerships are abc.abc

    For somereason cpanel went insane and changed the ownershipd on all files for domain2.com to abc.domain2

    Now cpanel, webmail, preinstall scripts, and a bunch of other stuff does not work.


    chown domain2.domain2 on the files does not do anything. The ownerships remain abc.domain2


    Reponse from cpanel was:
    "I remove this user 100%: man pw, man userdel, etc "


    I do not know what that means. Can anyone help.
     
    #1 nat, Mar 22, 2004
    Last edited: Mar 22, 2004
  2. nat

    nat Well-Known Member

    Joined:
    Jan 16, 2003
    Messages:
    204
    Likes Received:
    0
    Trophy Points:
    16
    This is what is in /etc/passwod for domain2.com:
    domain2:x:32529:32530::/home/domain2:/usr/local/cpanel/bin/noshell

    This is what is in /etc/passwod for domain1.com:
    domain1:x:32529:32530::/home/domain1:/usr/local/cpanel/bin/noshell
    abc:x:32633:32635::/home/abc:/usr/local/cpanel/bin/noshell

    Notice the old one (domain1) is still in there.

    User for domain1.com (domain1) was not deleted from /etc/passwd when the username was changed to abc for that domain.

    Removing the one cpanel didn't remove when the domain name was changed fixed it.
    domain1:x:32529:32530::/home/domain1:/usr/local/cpanel/bin/noshell
     
Loading...

Share This Page