SlideShare a Scribd company logo
If you forgot your root user password on Debian 10, please go through the following steps to set a
new root password:
1. Start your Debian 10 machine and Press any key to stop the boot process.
2. Press “e” to edit the kernel command line parameters
3.
4. Use “down arrow” key for scrolling down. Go to the line that starts with the word “linux”
and use “right arrow” or press “End” button to go to the end of the line, and then add
“init=/bin/bash“ as follows-
5. After you have added the entry, press “F10” to boot Debian 10.
6. Debian will now boot into single user mode, with the root filesystem mounted in “read-only
mode“.
7. So, use below command to mount the root file system in “read-write mode“.
mount -o remount /
8. Finally, change the root user password using “passwd” command.
9. After rebooting, try the new root password using su command.
Reset root password on debian 10

More Related Content

PPTX
Successfully Copied Windows 10 System to Kingston A1000 M2 SSD
DOCX
Cara Set Up FTP server di ubuntu
PPT
EPiServer CMS 6 UI
PPT
Windows 7 Installation - ICT
PPTX
Installation of Windows 7 using USB
DOCX
How to recover password on a cisco 2950, 2960 switch
PDF
Java Configuration on Windows Xp
PPTX
Using ubuntu
Successfully Copied Windows 10 System to Kingston A1000 M2 SSD
Cara Set Up FTP server di ubuntu
EPiServer CMS 6 UI
Windows 7 Installation - ICT
Installation of Windows 7 using USB
How to recover password on a cisco 2950, 2960 switch
Java Configuration on Windows Xp
Using ubuntu

What's hot (11)

PPT
Windows 7 installation
DOCX
How to reset cisco 2960 to factory default
PPT
Windows 7 installation
ODP
OBS and You
PDF
Activity 1 windows 7 installation
PDF
Install windows xp operating system in less than 15 minutes
PDF
08.03.2015-Getting started with ubuntu 14.04
PPT
Jc's window 7 installation
DOCX
Windows 11 file history
PPT
Windows 7 installation
PPTX
Cisco 2960x switch password recovery
Windows 7 installation
How to reset cisco 2960 to factory default
Windows 7 installation
OBS and You
Activity 1 windows 7 installation
Install windows xp operating system in less than 15 minutes
08.03.2015-Getting started with ubuntu 14.04
Jc's window 7 installation
Windows 11 file history
Windows 7 installation
Cisco 2960x switch password recovery
Ad

More from Md. Zahid Hossain Shoeb (20)

PDF
Research process: an introduction
PPSX
Things to consider for scientific writing
PPSX
Manage your citations and references using Mendeley
PPSX
Create your Personal Research Identifier/Profile
PPSX
How to use EndNote for managing your references
PDF
Iub library literacy class - autumn 2016
PDF
Why do you consider to adopt Koha Open Source Integrated Library System for y...
PPSX
Get to know your library
PDF
Developing information literacy education programme for the iub business stud...
PPSX
Processing of Library Materials
PDF
Organize your research with EndNote
PDF
Delete GRUB/Linux dual booting and claim space
PDF
Debian installation screenshots
PDF
Linux introduction
PPT
IR and DSpace - International Seminar, Dhaka University
PDF
EndNote Basic: citation utility for research support
PDF
IUB Workshop on Effective Search Strategies
PDF
Start your research with endnote (edited)
PPTX
Introducing linux: a short expedition to the debian environment
PPTX
MarcEdit - makes the life easier (BALID Training programme on Marc 21)
Research process: an introduction
Things to consider for scientific writing
Manage your citations and references using Mendeley
Create your Personal Research Identifier/Profile
How to use EndNote for managing your references
Iub library literacy class - autumn 2016
Why do you consider to adopt Koha Open Source Integrated Library System for y...
Get to know your library
Developing information literacy education programme for the iub business stud...
Processing of Library Materials
Organize your research with EndNote
Delete GRUB/Linux dual booting and claim space
Debian installation screenshots
Linux introduction
IR and DSpace - International Seminar, Dhaka University
EndNote Basic: citation utility for research support
IUB Workshop on Effective Search Strategies
Start your research with endnote (edited)
Introducing linux: a short expedition to the debian environment
MarcEdit - makes the life easier (BALID Training programme on Marc 21)
Ad

Recently uploaded (20)

PDF
Encapsulation theory and applications.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Approach and Philosophy of On baking technology
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
KodekX | Application Modernization Development
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
Spectroscopy.pptx food analysis technology
Encapsulation theory and applications.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
Review of recent advances in non-invasive hemoglobin estimation
Chapter 3 Spatial Domain Image Processing.pdf
Encapsulation_ Review paper, used for researhc scholars
MIND Revenue Release Quarter 2 2025 Press Release
Approach and Philosophy of On baking technology
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
sap open course for s4hana steps from ECC to s4
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
KodekX | Application Modernization Development
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Mobile App Security Testing_ A Comprehensive Guide.pdf
Advanced methodologies resolving dimensionality complications for autism neur...
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Programs and apps: productivity, graphics, security and other tools
Unlocking AI with Model Context Protocol (MCP)
Spectroscopy.pptx food analysis technology

Reset root password on debian 10

  • 1. If you forgot your root user password on Debian 10, please go through the following steps to set a new root password: 1. Start your Debian 10 machine and Press any key to stop the boot process. 2. Press “e” to edit the kernel command line parameters 3. 4. Use “down arrow” key for scrolling down. Go to the line that starts with the word “linux” and use “right arrow” or press “End” button to go to the end of the line, and then add “init=/bin/bash“ as follows-
  • 2. 5. After you have added the entry, press “F10” to boot Debian 10. 6. Debian will now boot into single user mode, with the root filesystem mounted in “read-only mode“.
  • 3. 7. So, use below command to mount the root file system in “read-write mode“. mount -o remount / 8. Finally, change the root user password using “passwd” command. 9. After rebooting, try the new root password using su command.