Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

ok, here is the scenario, i was playing around the import wizard and imported a subdomain i had created on a linode and now im having trouble cause the user i assigned to the subdomain is root. Now when i log into webmin / usermin / virtualmin with my root credentials, i end up administering a sub domain instead of working on the webmin root console.

Is there a way of a) deleting the virtualhost completely from usermin using ssh? b) rectifying this ..

share|improve this question
add comment

1 Answer

Probably virtualmin lost the relation between your virtualhost & system user. even if you have deleted the virtualhost. that username will be in system users list. So you will solve that without virtualmin.

you can remove user via Webmin. Logon to webmin > System > user & groups. find the user name on right. remove it. if it fails.

login to server via SSH > su root. then

userdel [YOUR_VHOST_USERNAME]

groupdel [YOUR_VHOST_USERNAME]

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.