PDA

View Full Version : Cannot Create Account Details That username already exists on the system



Martyn Day
07-24-2009, 12:11 PM
annot Create Account

Details

That username already exists on the system

anyidea what files i need to remove/edit? i've found 2 folders relating to the user, but still gives this error, and can't find anything in google or help database..

floyd
07-24-2009, 01:56 PM
If that user is really not supposed to be on the server then remove the user from these files:

/etc/passwd
/etc/shadow
/etc/group/
/etc/gshadow

Martyn Day
07-24-2009, 07:46 PM
If that user is really not supposed to be on the server then remove the user from these files:

/etc/passwd
/etc/shadow
/etc/group/
/etc/gshadow
Only had to delete from /etc/passwd and it worked fine, couldn't get access to shadow for some reason... and didnt have gshadow installed.. lol

thanks floyd.

floyd
07-25-2009, 05:55 AM
Only had to delete from /etc/passwd and it worked fine

Ok but you were warned.

Adding a user adds to those 4 files. When deleting a user you should delete from those 4 files. I do not know what the adduser program will do when usernames already exist in the other files.

Eratus
07-25-2009, 06:54 AM
Did you come right?

I have the same problem but can't get help from direct admin

Is yours a new installation?

R1Lover
07-25-2009, 08:24 AM
Ok but you were warned.

Adding a user adds to those 4 files. When deleting a user you should delete from those 4 files. I do not know what the adduser program will do when usernames already exist in the other files.

why does DA not remove those itself?

nobaloney
07-25-2009, 10:26 AM
DirectAdmin should delete the user from those files.

Jeff

floyd
08-14-2009, 04:58 AM
Answer is already posted. Read the thread.