error when creating user

Guust

Verified User
Joined
Jul 10, 2003
Messages
48
I get this error when I create a user:

Error Creating User %whatuwant%



Details

User Already Exists



And this is not a user that is on my server. Every name that I try 'already exists'. But the users that I create are not shown but they are there, because my added domains is increasing when I create the account.
 
Hello,

Steps to debug this:

Login as root:

type
Code:
useradd username
and see what error it produces. If it says the user exists, type
Code:
userdel -r username
and try to add it again. If it says the group exists, type
Code:
groupdel username
and try to add it again. If it generates a segfault, and you're using redhat 9.0, then you need to update your shadow-uitls:
Code:
wget http://files.directadmin.com/services/9.0/shadow-utils-4.0.3-6.i386.rpm
rpm -ivh --force shadow-utils-4.0.3-6.i386.rpm
and try adding the user again. Once you can add the user without problem, type
Code:
userdel -r username
and you should then be able to add it through DA.

John
 
Back
Top