-2

I really don't want to screw around with GRUB and everyone else's advice always involves me being a sudoer or knowing the root password

  • 5
    The only option that you have is to go into single-user mode and reset the root password. If you're going to use Linux then you need to know how to do that. The only other option is to blow everything away and reinstall. – Nasir Riley Mar 31 '18 at 23:31
3

Boot with a live disk. Become root. Mount your / partition someplace, and chroot to it. Run passwd and set a new root user password. Exit the chroot and reboot.

  • He doesn't need to boot from a live disc. He can enter single-user mode at boot and follow your steps. – Nasir Riley Apr 1 '18 at 4:59
  • Single user mode was superceded by emergency and rescue modes back in 1995. unix.stackexchange.com/a/392612/5132 – JdeBP Apr 1 '18 at 11:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.