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.

Need some help deleting a user

Discussion in 'General Discussion' started by YodaCows, Jul 12, 2006.

  1. YodaCows

    YodaCows Registered

    Joined:
    May 29, 2006
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    I deleted a user and everything appeared to be fine. The user no longer appeared in List Accounts
    However, the user/domain is still showing in all other areas.
    When I try to terminate the account it says
    I tried manually removing it from trueuserdomains, but that didn't really solve the problem either.
    The domain doesn't show up, but you can see the box where the domain should be showing up in all of the areas I mentioned above.

    I tried re-creating the user, then terminating it again, but it still didn't fully remove it.
    The user doesn't exist, but the domain still exists somewhere.
    Do I just have to give it time? It's only been about 10 hours since I tried to remove it the first time.

    Besides trueuserdomains, where do I need to remove the user? Are there any other scripts to run?
    /etc/userdomains is empty, so is /cpanel/users

    I already tried the following
    • /scripts/upcp --force
    • /scripts/updateuserdomains
    • userdel -r myuser

    Thanks.
     
    #1 YodaCows, Jul 12, 2006
    Last edited: Jul 12, 2006
  2. mitul

    mitul Well-Known Member

    Joined:
    Feb 8, 2003
    Messages:
    291
    Likes Received:
    0
    Trophy Points:
    16
    "userdel -r myuser" is not correct method of deleting users.

    You should have login to WHM and then terminate account.
     
  3. YodaCows

    YodaCows Registered

    Joined:
    May 29, 2006
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    I don't think you quite understand what I wrote.
    I tried terminating the account in WHM.
    It deleted it from List Accounts, but it is still visible everywhere else in WHM.
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    OTTOMH:

    Delete /var/cpanel/users/accountname

    Remove any virtualhost entries from httpd.conf

    Run /scripts/updateuserdomains

    That should probably fix it, unless it left everything behind, in which case you'd want to look at deleting the zone and the files in /home/accountname
     
  5. YodaCows

    YodaCows Registered

    Joined:
    May 29, 2006
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    The user doesn't exist though, they aren't in /users

    There are no entries for that domain

    Did it again, still didn't help

    I looked through everything, still couldn't find any references to the domain.
     
  6. elix

    elix Well-Known Member

    Joined:
    Jan 18, 2005
    Messages:
    67
    Likes Received:
    0
    Trophy Points:
    6
    If there is no file for that user in /var/cpanel/users then it really shouldn't be showing up anywhere else via cPanel, can you double check to see if there is a file there?
     
  7. YodaCows

    YodaCows Registered

    Joined:
    May 29, 2006
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    I just checked with ls and ls -l ........its empty
     
  8. HEKTO

    HEKTO Member

    Joined:
    Dec 17, 2004
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    same problem. check /etc/trueuserdomains
     
  9. HEKTO

    HEKTO Member

    Joined:
    Dec 17, 2004
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    I always see terminated domains in domains list at 'Terminate Domain' screen, because WHM does not remove a line with domain information from /etc/trueusersdomains.

    FC4, WHM 10.8.0 cPanel 10.8.2-S120
     
Loading...

Share This Page