ISCL is a Intelligent Information Consulting System. Based on our knowledgebase, using AI tools such as CHATGPT, Customers could customize the information according to their needs, So as to achieve

How to Reset the Linux Root Password

26

    Resetting from GRUB

    • 1). Boot or reboot your computer.

    • 2). Click on the Linux kernel and press "e" as fast as you can. This screen doesn't stay up for long.

    • 3). Select the line that begins with the word "kernel". This is usually the second line. Press "e". This should allow you to edit and append the kernel title or name.

    • 4). Add a space after the kernel name. Type in "single". Press "enter". In some cases typing the letter "s" will also take you to single-user mode.

    • 5). Press "b" to boot the system into single-user mode.

    • 6). Type "passwd" at the prompt to reset the root password. Add a new password.

    • 7). Type "reboot" to reboot the system, and use your new root password.

    Resetting from LILO

    • 1). Boot or reboot the system.

    • 2). Type in "linux single" when the LILO prompt appears. Press "Enter". This should log you in under single-user mode.

    • 3). Type "passwd" when the prompt appears to reset your password. Add a new password.

    • 4). Type "reboot" to reboot your system and use your new root password.

Source...
Subscribe to our newsletter
Sign up here to get the latest news, updates and special offers delivered directly to your inbox.
You can unsubscribe at any time

Leave A Reply

Your email address will not be published.