Commit 80ce5c

2024-04-12 15:15:03 Arpan S.: -/-
malicious methods.md ..
@@ 51,3 51,19 @@
##### Method 1: Using snapd
This is the recommened way of installing certbot by certbot. Although, Avoiding snapd should be considered in general applications.
+
+ ### Reset Password on Debian Based systems
+ Resetting the password on debian based systems is faily easy as long as there's access to the Grub Menu and _don't even require **hotkeys** to be working_. Here's how to reset the password on debian systems using grub menu.
+
+ 1. On the grub menu, Press `e`
+ 2. Find the line that starts with `linux` and usually (_but not always_) ends with `quiet`.
+ 3. At the end of that line, Type `init=/bin/bash`. If for some reason, bash shell isn't available, `sh` can be used.
+ 4. Press `Ctrl + X` to boot into shell.
+ 5. In the shell, Make sure the disks show up using the `lsblk`/`blkid`/`df` command.
+ 6. Once verified, Type `mount -rw -o remount /` to make the filesystem writeable
+ 7. Now, Type `passwd root` to change the root password of the server.
+ 8. Once done, Reboot the server.
+ ::: warning
+ Traditional methods of rebooting the server like `reboot` or `systemctl reboot` command won't work. It is recommended that you use `Ctrl` + `Alt` + `Del` to reboot it. Or Power cycling the server is also an option here.
+ :::
+ 9. Now once the server is booted, you can login to the server using the new password.
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9