Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    nat
    nat is offline
    Member
    Join Date
    Jan 2003
    Posts
    210

    Default Unable to remove accounts. usermod error: unknown group ""

    I got a new server. I have been unable to remove accounts using WebHost Manager from this server from day 1.

    I thought they were being removed but WebHost manager does not delete the home directories or remove the users from the passwd and shadow files.

    Everything else is done but that.

    I have upgraded cpanel and webhost manager to latest and rebooted. It has not helped. I tried removing the users from the groups manually in order to delete the users and the groups but I get this error: usermod: unknown group ""

    /usr/sbin/usermod -g usersnamehere -G \"\" usersnamehere
    usermod: unknown group ""


    WHM 9.1.0 cPanel 9.1.0-S93
    RedHat Enterprise 3 - WHM X v2.1.2

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jun 2002
    Posts
    64

    Default

    Remove them from /etc/group file and that should do it.

  3. #3
    nat
    nat is offline
    Member
    Join Date
    Jan 2003
    Posts
    210

    Default

    Quote Originally Posted by hotice007
    Remove them from /etc/group file and that should do it.
    That would not have fixed it completly as everytime I deleted an account using WebHost Manager it would leave that and other files on the server.

    I did manage to delete all of the accounts that were not deleted in the pass using what you said. - Thanks.
    Last edited by nat; 12-16-2004 at 01:08 PM.

  4. #4
    nat
    nat is offline
    Member
    Join Date
    Jan 2003
    Posts
    210

    Default

    For other people with the same issue...

    This was fixed by contacting cpanel support. They said "we ran some updates on the server."

    Accounts deleted with WebHost Manager would be deleted completly from then on.
    Last edited by nat; 12-16-2004 at 01:09 PM.

Similar Threads & Tags
Similar threads

  1. Replies: 3
    Last Post: 04-19-2010, 02:14 PM
  2. Replies: 2
    Last Post: 02-28-2010, 02:40 PM
  3. "ERROR: Unknown Game Server queried."
    By lpxxfaintxx in forum cPGS Discussions
    Replies: 6
    Last Post: 01-14-2008, 09:19 AM
  4. How to fix "Unable to obtain apache version" error in WHM
    By smarcellini in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-12-2003, 10:30 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube