| Written by: | Alexio |
Score: 11 votes: 15 Format: Article |
Reset forgotten/lost main user password in Linux Mint
You can reset your password following the next steps:
- Reboot your computer / Turn your computer on.
- Hold down the Shift key at the start of the boot process to enable the GNU GRUB boot menu (if it does not show)
- Press ESC at the GNU GRUB prompt.
- Press e for edit.
- Use the Arrow keys to highlight the line that begins with kernel and press the e key.
-
Go to the very end of the line and add
rw init=/bin/bash - Press Enter and then press b to boot your system.
- Your system will boot up to a passwordless root shell.
-
Type in
passwd yourusername - Set your new password.
- Restart your system.
Tags: reset user password
Created: 1 year ago.
Last edited: 1 year ago.
Reviewed: 8 months ago by oscar799.
Read 3122 times.
| Comments | |||
| 4 weeks ago |
Alexio |
@bugmenot & @compuman2004 - You are welcome! | |
| 4 weeks ago |
bugmenot |
In Linux Mint 12, the line to edit begins with "linux" and not "kernel" Follow steps 1 through 4 above. In step 5, navigate to the end of this line: linux /boot/vmlinuz-3.0.0-12-generic root=UUID=[letters and numbers]\[letters and numbers] ro quiet splash vt.handoff=7 replace ro quiet splash vt.handoff=7 with rw init=/bin/bash so it looks like this: linux /boot/vmlinuz-3.0.0-12-generic root=UUID=[letters and numbers]\[letters and numbers] rw init=/bin/bash Press Ctrl-x or F10 to boot with these options Follow steps 8 through 11 in Alexio's tutorial as normal Thanks to Alexio. Saved my box from a reinstall. |
|
| 1 month ago |
mcfaiaz55 |
It does not work. | |
| 5 months ago |
Tazmanian-Hat |
Thanks for this. but I can't get past step 3. It won't respond to anything at the GNU GRUB screen. | |
| 6 months ago |
cutabovehost |
There is no line that begins with kernel as described in step 5 | |
| 8 months ago |
compuman2004 |
Thank-you for this tutorial. With it I was able to fix a computer for someone that had forgotten their password. | |
Other tutorials from Alexio
- The Perfect Desktop - Linux Mint 8 (Helena)
- The Perfect Desktop - Linux Mint 7 (Gloria)
- The Perfect Desktop - Linux Mint 6 (Felicia)
- The Perfect Desktop - Linux Mint 5 (Elyssa)
- The Perfect Desktop - Linux Mint 4 (Daryna)
- The Perfect Desktop - Linux Mint 3.1 (Celena)
- Ubuntu Pocket Guide and Reference
- Selection of Linux Tutorials
- The Linux Documentation Project
- The GNOME 2.32 Desktop User Guide
- How to make a dual-boot into Windows put the "pagefile.sys" onto the linux-swap partition
- GNU/Linux Desktop Survival Guide
- Ubuntu Guide
- Ubuntu Manual
- Keyboard Shortcuts for the GNOME Desktop
- Linux From Scratch
- Keyboard Shortcuts for the KDE Desktop
- The Perfect Desktop - Linux Mint 9 (Isadora)
- Download entire websites easy
- How-to index on the Linux Mint forum
- Search Launchpad PPAs and add them to your software repositories list
- Every Question About Ubuntu Answered
- Ubuntu Apps - application directory, tips, and customization guide
- Linux Terminal Command Reference
- How to get and install Linux games - Full tutorial
- Instructions for community.linuxmint.com
- OpenOffice.org and LibreOffice Keyboard Shortcuts
- Install and Optimize Linux Mint on a Solid State Drive
- Run Linux Mint in Windows without any configuration or installation
- The Perfect Desktop - Linux Mint 10 (Julia)
- The Perfect Desktop - Linux Mint Debian 201009
- Firefox Keyboard and Mouse Shortcuts
- A quick way to make Linux Mint look like Mac OS X
- How to customize the Linux Mint looks
- Install LibreOffice 3.3 on Linux Mint 9 and 10
- Install Firefox 9 Final on Linux Mint 9 and 10
- How To Save Downloaded Files to Selected Folders based on Filters
- Linux Filesystem Explained
- Assign Custom Shortcut Keys in Linux Mint
- Install Nautilus Elementary on Linux Mint 10
- Flash Video Replacer
- Install fonts on Linux Mint using Terminal commands
- How to manage the recent notifications for the GNOME desktop
- How to add videos to the Linux Mint Community Videos website
- How to fix broken packages using the Command Line
- Upgrade to Firefox 13 Beta and test Firefox 15 Alpha on Linux Mint
- How to setup the fastest server for updates using Synaptic
- Rotate Your Wallpapers with Webilder in Linux Mint 11
- Converting Audio Files On Linux Mint
- Popper - the e-mail notifier and indicator
- How to install Kazam Screencaster to create and upload screencasts
- Upgrade Thunderbird to version 12 Beta or to version 15 Alpha on Linux Mint
Ideas
Tutorials
Hardware
Software
Countries
Users
Moderation
Chat room
ISO Images