Since there is no option to reset the root password with VCSA running, we need to restart the VCSA in single-user mode. To do that, restart the VCSA, and when the PhotonOS logo is displayed, press e on your keyboard to edit the boot loader. Locate the line starting with linux, and at the end of the line add the following:
If you have just upgraded VMware VCSA to v7.0.1, but cannot log in, even though the root password is correct, you have probably locked the root user out. You can of course wait or you can proceed with the unlock procedure.
To reset the root password on the VCSA 6.x we need to boot the system into single user mode. Since v6, VMware requires users to enter the root password to modify the GRUB boot menu options. Here you can find instructions on how to remove GRUB password. Continue reading “How to reset the root password on VCSA 6.x”
In order to reset forgotten root password in VMware vCenter Appliance 6.5 do the following: Continue reading “How to reset forgotten root password in VMware vCenter Appliance 6.5”
Regardless of user access, many times you have probably wanted to know when someone logs-in into your server. And it is pretty easy to setup your Linux server to send mail notification on user login event. Note that, if you have a system with many users who login few times a day, then you should expect a lot of mail traffic. To configure your Linux server to send mail on user logon event open your /root/.bashrc file and add the following line: Continue reading “How to send mail notification on user logn event”
First we need to boot into recovery mode. To do so, restart server and hold Shift down to call up the boot menu. Then select (recovery mode) for the image you are using. Once you get Recovery menu, select root and press Enter. You will be redirected to recovery console.
At this point we need to mount file system, since it is in RO (read-only) mode. To do so, type the following:
Continue reading “How to reset root password on Linux server”