<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Running Systems&#187; console access</title>
	<atom:link href="http://run.tournament.org.il/tag/console-access/feed/" rel="self" type="application/rss+xml" />
	<link>http://run.tournament.org.il</link>
	<description>(and me chasing them)</description>
	<lastBuildDate>Wed, 02 Jun 2010 13:50:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>A note about VMware-Server machine security</title>
		<link>http://run.tournament.org.il/a-note-about-vmware-server-machine-security/</link>
		<comments>http://run.tournament.org.il/a-note-about-vmware-server-machine-security/#comments</comments>
		<pubDate>Sat, 10 Nov 2007 17:19:43 +0000</pubDate>
		<dc:creator>ez-aton</dc:creator>
				<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[console access]]></category>
		<category><![CDATA[GUI]]></category>
		<category><![CDATA[virtual machine]]></category>
		<category><![CDATA[virtual machine security]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[vmware gsx]]></category>
		<category><![CDATA[vmware security]]></category>
		<category><![CDATA[vmware-cmd]]></category>

		<guid isPermaLink="false">http://www.tournament.org.il/run-new/?p=170</guid>
		<description><![CDATA[VMware allow setting a virtual machine as a private machine. By doing so, it actually adds to &#8220;/etc/vmware/vm-list-private&#8221; an additional comment, stating who is the owner of the machine. For example: cat /etc/vmware/vm-list-private # This file is automatically generated. # Hand-editing this file is not recommended. config &#8220;/vmware/Centos4-01/Centos4-01.vmx&#124;root&#8221; config &#8220;/vmware/Centos4-02/Centos4-02.vmx&#124;user&#8221; While it is very effective [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>VMware allow setting a virtual machine as a private machine. By doing so, it actually adds to <em>&#8220;/etc/vmware/vm-list-private</em>&#8221; an additional comment, stating who is the owner of the machine. For example:</p>
<blockquote><p>cat /etc/vmware/vm-list-private<br />
# This file is automatically generated.<br />
# Hand-editing this file is not recommended.<br />
config &#8220;/vmware/Centos4-01/Centos4-01.vmx|root&#8221;<br />
config &#8220;/vmware/Centos4-02/Centos4-02.vmx|user&#8221;</p></blockquote>
<p>While it is very effective when used with VMware-Console (the nice GUI) &#8211; you cannot see machines which are not owned by your own user (in our example &#8211; &#8220;user&#8221;). it has nothing to do with actual permissions on the machine.</p>
<p>Using vmware-cmd you can control machines which are not yours, and are supposed to be private. For example, using</p>
<blockquote><p>vmware-cmd /vmware/Centos4-01/Centos4-01.vmx stop</p></blockquote>
<p>as the user &#8220;user&#8221;, you <strong>might</strong> be able to turn it off, overriding the obvious, or so you think, permission scheme set up by VMware through the &#8220;private guest&#8221; settings done above.</p>
<p>This actually has to do with the permissions and ownership on the actual vmx file. To revoke the ability to control your machines or even list them by using vmware-cmd, by an unauthorized user.</p>
<p>The best practice I can suggest is by setting a directory for each user (for example: /vmware for production causes, /qa for QA machines, /user1 for user1 machines, etc), and granting, recursively, permissions on this directory only to the user or group who should have the ability to control these machines. That way, even &#8220;<em>vmware-cmd -l</em>&#8221; which lists the available guests on an host, will not be able to view guests not owned by the invoking users.</p>
<p>To sum things up, private guests are all about how the GUI decides if and when to display them. eXecute permissions on the vmx files will set who can actually control a guest machine.</p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://run.tournament.org.il/a-note-about-vmware-server-machine-security/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
