Cant Creat A New User?

Anzix

Verified User
Joined
Aug 17, 2003
Messages
36
Location
portland
Hello Everyone,

About 2 weeks ago my server crashed. We use network storage for our home directory and we would like to use those old files so I moved all the account folders to /backups and I try and creat the user and it says that user exsists so how would I clear the old users so i can add them back.

Also i would like to clarify we reformatted our server and reinstalled direct admin. Only thing that is left is the home directory.
 
Last edited:
Redhat:
userdel -r username

FreeBSD:
pw userdel -n username

If you've creted the user in DA before, you'll have to clear out /usr/local/directadmin/data/users/username and also manually remove the user from the Resellers list (/usr/local/directadmin/data/users/reseller/users.list).

John
 
Back
Top