Take the 2-minute tour ×
Server Fault is a question and answer site for 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

1 Answer 1

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

Your Answer

 
discard

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