How to recover Vunet User Password

How to recover Vunet User Password

How to Reset Forgotten Root Password in Ubuntu 

 

Firstly, you need to either power on or reboot your Ubuntu system. You should get a grub menu as shown below. If you are running your system on VirtualBox, press the ‘SHIFT’ key on the keyboard to bring up the boot menu. 

Ubuntu Grub Menu 

Next, press the ‘e’ key to edit the grub parameters. This should display a screen as shown below. 

Grub Boot Parameters 

Scroll down until you get to the line that begins with ‘linux /boot/vmlinuz’ the entire line is highlighted below. 

Find Grub Boot Parameter 

Narrow down to a section that reads “ro quiet splash $vt_handoff”. 

Locate Grub Boot Parameter 

 

Replace “ro quiet splash $vt_handoff” with rw init=/bin/bash as shown. The aim is to set the root file system with read and write commands denoted by the rw prefix. 

Enable Root Filesystem 

Thereafter, press ctrl + x or F10 to reboot your system. Your system will boot into a root shell screen as shown below. You can confirm that the root filesystem had read and write access rights by running the command. 

# mount | grep -w / 

The output in the screenshot below confirms read and write access rights denoted by rw. 

Confirm Root Filesytem Permissions 

To reset the root password execute the command. 

# passwd  

Provide a new password and confirm it. Thereafter, you will get a ‘password updated successfully’ notification. 

Reset Root Password in Ubuntu 

With the root password successfully changed, reboot into your Ubuntu system by running the command. 

# exec /sbin/init 

Thank you for coming this far. We hope that you can now comfortably reset the forgotten root password on your Ubuntu system from the grub menu.

    • Related Articles

    • Vunet as non sudo user

      Installation as non sudo user: Can we please make this as the default mode of installation in our product?  All customers have the same ask i.e they want our product to install as an application user and not a sudo user. Below are the steps (also ...
    • Account Locked while accessing vusmartmaps URL 334

       Solution Document ICICI || Account Locked while accessing vusmartmaps URL Overview General/Customer specific General Author Akash Thosare Reviewer NA Approver  NA  Release date 18/08/2022 Product Version 8.5r5 Audience: ...
    • Backup Settings In Frontend

      In the latest version of 8.5r5, we have the backup option configurable in the front end. Does this backup only the dashboards and other vienna objects or it backsup the config files like logstash aswell. Also how do we recover these backup files that ...
    • Backup settings in frontend

      question:In the latest version of 8.5r5, we have the backup option configurable in the front end. Does this backup only the dashboards and other vienna objects or it backsup the config files like logstash aswell. Also how do we recover these backup ...
    • Unable to install logbeat version 6.8 on target server 599

      VuNet Systems Private Limited  Solution Document Ticket #599  Overview General/Customer specific RBL Author Rachitha H V Reviewer Seema Approver Sendil Release date Product Version 8.5r5 Audience: CSG/TechWarriors/PAC/Platform/Product teams ...