- Log into vcenter console.
- Locate the airwatch uag vm or appliance and connect vm console.
- Restart the uag vm.
- When bootup or appear photon OS GUI page, press "e".
- Then, You will see the below GRUB options.
- GNU GRUB
-
Remove all the word after "root=$rootpartition" and add below line after it.
rw init=/bin/bash
- Full line will be look like below
linux /boot/$photon_linux root=$rootpartition rw init=/bin/bash
-
Type Ctrl+X or F10 to load after that it'll boot to root shell.
-
This step is depedend on your requirements, you can do this step if your account is locked.
-
Check your account is lock or not.
pam_tally2 -u root
-
If result shown 2 or more in failures coloum, excute below command and then check again above command failures value will be "0".
pam_tally2 -u root -r
-
Ref url: vmware,minarik.io