Portal Home > Knowledgebase > Articles Database > cpanel account creation
cpanel account creation
Posted by rankris, 08-12-2009, 10:48 AM |
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?
|
Posted by ishane, 08-12-2009, 11:06 AM |
user account related information is stored in /etc/passwd, /etc/shadow and /etc/group files to store user information. Check all.
Thanks
|
Posted by Sam Robertson, 08-12-2009, 11:13 AM |
You can remove the group using:
Then restore the account.
|
Posted by rankris, 08-12-2009, 11:26 AM |
thanks , that worked
|
Posted by eth10, 08-12-2009, 12:36 PM |
scripts/restorepkg --force username
|
Posted by BloodRed, 08-13-2009, 01:40 AM |
Thank you for this command eth10 -- good info
|
Posted by rankris, 08-13-2009, 09:38 AM |
that didnt worked I had to remove the entries and well as use groupdel
|
Posted by adoobi, 10-10-2009, 02:23 AM |
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
|
Posted by eth1, 10-10-2009, 04:46 AM |
Remove the user and the corresponding group should also be deleted.
|
Posted by rankris, 10-10-2009, 01:59 PM |
remove the user first userdel -r thengot for deleting group
|
Add to Favourites Print this Article
Also Read
Rack 911 (Views: 785)
php or asp (Views: 753)