The Tech Edvocate

Top Menu

  • Advertisement
  • Apps
  • Home Page
  • Home Page Five (No Sidebar)
  • Home Page Four
  • Home Page Three
  • Home Page Two
  • Home Tech2
  • Icons [No Sidebar]
  • Left Sidbear Page
  • Lynch Educational Consulting
  • My Account
  • My Speaking Page
  • Newsletter Sign Up Confirmation
  • Newsletter Unsubscription
  • Our Brands
  • Page Example
  • Privacy Policy
  • Protected Content
  • Register
  • Request a Product Review
  • Shop
  • Shortcodes Examples
  • Signup
  • Start Here
    • Governance
    • Careers
    • Contact Us
  • Terms and Conditions
  • The Edvocate
  • The Tech Edvocate Product Guide
  • Topics
  • Write For Us
  • Advertise

Main Menu

  • Start Here
    • Our Brands
    • Governance
      • Lynch Educational Consulting, LLC.
      • Dr. Lynch’s Personal Website
      • Careers
    • Write For Us
    • The Tech Edvocate Product Guide
    • Contact Us
    • Books
    • Edupedia
    • Post a Job
    • The Edvocate Podcast
    • Terms and Conditions
    • Privacy Policy
  • Topics
    • Assistive Technology
    • Child Development Tech
    • Early Childhood & K-12 EdTech
    • EdTech Futures
    • EdTech News
    • EdTech Policy & Reform
    • EdTech Startups & Businesses
    • Higher Education EdTech
    • Online Learning & eLearning
    • Parent & Family Tech
    • Personalized Learning
    • Product Reviews
  • Advertise
  • Tech Edvocate Awards
  • The Edvocate
  • Pedagogue
  • School Ratings

logo

The Tech Edvocate

  • Start Here
    • Our Brands
    • Governance
      • Lynch Educational Consulting, LLC.
      • Dr. Lynch’s Personal Website
        • My Speaking Page
      • Careers
    • Write For Us
    • The Tech Edvocate Product Guide
    • Contact Us
    • Books
    • Edupedia
    • Post a Job
    • The Edvocate Podcast
    • Terms and Conditions
    • Privacy Policy
  • Topics
    • Assistive Technology
    • Child Development Tech
    • Early Childhood & K-12 EdTech
    • EdTech Futures
    • EdTech News
    • EdTech Policy & Reform
    • EdTech Startups & Businesses
    • Higher Education EdTech
    • Online Learning & eLearning
    • Parent & Family Tech
    • Personalized Learning
    • Product Reviews
  • Advertise
  • Tech Edvocate Awards
  • The Edvocate
  • Pedagogue
  • School Ratings
  • Millions of Student Loan Borrowers Face Unprecedented Chaos: Is Your Repayment Plan Next?

  • The Astonishing Truth About Student Loan Refinance Rates: What You Need to Know Now

  • Devastating: AI Agents Just Found a Zero-Day in Medical Software in 11 Minutes

  • The AI Education Revolution: 10 Urgent Questions Universities Must Answer Now

  • Explosive Zero-Day Vulnerability: 15 Million Websites Under Siege – Is Yours Next?

  • The Ultimate Kuru Footwear Trio: A Comfort Revolution for Every Adventure

  • Why Your Mortgage Could Be Denied by Biased AI – And What the Fed Is Doing About It

  • Unprecedented: Lawsuit Demands Total AI Shutdown Amid Rising Global Panic

  • The Astonishing Truth: Microcredentials Now Trump MBAs for Data Science Jobs

  • The Astonishing Twist: AI Cuts Your Job, Then Helps You Sue Your Boss

Digital & Mobile Technology
Home›Digital & Mobile Technology›How to Reset the Root Password in Linux

How to Reset the Root Password in Linux

By Matthew Lynch
May 4, 2023
0
Spread the love

As a Linux user, there may come a time when you forget or need to reset the root password. Luckily, resetting the root password is relatively easy and straightforward. In this article, we’ll walk through the steps needed to reset the root password in Linux.

Step 1: Boot into Single User Mode

The first step in resetting the root password is to boot your Linux system into single-user mode. This can be done by rebooting your system and interrupting the boot process before it finishes. Once you’ve interrupted the boot process, you should be presented with the GRUB menu. From there, select the default or most recent kernel and press “e” to edit the boot configuration.

Next, find the line that starts with “linux” and add “single” at the end of the line, as shown below:

linux /boot/vmlinuz-4.15.0-32-generic root=UUID=1234-5678 ro single

Once you’ve made this change, press F10 or Ctrl+X to boot into single-user mode.

Step 2: Mount the Filesystem

In single-user mode, you need to mount the filesystem as read-write so you can reset the root password. You can do this by running the following command:

mount -o remount,rw /

Step 3: Change the Root Password

Now that the filesystem is mounted as read-write, you can change the root password using the “passwd” command. Simply type in “passwd root” and then follow the prompts to set a new root password.

Step 4: Reboot Your System

Once you’ve reset the root password, it’s time to reboot your system. You can do this by running the “reboot” command, which will restart your system and take you to the login screen.

That’s it! You’ve successfully reset the root password in Linux. It’s important to note that resetting the root password can be a security risk, so be sure to keep your new password secure and private. Additionally, if you’re running a Linux distribution with SELinux enabled, you may need to restore the previous SELinux contexts for your files and directories using the “restorecon” command. 

Previous Article

How to Reset or Change the Password ...

Next Article

How to Reset Your Advertising ID on ...

Matthew Lynch

Related articles More from author

  • Digital & Mobile Technology

    Can a Gasoline Vehicle Be Converted to an EV?

    June 12, 2023
    By Matthew Lynch
  • Digital & Mobile Technology

    How to Change a Spotify Playlist Picture

    May 20, 2023
    By Matthew Lynch
  • Digital & Mobile Technology

    How to Block and Allow Pop-ups on Safari

    May 19, 2023
    By Matthew Lynch
  • Digital & Mobile Technology

    How to Create and Manage a WhatsApp Group

    May 27, 2023
    By Matthew Lynch
  • Digital & Mobile Technology

    How to Find Trash on an Android Device

    May 31, 2023
    By Matthew Lynch
  • Digital & Mobile Technology

    How to Use Lock Screen Widgets on Your Samsung Phone

    August 5, 2023
    By Matthew Lynch

Search

Login & Registration

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Newsletter

Signup for The Tech Edvocate Newsletter and have the latest in EdTech news and opinion delivered to your email address!

About Us

Since technology is not going anywhere and does more good than harm, adapting is the best course of action. That is where The Tech Edvocate comes in. We plan to cover the PreK-12 and Higher Education EdTech sectors and provide our readers with the latest news and opinion on the subject. From time to time, I will invite other voices to weigh in on important issues in EdTech. We hope to provide a well-rounded, multi-faceted look at the past, present, the future of EdTech in the US and internationally.

We started this journey back in June 2016, and we plan to continue it for many more years to come. I hope that you will join us in this discussion of the past, present and future of EdTech and lend your own insight to the issues that are discussed.

Newsletter

Signup for The Tech Edvocate Newsletter and have the latest in EdTech news and opinion delivered to your email address!

Contact Us

The Tech Edvocate
910 Goddin Street
Richmond, VA 23231
(601) 630-5238
[email protected]

Copyright © 2026 Matthew Lynch. All rights reserved.