jump to navigation

Enabling the vMA root user account November 20, 2012

Posted by vbry21 in VCAP5-DCA.
Tags:
trackback

I was asked a question recently relating to the root account in the VMware vSphere Management Assistant Virtual Appliance. The question was why can’t I login as root?

By default the root user account is disabled, but what you may want to do for troubleshooting purposes is to enable the root account (I would only do this in conjunction with VMware Global Support Services).

To enable the root account in vMA:

  1. Log in to vMA as the vi-admin user.
  2. Run this command to open the passwd file:

    sudo vi /etc/passwd

  3. Locate the line that appears similar to:

    root:x:0:0:root:/root:/sbin/nologin

  4. Modify the line it to:

    root:x:0:0:root:/root:/bin/bash

  5. Log out from vMA and log in again as the vi-admin user.
  6. Run this command and enter the new root password:

    sudo passwd root

  7. You should now be able to log in to vMA using the root account.

 

Advertisements

Comments»

No comments yet — be the first.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: