Reset lost root password on Ubuntu 18.04 Bionic Beaver Linux Rumi, March 5, 2020 Boot Into GRUB menu The first step is to reboot into the GRUB menu. If Ubuntu 18.04 Bionic Beaver is the only operating system installed you need to keep pressing SHIFT for the GRUB menu to show up. Edit Grub Menu Using arrows select the Ubuntu menu or the menu you use to boot your system and hit the e key. This will allow you to edit the menu: Navigate down with the arrow-down key until you can see a line ending with: ro quiet splash $vt_handoff Using your keyboard replace the following keywords. FROM: r o quiet splash $vt_handoff TO: rw init=/bin/bash Once you have made the change press F10 or CTRL + x to perform boot into a single mode. Reset password Confirm that your system partition is mounted as read/write (rw): # mount | grep -w / If all good, reset your root password with the passwd command: # passwd Reboot Your root password is now reset. Reboot your system: # exec /sbin/init Related Administrations Configurations (Linux) Ubuntu 18
Installing NTP Service and change timezone in CentOS 6 / CentOS 7 August 30, 2019 Let’s install NTP service first: yum install ntp Configure NTP services by updating the following section (only if appropriate): nano /etc/ntp.conf And by commenting on the sections: # Use public servers from the pool.ntp.org project. # Please consider joining the pool (http://www.pool.ntp.org/join.html). #server 0.centos.pool.ntp.org iburst #server 1.centos.pool.ntp.org iburst #server 2.centos.pool.ntp.org… Read More
Linux Distributions September 20, 2011 A must read to learn and know the origins of different flavors of Linux distros. You'l end up wondering 'why didn't I notice this before?…' 🙂 http://en.wikipedia.org/wiki/List_of_Linux_distributions http://www.webmin.com/support.html Related Read More
Generating an SSH Key Pair on Windows Using the PuTTYgen and use it on OCI with machine instance June 29, 2022 The PuTTYgen program is part of PuTTY, an open source networking client for the Windows platform. To generate an SSH key pair on Windows using the PuTTYgen program: Download and install PuTTY or PuTTYgen.To download PuTTY or PuTTYgen, go to http://www.putty.org/ and click the You can download PuTTY here link…. Read More