• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

UnixArena

  • Home
  • kubernetes
  • DevOps
    • Terraform
    • Jenkins
    • Docker
    • Openshift
      • OKD
    • Ansible engine
    • Ansible Tower
      • AWX
    • Puppet
  • Cloud
    • Azure
    • AWS
    • Openstack
    • Docker
  • VMware
    • vCloud Director
    • VMware-Guests
    • Vcenter Appliance 5.5
    • vC OPS
    • VMware SDDC
    • VMware vSphere 5.x
      • vSphere Network
      • vSphere DS
      • vShield Suite
    • VMware vSphere 6.0
    • VSAN
    • VMware Free Tools
  • Backup
    • Vembu BDR
    • Veeam
    • Nakivo
    • Azure Backup
    • Altaro VMBackup
    • Spinbackup
  • Tutorials
    • Openstack Tutorial
    • Openstack Beginner’s Guide
    • VXVM-Training
    • ZFS-Tutorials
    • NetApp cDot
    • LVM
    • Cisco UCS
    • LDOM
    • Oracle VM for x86
  • Linux
    • How to Articles
    • Q&A
    • Networking
    • RHEL7
  • DevOps Instructor-led Training
  • Contact

VMware vSphere – How to break VCSA 6.5/6.7 root password ?

July 17, 2019 By Cloud_Devops Leave a Comment

How to recover the lost vCenter Server Appliance(VCSA 6.5 & above) root password? The vCenter Server Appliance is a preconfigured Linux virtual machine.  vSphere 6.7 U1 is the last release to include vCenter Server for Windows, which has been deprecated. vCenter Server Appliance is a very simple vCenter platform compares to the windows-based vC. Since vCenter server appliance runs on VMware photon OS, password recovery is almost similar to Linux server. This article will demonstrate how to break the VCSA 6.5/6.7 root password.

 

1.  VCSA 6.5 appliance will be a virtual machine on vCenter.  Just reboot the VCSA 6.5 appliance and interrupt the boot by pressing escape.

vCenter Server Appliance Version 6.5
vCenter Server Appliance Version 6.5

 

2. Once the VCSA appliance is booting, you could see the boot screen like below. Press Escape key & Press “e” to edit the GRUB menu.

vCenter Server Appliance - Boot Screen
vCenter Server Appliance – Boot Screen

 

3. Navigate to the line which starts from “linux“. At the end of that line, append “rw init=/bin/bash”  and press control + X or F10 to boot with those arguments.

Add bash shell using rw flag - VCSA 6.5 Grub
Add bash shell using rw flag – VCSA 6.5 Grub

 

4.  The system will be dropped in the root shell as shown in the following screenshot.

VCSA 6.5 - Emergency mode - root shell
VCSA 6.5 – Emergency mode – root shell

 

5. Remount the root filesystem in read/write mode.

# mount -o remount,rw /

 

6. Reset the root account password.

Reset root account password
Reset root account password

 

7. Umount the root filesystem.

# umount /

 

8. Reboot VCSA using -f flag to reboot it forcefully.

# reboot -f

 

9. Once the VCSA is booted normally, you can login using the newly set password.

Logged in Successfully - VCSA 6.5 - Break root Password
Logged in Successfully – VCSA 6.5 – Break root Password

 

10. You could also test by logging in to VCSA 6.5 Management portal.  (http://VCSA:5480)

VCSA 6.5 - Appliance Management
VCSA 6.5 – Appliance Management

 

11. Here is the successful login.

Logged in to VCSA 6.5 - Appliance Management
Logged in to VCSA 6.5 – Appliance Management

 

Hope this article is informative to you.

Filed Under: VMware, VMware vSphere, VMware vSphere 6.5 Tagged With: VCSA 6.5, VCSA 6.7

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Follow UnixArena

  • Facebook
  • LinkedIn
  • Twitter

Copyright © 2025 · UnixArena ·

Go to mobile version