PDA

View Full Version : Cant Creat A New User?



Anzix
04-15-2004, 01:26 PM
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.

DirectAdmin Support
04-16-2004, 09:04 AM
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