Forgot password for Linux Mint 15 Olivia

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

Forgot password for Linux Mint 15 Olivia

Postby NotAnotherNewGuy on Mon Sep 16, 2013 1:45 pm

I don't remember even putting a username and password on my linux account but apparently I have and I cannot log on.
I have looked online and saw numerous ways to change the password but they have not worked. They usually all start with start GRUB and then going into recovery mode. After that I go to root but it won't let me type anything in.
Not sure if there is a different method for Olivia or maybe I am doing something silly wrong but I would appreciate any insight or a link to a tutorial that you think may work for me.
Preciate it.
NotAnotherNewGuy
Level 1
Level 1
 
Posts: 1
Joined: Mon Sep 16, 2013 1:31 pm

Linux Mint is funded by ads and donations.
 

Re: Forgot password for Linux Mint 15 Olivia

Postby Reorx on Mon Sep 16, 2013 1:58 pm

During the installation process, the routine asks for a name for your computer, and a user name & password. It makes you type the password twice. If you honestly just finished installing and don't remember that - you should probably pay closer attention to the installer the next time you install... That is my recommendation - since you have never logged it, there is nothing of any value on the computer in question and you can simply wipe your installation and do a re-install. It'll only take about 20 minutes and it is better, faster, and cleaner than trying to understand the advice you are going to get here (assuming you are a Linux newbie)... PLUS - it builds character and makes you a better computer user... :mrgreen:

Go get 'em tiger...

Mint on!
Procrastinate now!
User avatar
Reorx
Level 6
Level 6
 
Posts: 1323
Joined: Tue Jul 07, 2009 7:14 pm
Location: SE Florida, USA

Re: Forgot password for Linux Mint 15 Olivia

Postby mdavies5 on Thu Sep 19, 2013 1:30 am

Try this, I ahve copied from an earlier post:
To reset your lost or fogotten password:
Reboot your computer / Turn your computer on.
Hold down the Shift key at the start of the boot process to enable the GNU GRUB2 boot menu (if it does not show)
Select the entry for your Linux installation
Press e to edit.
Use the Arrow keys to navigate to a line that looks similar to this:

linux /boot/vmlinuz-[kernel version]-generic root=UUID=[letters and numbers]\[letters and numbers] ro quiet splash vt.handoff=7

Change ro quiet splash vt.handoff=7 to rw init=/bin/bash so it now reads:

linux /boot/vmlinuz-[kernel version]-generic root=UUID=[letters and numbers]\[letters and numbers] rw init=/bin/bash

Press F10 to boot your system.
Your system will boot up to a passwordless root shell.
At command prompt type: passwd <yourusername>
(if you have also forgotten your username, type cat /etc/passwd first to get a list of all users, yours should be at the end)
Set your new password.
Restart your system.
mdavies5
Level 3
Level 3
 
Posts: 101
Joined: Sat Aug 11, 2012 1:02 am


Return to Newbie Questions

Who is online

Users browsing this forum: ajgreeny, koshad510, ktheking, Mute Ant, Science_Jeff and 35 guests