Linux VServer Project has done this for years
Posted Dec 5, 2005 21:54 UTC (Mon) by NZheretic
Parent article: The first stable OpenVZ release
Linux-VServer is a virtual private server implementation for the Linux kernel. It is now maintained by Herbert Pötzl in Austria and is not related to the Linux Virtual Server project, which implements network load balancing.
Linux-VServer is a jail mechanism in that it can be used to securely partition resources on a computer system (such as the file system, CPU time, network addresses and memory) in such a way that processes cannot mount a denial-of-service attack on anything outside their partition.
Each partition is called a security context, and the virtualized system within it is the virtual private server. A chroot-like utility for descending into security contexts is provided. The contexts themselves are robust enough to boot many Linux distributions unmodified, including Debian and Fedora Core.
Virtual private servers are commonly used in web hosting services, where they are useful for segregating customer accounts, pooling resources and containing any potential security breaches.
Linux-VServer is not included in the mainline kernel. 2.0, the stable version as of September 2005, exists as a patch against the 2.6-series kernels.
to post comments)