{"id":1064,"date":"2011-05-11T23:28:30","date_gmt":"2011-05-11T15:28:30","guid":{"rendered":"https:\/\/webhostinggeeks.com\/howto\/?p=1064"},"modified":"2023-04-28T09:50:24","modified_gmt":"2023-04-28T09:50:24","slug":"how-to-enable-ssh-access-for-a-privileged-user-in-vmware-esxi-4-1","status":"publish","type":"post","link":"https:\/\/webhostinggeeks.com\/howto\/how-to-enable-ssh-access-for-a-privileged-user-in-vmware-esxi-4-1\/","title":{"rendered":"How to Enable ssh Access for a Privileged User in VMware ESXi 4.1"},"content":{"rendered":"<p>On the previous post, i have teach you on <a title=\"How to create additional user on ESXi 4.1\" href=\"https:\/\/webhostinggeeks.com\/howto\/how-to-create-additional-user-on-vmware-esxi-4-1-host\/\" target=\"_blank\" rel=\"noopener\">how to create the additional user on VMware ESXi 4.1 host<\/a>. That new user will successfully connect to ESXi host using vSphere client but will failed when you try to connect using ssh access. This error message will be prompted:<\/p>\n<ol>\n<pre class=\"code\">Access Denied\n<\/pre>\n<\/ol>\n<p>Example:<\/p>\n<ol>\n<pre class=\"code\">Login as: demoroot\ndemoroot@ESXi4.1host's password:\nAccess denied\n<\/pre>\n<\/ol>\n<p>To resolve this issue, follow below steps:<\/p>\n<p>1. Connect the ESXi 4.1 host via Tech Support mode (local or remote SSH) as the root user.<br \/>\n2. Issue the following commands:<\/p>\n<p>usermod -s \/bin\/ash &lt;username&gt;<br \/>\nmkdir -p \/home\/&lt;username&gt;<br \/>\nchown &lt;username&gt; \/home\/&lt;username&gt;<\/p>\n<p>Example:<\/p>\n<ol>\n<pre class=\"code\">~ # usermod -s \/bin\/ash demoroot\n~ # mkdir -p \/home\/demoroot\n~ # chown demoroot \/home\/demoroot\n<\/pre>\n<\/ol>\n<p><a title=\"Reference\" href=\"https:\/\/kb.vmware.com\/s\/article\/1029178\" target=\"_blank\" rel=\"noopener\">Reference<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>On the previous post, i have teach you on how to create the additional user on VMware ESXi 4.1 host. That new user will successfully connect to ESXi host using&#8230;<\/p>\n","protected":false},"author":6,"featured_media":316,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"wds_primary_category":0,"footnotes":""},"categories":[1083],"tags":[1895,1899],"class_list":["post-1064","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-vmware","tag-vmware","tag-vmware-vsphere"],"_links":{"self":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/1064","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/comments?post=1064"}],"version-history":[{"count":0,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/1064\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media\/316"}],"wp:attachment":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media?parent=1064"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/categories?post=1064"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/tags?post=1064"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}