Author Topic: Unable to remove user  (Read 14496 times)

0 Members and 2 Guests are viewing this topic.

Offline
*
Unable to remove user
« on: May 18, 2015, 10:54:52 PM »
Hello everyone,

This is a very powerful and really awesome control panel, thank you for creating it, planning to donate very soon, I have a question though, today I made a spelling mistake while creating an account and I spelled the wrong domain name, now when I try to delete the user to recreate it with the right domain name I keep getting this error:

Confing not found in named.conf ....
Notice: Undefined offset: 1 in /usr/local/cwpsrv/htdocs/resources/admin/modules/list_accounts.php(1) : eval()'d code(1) : eval()'d code on line 4
 Removing config from named.conf

Notice: Undefined offset: 1 in /usr/local/cwpsrv/htdocs/resources/admin/modules/list_accounts.php(1) : eval()'d code(1) : eval()'d code on line 6
 Confing not found in vHosts .... Removing config from vHosts
Data Updated

The user stays there and no files are deleted, I tried logging to the VPS Shell and attempted to delete the user manually using command: userdel <username> and it took it but the account is still present on CWP and the files are still there too, anyway to correct this?

Thanks a lot in advance!

Offline
***
Re: Unable to remove user
« Reply #1 on: May 22, 2015, 05:18:52 PM »
If you really deleted user and it's files, go to PHPMyAdmin and delete it.

You can enter by navigating http://your_ip/phpMyAdmin or using the SQL Services menu from CWP

Database: root_cwp
Table: user
« Last Edit: May 22, 2015, 05:21:14 PM by erm3nda »
8==D it's a function that try to compare 8 (int) against D (string) which returns True or False depending on the asker.

Offline
*
Re: Unable to remove user
« Reply #2 on: May 23, 2015, 01:28:34 AM »
Thanks, I actually just deleted the user's home directory using:  rm –rf   directory, then went into CWP user's menu and this time it deleted the user, it seems like CWP was unable to remove the user's home directory or something, once that was gone the user is no longer listed anywhere in CWP nor can anything related to it be accessed so I think it's really gone :-)

Offline
***
Re: Unable to remove user
« Reply #3 on: May 24, 2015, 05:45:10 AM »
Glad you was able to solve it.
8==D it's a function that try to compare 8 (int) against D (string) which returns True or False depending on the asker.

Offline
**
Re: Unable to remove user
« Reply #4 on: July 30, 2019, 04:03:11 AM »
I have similar problem but you need to have a look at dns  and remove it manually too
not sure where else I need to remove things manually