How to check for Spectre / Meltdown vulnerability in Linux Mint / Ubuntu

Launch your terminal and type in the following commands

mkdir ~/sm
cd ~/sm
wget https://raw.githubusercontent.com/speed47/spectre-meltdown-checker/master/spectre-meltdown-checker.sh
chmod +x ./spectre-meltdown-checker.sh
sudo ./spectre-meltdown-checker.sh

In case your system is ok and is not vulnerable you'll get a similar screen like this in your terminal

undefined

How to recover your system by setting "root" password in Linux Mint

If you do not have root password set in Linux Mint, and you have managed to forget your user password, you can recover your system by setting root password for your system, here is how to do it.


Reboot your Linux installation, and press and hold the "Shift" button on your keyboard.

In the GRUB menu select "Advanced Options for Linux Mint" and press Enter

undefined

on the next screen select the (recovery option) and press Enter

undefined

You will have to choose the "root - Drop to root shell prompt" option

undefined

if you press Enter here you'll get to the root shell prompt. Because we need write permissions here, let's re mount our system root folder with the following command :

mount -n -o remount, rw /

undefined

The next step is to change our "root" password by using the following command :

passwd root

undefined

Make sure you are using a secure password for your root account as it's extremely important to keep this account secure and well protected.

Now re-boot and will be able to use your system with your new "root" password.

To restartyour system, simply type this command in your terminal and press Enter

reboot