VMware Cloud Community
vmhyperv
Contributor
Contributor

Not able to login from SSH as a normal user

Hi,
  I have a standalone ESxi4.1 U1 and i am a part of root user group but not able to login through SSH.Any reason ?From root i can login directly not not from normal users.Looking for help


thanks
vmguy

Tags (1)
0 Kudos
1 Reply
VTsukanov
Virtuoso
Virtuoso

Hi

Сhange shell and home directory for your users editing the file "passwd" by means of the editor vi.

For every user you have to change substring

from "/sbin/nologin" => to "/bin/ash"

and

from "/home/<username>" to "/" (or other but existing directory)

As a result, the user line should look as follows:

username:x:50x:0:usergroup:/:/bin/ash