Results 1 to 10 of 10
  1. #1
    Join Date
    Jun 2008
    Location
    India
    Posts
    261

    cpanel account creation

    When I restore a cpanel backup it says from ssh

    (Sorry, a group for that username already exists.) I tried removing the username line from /etc/passwd , Anyone has an Idea how to resolve this?
    Ranjith
    Light travels faster thn sound.This is why some people look bright until you actually hear them speak

  2. #2
    user account related information is stored in /etc/passwd, /etc/shadow and /etc/group files to store user information. Check all.
    Thanks

  3. #3
    Join Date
    Jan 2008
    Location
    United Kingdom
    Posts
    414
    You can remove the group using:

    Code:
    groupdel groupname
    Then restore the account.

  4. #4
    Join Date
    Jun 2008
    Location
    India
    Posts
    261
    thanks , that worked
    Ranjith
    Light travels faster thn sound.This is why some people look bright until you actually hear them speak

  5. #5
    Join Date
    Jul 2009
    Posts
    178
    /scripts/restorepkg --force username

  6. #6
    Join Date
    Jul 2007
    Posts
    56
    Quote Originally Posted by eth10 View Post
    /scripts/restorepkg --force username
    Thank you for this command eth10 -- good info

  7. #7
    Join Date
    Jun 2008
    Location
    India
    Posts
    261
    Quote Originally Posted by eth10 View Post
    /scripts/restorepkg --force username
    that didnt worked I had to remove the entries and well as use groupdel
    Ranjith
    Light travels faster thn sound.This is why some people look bright until you actually hear them speak

  8. #8

    can't delete group

    i am not able to remove the group
    it shows
    groupdel: cannot remove user's primary group.

    i check there is no website created on my VPS account list

  9. #9
    Join Date
    May 2008
    Posts
    340
    Remove the user and the corresponding group should also be deleted.

    userdel username
    Twitter : http://twitter.com/eth1networks
    Contact Us : support[at]eth1.in

  10. #10
    Join Date
    Jun 2008
    Location
    India
    Posts
    261
    remove the user first userdel -r thengot for deleting group
    Ranjith
    Light travels faster thn sound.This is why some people look bright until you actually hear them speak

Similar Threads

  1. cPanel/WHM Automate Account Creation
    By Skillz in forum Hosting Software and Control Panels
    Replies: 47
    Last Post: 12-27-2008, 09:51 AM
  2. cpanel account creation problems
    By NWSTech in forum Hosting Security and Technology
    Replies: 7
    Last Post: 12-17-2005, 01:48 PM
  3. automatic cPanel Account creation
    By morehost in forum Hosting Software and Control Panels
    Replies: 1
    Last Post: 04-27-2005, 05:20 AM
  4. cpanel account creation problem
    By Cuper in forum Hosting Security and Technology
    Replies: 3
    Last Post: 11-19-2003, 01:11 PM
  5. CPANEL/WHM Auto-account creation
    By BLWS in forum Hosting Security and Technology
    Replies: 1
    Last Post: 06-17-2002, 10:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •