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

Add Temp Service Account with Shell Privilege.

PUTTY to 172.27.32.111

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 #

Restart sshd by typing service sshd restart

Remove Temp VMService Account

TAGS