<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: ESXi ssh and non-root users</title>
	<atom:link href="http://www.yellow-bricks.com/2008/08/14/esxi-ssh-and-non-root-users/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.yellow-bricks.com/2008/08/14/esxi-ssh-and-non-root-users/</link>
	<description>Building blocks for virtualization...</description>
	<lastBuildDate>Tue, 16 Mar 2010 00:34:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Jesse</title>
		<link>http://www.yellow-bricks.com/2008/08/14/esxi-ssh-and-non-root-users/comment-page-1/#comment-6976</link>
		<dc:creator>Jesse</dc:creator>
		<pubDate>Wed, 10 Mar 2010 15:01:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.yellow-bricks.com/?p=347#comment-6976</guid>
		<description>Is anyone else not able to disconnect from the server as a non-root user? I can ssh and scp fine, but when I type &quot;exit&quot; or after scp is finished it just hangs there forever and it&#039;s killing a script I&#039;m working on. It does not do this for the root user. Any ideas?</description>
		<content:encoded><![CDATA[<p>Is anyone else not able to disconnect from the server as a non-root user? I can ssh and scp fine, but when I type &#8220;exit&#8221; or after scp is finished it just hangs there forever and it&#8217;s killing a script I&#8217;m working on. It does not do this for the root user. Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ivo</title>
		<link>http://www.yellow-bricks.com/2008/08/14/esxi-ssh-and-non-root-users/comment-page-1/#comment-5671</link>
		<dc:creator>Ivo</dc:creator>
		<pubDate>Tue, 22 Dec 2009 16:24:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.yellow-bricks.com/?p=347#comment-5671</guid>
		<description>After you complete the steps above, you should edit your /etc/passwd file. Make sure to have the home directory be :/ and change the shell to  be /bin/ash, not /bin/false, and it should work. Tested on ESXi 4.0, update 1. The author may consider adding this info to the article, as many people start solving the problem by reading it.</description>
		<content:encoded><![CDATA[<p>After you complete the steps above, you should edit your /etc/passwd file. Make sure to have the home directory be :/ and change the shell to  be /bin/ash, not /bin/false, and it should work. Tested on ESXi 4.0, update 1. The author may consider adding this info to the article, as many people start solving the problem by reading it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: FHirad</title>
		<link>http://www.yellow-bricks.com/2008/08/14/esxi-ssh-and-non-root-users/comment-page-1/#comment-4603</link>
		<dc:creator>FHirad</dc:creator>
		<pubDate>Fri, 25 Sep 2009 21:17:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.yellow-bricks.com/?p=347#comment-4603</guid>
		<description>I did all the options which different persons described above and still get &quot;Access denied&quot;.

My approaches:

1st approach, added user by useradd name
2ns approach, added user by useradd name -M -d /
3rd approach, created /opt directory as described above.

None of them worked for me.

Any idea?

BTW, as I tried to execute  kill -HUP inetd_proc_id, I got bad PID. where can I look for inter_proc_id</description>
		<content:encoded><![CDATA[<p>I did all the options which different persons described above and still get &#8220;Access denied&#8221;.</p>
<p>My approaches:</p>
<p>1st approach, added user by useradd name<br />
2ns approach, added user by useradd name -M -d /<br />
3rd approach, created /opt directory as described above.</p>
<p>None of them worked for me.</p>
<p>Any idea?</p>
<p>BTW, as I tried to execute  kill -HUP inetd_proc_id, I got bad PID. where can I look for inter_proc_id</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron</title>
		<link>http://www.yellow-bricks.com/2008/08/14/esxi-ssh-and-non-root-users/comment-page-1/#comment-4344</link>
		<dc:creator>Aaron</dc:creator>
		<pubDate>Wed, 19 Aug 2009 21:45:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.yellow-bricks.com/?p=347#comment-4344</guid>
		<description>Duncan,
I wanted to let you know that the person that put this together, made a change in the process that you have to do with update 2 of esxi

Here is what he put:
Update:

For some reason, the homedir directory seems to get deleted after a reboot. This causes the ssh session to get killed immediatly after authentication. Workaround: create the user with this command:

    useradd your_name -M -d /

Creating the user this way, will set the homedir to “/” (same as for root user)

———

Change the password for this user:

    passwd your_name

Reboot the server

    reboot

Once rebooted,

Log in with SSH using your new unprivileged user

Use

    su -

to change to the root user.</description>
		<content:encoded><![CDATA[<p>Duncan,<br />
I wanted to let you know that the person that put this together, made a change in the process that you have to do with update 2 of esxi</p>
<p>Here is what he put:<br />
Update:</p>
<p>For some reason, the homedir directory seems to get deleted after a reboot. This causes the ssh session to get killed immediatly after authentication. Workaround: create the user with this command:</p>
<p>    useradd your_name -M -d /</p>
<p>Creating the user this way, will set the homedir to “/” (same as for root user)</p>
<p>———</p>
<p>Change the password for this user:</p>
<p>    passwd your_name</p>
<p>Reboot the server</p>
<p>    reboot</p>
<p>Once rebooted,</p>
<p>Log in with SSH using your new unprivileged user</p>
<p>Use</p>
<p>    su -</p>
<p>to change to the root user.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: просто</title>
		<link>http://www.yellow-bricks.com/2008/08/14/esxi-ssh-and-non-root-users/comment-page-1/#comment-4313</link>
		<dc:creator>просто</dc:creator>
		<pubDate>Fri, 14 Aug 2009 14:49:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.yellow-bricks.com/?p=347#comment-4313</guid>
		<description>Anymore with your non-priviled users because the home-dir can’t be found!</description>
		<content:encoded><![CDATA[<p>Anymore with your non-priviled users because the home-dir can’t be found!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: danieln</title>
		<link>http://www.yellow-bricks.com/2008/08/14/esxi-ssh-and-non-root-users/comment-page-1/#comment-4283</link>
		<dc:creator>danieln</dc:creator>
		<pubDate>Tue, 11 Aug 2009 13:02:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.yellow-bricks.com/?p=347#comment-4283</guid>
		<description>Use kill -HUP intead of reboot the server.

# kill -HUP inetd_proc_id</description>
		<content:encoded><![CDATA[<p>Use kill -HUP intead of reboot the server.</p>
<p># kill -HUP inetd_proc_id</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: danieln</title>
		<link>http://www.yellow-bricks.com/2008/08/14/esxi-ssh-and-non-root-users/comment-page-1/#comment-4282</link>
		<dc:creator>danieln</dc:creator>
		<pubDate>Tue, 11 Aug 2009 13:01:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.yellow-bricks.com/?p=347#comment-4282</guid>
		<description>Use kill -HUP intead of reboot the server.

#  kill -HUP </description>
		<content:encoded><![CDATA[<p>Use kill -HUP intead of reboot the server.</p>
<p>#  kill -HUP</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jts</title>
		<link>http://www.yellow-bricks.com/2008/08/14/esxi-ssh-and-non-root-users/comment-page-1/#comment-3393</link>
		<dc:creator>jts</dc:creator>
		<pubDate>Thu, 07 May 2009 17:44:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.yellow-bricks.com/?p=347#comment-3393</guid>
		<description>How would you setup SSH keys so that the ESXi console session would be able to connect to a remote SSH server and NOT have to provide a password?  I haven&#039;t found a way to generate the keys ON the actual esxi box.</description>
		<content:encoded><![CDATA[<p>How would you setup SSH keys so that the ESXi console session would be able to connect to a remote SSH server and NOT have to provide a password?  I haven&#8217;t found a way to generate the keys ON the actual esxi box.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SangCheol Woo</title>
		<link>http://www.yellow-bricks.com/2008/08/14/esxi-ssh-and-non-root-users/comment-page-1/#comment-2106</link>
		<dc:creator>SangCheol Woo</dc:creator>
		<pubDate>Sun, 28 Dec 2008 08:39:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.yellow-bricks.com/?p=347#comment-2106</guid>
		<description>the file or sub-dir on / dir which you created will be deleted everytime you reboot!

So, I succeed like this way.

mkdir /home
useradd someone
passwd someone
tar cvf home.tar /home
mv home.tar /opt

edit /etc/rc.local bottom line
tar xvf /opt/home.tar -C /

files in /opt dir never deledted after reboot.
So, I can now ssh to esxi host with non-root user account.</description>
		<content:encoded><![CDATA[<p>the file or sub-dir on / dir which you created will be deleted everytime you reboot!</p>
<p>So, I succeed like this way.</p>
<p>mkdir /home<br />
useradd someone<br />
passwd someone<br />
tar cvf home.tar /home<br />
mv home.tar /opt</p>
<p>edit /etc/rc.local bottom line<br />
tar xvf /opt/home.tar -C /</p>
<p>files in /opt dir never deledted after reboot.<br />
So, I can now ssh to esxi host with non-root user account.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johan</title>
		<link>http://www.yellow-bricks.com/2008/08/14/esxi-ssh-and-non-root-users/comment-page-1/#comment-1849</link>
		<dc:creator>Johan</dc:creator>
		<pubDate>Fri, 28 Nov 2008 21:33:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.yellow-bricks.com/?p=347#comment-1849</guid>
		<description>This is a tricky tip!
The home dir is beeing removed when you reboot the server.
Meaning that you can&#039;t login anymore with your non-priviled users because the home-dir can&#039;t be found!

Grz. Johan</description>
		<content:encoded><![CDATA[<p>This is a tricky tip!<br />
The home dir is beeing removed when you reboot the server.<br />
Meaning that you can&#8217;t login anymore with your non-priviled users because the home-dir can&#8217;t be found!</p>
<p>Grz. Johan</p>
]]></content:encoded>
	</item>
</channel>
</rss>
