Remotely Granting Shell access to Root

Grant Shell access to Root

By default, ROOT no longer has the ability to SSH into the ESX server.
This can be re-enabled for ease of administration. If you are at the console, skip directly to the PUTTY commands.

Add Service Account User via VI Client

Remotely Granting Shell access to Root 1

Add Temp Service Account with Shell Privilege.

Remotely Granting Shell access to Root 2

PUTTY to 172.27.32.111

Remotely Granting Shell access to Root 3

Log in as our temp VMService account and type su – and the ROOT password.

Type nano –w /etc/ssh/sshd_config

Find PermitRootLogin no and add #

Remotely Granting Shell access to Root 4

Restart sshd by typing service sshd restart

Remotely Granting Shell access to Root 5

Remove Temp VMService Account

Remotely Granting Shell access to Root 6Remotely Granting Shell access to Root 7

TAGS