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.

I'm about to start setting up some KVM-based virtual machines that will be used in a production system on an Ubuntu 10.04 LTS server and I'm not sure which user to run them as. In my tests, I ran them as the user I set up during the Ubuntu installation, but would I be better off running them as root or under a separate user account, like how slapd runs as user openldap?

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

You should opt for the principle of least privilege.

Your VMs don't need to run as root; so they shouldn't run as root. Ideally, you'd attempt to further segregate your VMs from each other, but there's very limited tool support for that (e.g.: keeping LVM VGs for particular user groups).

Run your VMs under some separate user account.

share|improve this answer
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.