How to Enable ssh Access for a Privileged User in VMware ESXi 4.1

Share this Article :

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 vSphere client but will failed when you try to connect using ssh access. This error message will be prompted:

    Access Denied


    Login as: demoroot
    [email protected]'s password:
    Access denied

To resolve this issue, follow below steps:

1. Connect the ESXi 4.1 host via Tech Support mode (local or remote SSH) as the root user.
2. Issue the following commands:

usermod -s /bin/ash <username>
mkdir -p /home/<username>
chown <username> /home/<username>

Also Read :   How to Submit Website or Blog to Yahoo Site Explorer


    ~ # usermod -s /bin/ash demoroot
    ~ # mkdir -p /home/demoroot
    ~ # chown demoroot /home/demoroot


Leave a Reply