Skip to main content

Posts

Enabling/Unlocking the root locked account

 To Enabling/Unlocking the root locked account, follow below steps: 1.ssh with non root user 2.Check the root user is locked:      root@Ubuntu:/home/test# passwd -S root     root  L  11/12/2024 0 99999 7 -1         >> here L means its locked. 3.Manually enable the root account    A)verify the /etc/shadow password (the second field ! Or * means its locked)    B)Create a password in hash format:        openssl passwd -6         >>give new password       >>Copy the new hash password    C)Edit /etc/shadow and update in the second field:               D)Verify /etc/ssh/sshd_config have "PermitRootLogin=yes, PasswordAuthentification=yes" and restart ssh service already done.
Recent posts

Ubuntu apt installation error as : E: Unable to correct problems, you have held broken packages.

  Error: E: Unable to correct problems, you have held broken packages. Solution: 1) Find the broken packages using: apt-mark showhold    root@test:~# apt-mark showhold     libcephfs2     libsqlite3-mod-ceph 2) Unhold the locked packages using :  apt-mark unhold <pkg name>    root@test:~# apt-mark unhold libcephfs2 libsqlite3-mod-ceph

Enable MOB for vCenter version 9.0

MOB in vCenter 9.x is not enabled by default. Please follow below steps to enable: ****************************************************************** A) Connect to your VCSA via SSH      Backup the VPXD Configuration file      # cp /etc/vmware-vpx/vpxd.cfg /var/core/vpxd.cfg_backup B) Edit the Configuration File: Open the vpxd.cfg file using a text editor (e.g., vi)      # vi /etc/vmware-vpx/vpxd.cfg      Identify the flag "enableDebugBrowse".If it's set to false or missing, change it or add it to true as      shown below    <vpxd>    ...      <enableDebugBrowse>true</enableDebugBrowse>       ...    </vpxd>      Save and close the file C) Restart the vCenter Server Service (vpxd)      # service-control --stop vpxd      # service-control --start vpxd

Steps to Setup a vLCM with offline image on vCenter server

Steps to Set Up vLCM Using an Offline Image Step 1: Download Required Offline Files      ESXi Offline Bundle ZIP      Example: VMware-ESXi-8.0U3-xxxxxx-depot.zip      Vendor Add-ons (optional but recommended for Dell, HPE, Lenovo, etc.)      Example: HPE-Custom-AddOn_802.0.0.10.2-1OEM.802.0.0.24938291_231208.zip Sources:      VMware Patch Portal      (Search under ESXi (Embedded and Installable) → Select your version → Download the Offline           Bundle)      HPE: https://www.hpe.com/info/esxi      Dell: https://www.dell.com/support/home/product-support/vmware-esxi      Lenovo: https://datacentersupport.lenovo.com/      Download the relevant files and transfer them to your vCenter environment, ideally to a machine that      can access the vCenter UI. Step 2: Upload Offline Bundle to vLCM ...

ESXi Host client unable to access because root login locked

  Issue: ESXi server is unable to access due to locked root user Solution: Option 1:  Access the ESXi console from the remote console of the physical server: Press F2 to log in with root user (here it will allow when locked from UI also) Press "Alt+F1"    This will take you to the shell.      check the root login details: pam_tally2 --user root     reset the lock:  pam_tally2 --user root --reset Option 2: Wait for the 15-minute lock period to get unlocked.

In windows installing Debain from Microsoft Store fails with: The error "0x8007019e The Windows Subsystem for Linux has not been enabled"

Error: The error "0x8007019e The Windows Subsystem for Linux has not been enabled"  Solution: Enable Windows Subsystem for Linux: Open "Turn Windows features on or off" by searching for it in the Start Menu.  Locate "Windows Subsystem for Linux" in the list.  Enable this option.