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
  • 100 Best Health Tech Apps

  • The Unseen Revolution: Why Millions Are Ditching Smartwatches for These Rings in 2026

  • The NYC Real Estate Tech Revolution: What Developers Like Boris Mizhen Are Chasing

  • The Startling Truth: Rogue AI Agents Spark Unprecedented Legal Battles

  • Your Metaverse Real Estate Investment Could Explode 1100% By 2034 – Here’s Why

  • Asmongold’s Shocking Take on Women in Video Games: The Firestorm Explained

  • TOMORROW’S WATCH October 4, 2026 Tomorrow, New York City puts the biggest AI labs on the stand.

  • The Troubling Truth About AI Companions in Education

  • Citrix’s Latest Crisis: Is Your NetScaler SAML Zero-Day Exploit a Time Bomb?

  • Shocking Car Payment Trends: Over 1 in 5 New Buyers Hit $1,000 Monthly — Here’s Why

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

    How to Delete hiberfil.sys for Good

    February 15, 2024
    By Matthew Lynch
  • Digital & Mobile Technology

    Where Did the System Control Panel Go on Windows 11?

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

    How to Save and Quit a File in Vim

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

    Productive Things to Do on Your Phone Instead of Mindlessly Scrolling

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

    How to Set a Computer Alarm

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

    Best Fire TV Stick : Fire Stick 4K Max, Lite, Fire TV Cube and More

    April 11, 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.