PDA

View Full Version : error when creating user



Guust
01-24-2004, 10:46 AM
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.

DirectAdmin Support
01-24-2004, 12:29 PM
Hello,

Steps to debug this:

Login as root:

type
useradd usernameand see what error it produces. If it says the user exists, type
userdel -r usernameand try to add it again. If it says the group exists, type
groupdel usernameand 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:
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.rpmand try adding the user again. Once you can add the user without problem, type
userdel -r usernameand you should then be able to add it through DA.

John

S2S-Robert
01-25-2004, 07:14 AM
Segmentation fault it was!

Problem solved :)