cdedicated
Verified User
- Joined
- Jan 7, 2004
- Messages
- 39
cant recreate user after delitetion , it tells "user already created"
How can i fix it please?
thanks!
How can i fix it please?
thanks!
cdedicated said:ok i have done some researchs ,all i need is delete this user from mysql db of DA and delete his folder with all the files from the users folder.
Now the issue that i dont have mysql root password.
How can i get this password form SSH ROOT?
i tried my root password ,and it not works for mysql root.
useradd username
userdel -r username
rm -rf /usr/local/directadmin/data/users/username
#remove the username from /usr/local/directadmin/data/users/resellername/users.list
rm -f /var/spool/mail/username
#remove the users "Include" line from the /etc/httpd/conf/httpd.conf
#for each domain/domain pointer the user has:
rm -rf /etc/virtual/domain.com
rm -rf /var/spool/virtual/domain.com
#remove the domain line from the /etc/named.conf
rm -f /var/named/domain.com.db
#remove the domain from the /etc/virtual/domains and /etc/virtual/domainowners files.