n_saltz

Registered
May 28, 2004
2
0
151
On the first attempt to create a user, it failed... this happened with a few usernames until I found a post suggesting I kill nscd then try again. That worked fine... HOWEVER now those usernames do not show up in CPanel or /etc/passwd, but I can't seem to reuse those names.

How can I tell cpanel to forget those usernames and allow me to create accounts with them?

Here's a cut/paste from cpanel when the accounts were not being properly set up...


WWWAcct 8.0 by J. Nick Koston

+===================================+
| New Account Info |
+===================================+
| Domain: <snip>
| Ip: <snip> (n)
| HasCgi: y
| UserName: cantapc
| PassWord: trev
| CpanelMod: x
| HomeRoot: /home
| Quota: unlimited Meg
| NameServer1: <snip>
| NameServer2: <snip>
| NameServer3:
| NameServer4:
| Contact Email: <snip>
+===================================+
User cantapc added
Changing password for cantapc
Password for cantapc has been changed

Unable to add the user cantapc



Account Creation Complete!!!



Any help would be appreciated.

Thanks!
 

Edi

Member
Sep 21, 2003
20
0
151
login root,
grep -i cantapc /etc/passwd
grep -i cantapc /etc/shadow
grep -i cantapc /etc/group


vi passwd
delete cantapc line...


My english is not good sorry.

Good day.
 

n_saltz

Registered
May 28, 2004
2
0
151
Hi Edi,

Thanks for the reply. Unfortunately that's the problem... cantapc is NOT in any of those files.