Enabling the root user for the vSphere Management Assistant
book
Article ID: 310682
calendar_today
Updated On:
Products
VMware vCenter Server
VMware vSphere ESXi
Issue/Introduction
This article provides steps to enable the root user for the vSphere Management Assistant (vMA).
Environment
VMware vSphere Management Assistant 4.1
VMware vSphere Management Assistant 5.5
VMware vSphere Management Assistant 4.0.x
Resolution
To enable the root account in vMA:
- Log in to vMA as the vi-admin user.
- Run this command to open the passwd file:
sudo vi /etc/passwd
- Locate the entry similar to:
root:x:0:0:root:/root:/sbin/nologin
- Change this entry to:
root:x:0:0:root:/root:/bin/bash
- Save and close the file.
- Log out from vMA and log in again as the vi-admin user.
- Run this command and enter the new root password:
sudo passwd root
You should now be able to log in to vMA using the root account.
Feedback
thumb_up
Yes
thumb_down
No