LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-21-2017, 02:28 PM   #1
cbrookej
LQ Newbie
 
Registered: May 2016
Posts: 12

Rep: Reputation: Disabled
Unhappy Lost password


I vaguely remember creating a password for my Mint/Sarah version of Linux. Of course I wrote it down, but now I can't find it. How can I recover this program with files?

cbrookej
 
Old 06-21-2017, 02:43 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
Boot from a USB live image, login as root, mount the disk's root partition or volume, chroot to the mount point, change the password, exit, umount, reboot without the USB.
 
Old 06-21-2017, 07:34 PM   #3
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997

Rep: Reputation: 382Reputation: 382Reputation: 382Reputation: 382
https://mintguide.org/system/248-res...inux-mint.html
 
Old 06-23-2017, 10:05 AM   #4
cbrookej
LQ Newbie
 
Registered: May 2016
Posts: 12

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by smallpond View Post
Boot from a USB live image, login as root, mount the disk's root partition or volume, chroot to the mount point, change the password, exit, umount, reboot without the USB.
Thank you for your reply. Unfortunately I am not a geek; I don't even understand your terms. I still have not been able to get into my Linux program. I wonder if it might be simpler to simple uninstall it and reinstall it.

cbrookej
 
Old 06-23-2017, 10:34 AM   #5
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Quote:
Originally Posted by cbrookej View Post
Thank you for your reply. Unfortunately I am not a geek; I don't even understand your terms. I still have not been able to get into my Linux program. I wonder if it might be simpler to simple uninstall it and reinstall it.

cbrookej
Hi,

Well, the solution is complicated, so unfortunately you'll have to potentially learn a little bit and also learn that this is a thing to avoid in the future. Or the other option is to do as you cite, to uninstall/reinstall, or rather to just "install fresh" and obliterate whatever remains there.

If interested in giving the recovery option a try:

What smallpond is saying is that you likely had an original install media such as a thumbstick or DVD that you booted from when you installed Mint.

You can use that to live boot. It boots and gives you the option to install, but you don't have to install, you can just boot.

Then you can find your hard drive where you do have the existing install and there is a file containing an encoded password.

You can edit that file to remove the password.

I followed the link by "!!!" just to view the title and that is a guide to restore the password in Mint.

So please indicate which direction you prefer and we can either support you with help on a restore, or answer questions regarding a re-install.
 
Old 06-23-2017, 05:37 PM   #6
cbrookej
LQ Newbie
 
Registered: May 2016
Posts: 12

Original Poster
Rep: Reputation: Disabled
Thank you for the more detailed information. I think this is far enough over my head that I will have to get professional help.
 
Old 06-23-2017, 05:43 PM   #7
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Quote:
Originally Posted by cbrookej View Post
I wonder if it might be simpler to simple uninstall it and reinstall it.
As long as you don't have anything you want to keep, you could certainly reinstall the OS.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
lost password Dr. D Linux - Newbie 3 05-02-2013 04:28 PM
Linux 2.6.15.1 The password lost , RESET PASSWORD ANDYCHAN Linux - General 2 08-18-2012 08:05 AM
Lost Password lawashington Linux - Newbie 1 05-23-2012 07:32 PM
I have lost my password. can you help me to recover my password in ubuntu croosnaya Linux - Newbie 4 04-17-2012 06:52 PM
[SOLVED] WD Elite - Lost Password - How -To Remove the lost password? fixcom1 Linux - General 3 03-06-2011 05:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration