Q&A for How to Reset Forgotten Password in Linux

Return to Full Article

Search
Add New Question
  • Question
    What do I do if the computer won't accept commands after selecting the "Drop to root shell prompt' option?
    Haxalicious
    Community Answer
    You need to mount the filesystem as read-write (rw). Do step 4 and type "mount -rw -o remount". You can also go into the recovery menu first, select "fsck" which will mount your filesystem as rw (and it will also check the disk for errors too) and after that you can use the root shell.
  • Question
    Will it lose my memory?
    Community Answer
    If you are referring to data in your hard disk, there is no data to lose. You are just modifying the file /etc/passwd file by the above-mentioned step.
  • Question
    How do I protect my computer from this attack?
    Community Answer
    Inside a terminal, type sudo nano /etc/default/grub. After finding #GRUB_DISABLE_RECOVERY="true", uncomment that line. Then, exit the nano text editor (make sure to save changes).
  • Question
    What do you mean by boot into recovery mode and how can I do that?
    Rohankumaryadavs
    Community Answer
    Boot Windows 10 in recovery mode without installation or a recovery disc. Usually a Windows 10 computer will boot into recovery mode when if fails to start for 3 times. So, you can hold the power button to turn off the PC, then power it on. When the Windows logo appears, power it off again. Repeat this process once more to complete it.
  • Question
    I use this terminal on my tab called "termux". I realised that I have forgotten my password after logging out. What should I do now?
    Agraz Milind21
    Community Answer
    You must reinstall your Linux OS. There is no other way to get back your password from such a secure system as Linux.
Ask a Question

      Return to Full Article