• Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
AnonyViet - English Version
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
AnonyViet - English Version
No Result
View All Result

How to reset root password when forgotten in Ubuntu

AnonyViet by AnonyViet
January 25, 2023
in Network
0

In this article, I will show you how to reset the root password on Ubuntu. User roles on the Linux operating system are based on a hierarchy. The root user sits on the throne and can control the actions of all other users. It’s the admin/authentication rights of the root user, which controls the actions of any other user that has access to the Linux system.

Join the channel Telegram of the AnonyViet 👉 Link 👈

The root user can override or change normal user actions and permissions. As a result, things like system updates, application installation and configuration, and general system configuration may sometimes require the approval of the root user password.

How to reset root password when forgotten in Ubuntu

So what happens when a normal Linux user or system administrator forgets the system’s root password? Note that changing the root password is different from resetting the root password.

How to reset root password when forgotten in Ubuntu

The solution to this problem requires restarting your Ubuntu system, go to Grub boot loader and boot into the system Ubuntu from recovery mode.

Therefore, restart your Ubuntu and after the computer screen goes dim, keep pressing the keys [Esc] or [Shift] of the keyboard until you are redirected to the Grub menu screen.

How to reset root password when forgotten in Ubuntu 14
Use arrow keys [lên] and [xuống] of the keyboard to enter Advanced Options for Ubuntu.

How to reset root password when forgotten in Ubuntu 15
Press [Enter] and you will be redirected to another Grub window and select recovery mode.
How to reset root password when forgotten in Ubuntu 16Wait a moment, the screen below appears.
How to reset root password when forgotten in Ubuntu 17Select root Drop to root shell prompt and press [Enter] on your keyboard.

How to reset root password when forgotten in Ubuntu 18

At the bottom of the window, you will see a command line interface with direct access to the terminal root shell.

How to reset root password when forgotten in Ubuntu 19

The next step is to re-grant the root (/) filesystem partition with write permissions. Its default access partition is read-only.

# mount -rw -o remount /

How to reset root password when forgotten in Ubuntu 20

Next you are free to reset the root password and even the username if you want. Before resetting the root password, you need to identify the user associated with that password.

# ls /home

How to reset root password when forgotten in Ubuntu 21

After you have identified the root user, use the following command syntax to reset the root password:

# passwd username

You will be prompted twice to enter and reconfirm the new root password you want to use.

How to reset root password when forgotten in Ubuntu 22

Type escape key on terminal and press [Enter] on your keyboard. You will return to the Recovery Menu window. Select Resume normal boot.

How to reset root password when forgotten in Ubuntu 23

Ignore any graphics mode compatibility warnings as a complete system reboot should fix the error.

How to reset root password when forgotten in Ubuntu 24

Based on the root password you have set, you should be free to access your Ubuntu system again as the admin/root user.

How to reset root password when forgotten in Ubuntu 25

So you don’t have to worry about losing control of your root privileges on your Ubuntu system.

The article achieved: 5/5 – (100 votes)

Tags: forgottenPasswordResetrootUbuntu
Previous Post

10 steps to take when infected with data encryption Ransomware

Next Post

Lesson 140: How to calculate quarter in Excel

AnonyViet

AnonyViet

Related Posts

Guide to self -creation socket5 on Ubuntu
Network

Guide to self -creation socket5 on Ubuntu

May 28, 2025
How to create a separate mtproto proxy to use Telegram when blocked
Network

How to create a separate mtproto proxy to use Telegram when blocked

May 25, 2025
Script backup database and website on telegram
Network

Script backup database and website on telegram

May 2, 2025
Create 64GB RAM 16 core for free on Google IDX
Network

Create 64GB RAM 16 core for free on Google IDX

April 13, 2025
What is VPS running Vietnamese software? What is the reason for installing Vietnamese software on VPS?
Network

What is VPS running Vietnamese software? What is the reason for installing Vietnamese software on VPS?

February 17, 2025
Create Ronin wallet to play pixels on VPS Windows
Network

Create Ronin wallet to play pixels on VPS Windows

February 17, 2025
Next Post
Lesson 140: How to calculate quarter in Excel

Lesson 140: How to calculate quarter in Excel

0 0 votes
Article Rating
Subscribe
Login
Notify of
guest

guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

Recent News

Instructions to unlock Facebook in the form of “your account locked” format “

Instructions to unlock Facebook in the form of “your account locked” format “

July 4, 2025
How to register mysign digital signature on Vneid for free

How to register mysign digital signature on Vneid for free

July 4, 2025
Top 5 white -hat hacker programming languages ​​should learn

Top 5 white -hat hacker programming languages ​​should learn

July 3, 2025
Guide to see the new address on VNEID after the merger

Guide to see the new address on VNEID after the merger

July 3, 2025
Instructions to unlock Facebook in the form of “your account locked” format “

Instructions to unlock Facebook in the form of “your account locked” format “

July 4, 2025
How to register mysign digital signature on Vneid for free

How to register mysign digital signature on Vneid for free

July 4, 2025
Top 5 white -hat hacker programming languages ​​should learn

Top 5 white -hat hacker programming languages ​​should learn

July 3, 2025
AnonyViet - English Version

AnonyViet

AnonyViet is a website share knowledge that you have never learned in school!

We are ready to welcome your comments, as well as your articles sent to AnonyViet.

Follow Us

Contact:

Email: anonyviet.com[@]gmail.com

Main Website: https://anonyviet.com

Recent News

Instructions to unlock Facebook in the form of “your account locked” format “

Instructions to unlock Facebook in the form of “your account locked” format “

July 4, 2025
How to register mysign digital signature on Vneid for free

How to register mysign digital signature on Vneid for free

July 4, 2025
  • Home
  • Home 2
  • Home 3
  • Home 4
  • Home 5
  • Home 6
  • Next Dest Page
  • Sample Page

©2024 AnonyVietFor Knowledge kqxs hôm nay xem phim miễn phí 23win https://kubet88.yoga/ KUBET BK8 Bj88 https://u888b.site/ 8XBET

No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office

©2024 AnonyVietFor Knowledge kqxs hôm nay xem phim miễn phí 23win https://kubet88.yoga/ KUBET BK8 Bj88 https://u888b.site/ 8XBET

wpDiscuz
0
0
Would love your thoughts, please comment.x
()
x
| Reply