LinuxQuestions.org
Review your favorite Linux distribution.
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 01-05-2018, 12:04 PM   #1
KenithO
LQ Newbie
 
Registered: Dec 2014
Posts: 11

Rep: Reputation: Disabled
How to Erase Forgotten LogON Name and Password?


Hi,

Am a Windows user trying to learn Linux.

When 1st started installed Debian on a HD.

At this time the learning curve for Linux was to steep so stayed with Windows.

Am going to try again but can Not find my notes for Debian User Name and Password.

Went on YouTube and found a number of videos detailing how to reset them using command line but as a beginner was overwhelmed.

Have previously forgotten my User Name and Password and used Hiren's 15.2 "Offline NT Password Changer 2011-05-11".

Is there anything similar for Linux?

Thanks

Ken
 
Old 01-05-2018, 12:13 PM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: MA, USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 8,054
Blog Entries: 13

Rep: Reputation: 3501Reputation: 3501Reputation: 3501Reputation: 3501Reputation: 3501Reputation: 3501Reputation: 3501Reputation: 3501Reputation: 3501Reputation: 3501Reputation: 3501
The most common method are the ones you are finding, which is to boot using a live media and edit your password file to remove the password for that user. I can help you with parts of that if you wish to try and do not understand some of it.
 
Old 01-05-2018, 12:41 PM   #3
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: FreeBSD/Slackware-14.2+/ArcoLinux
Posts: 9,144

Rep: Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947
I love root user and using a easily remembered password.

login root
passwd username
change password. done. to find users on system just
ls /home
shows names of users with a home directory.

as rtmistler mildly stated, more details needed to help with a step by step solution.

Last edited by BW-userx; 01-05-2018 at 12:43 PM.
 
Old 01-05-2018, 05:28 PM   #4
scasey
Senior Member
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.6
Posts: 3,802

Rep: Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279
If you didn't do anything in your earlier attempt, couldn't you just re-install? Just a thought.
 
Old 01-05-2018, 06:44 PM   #5
rtmistler
Moderator
 
Registered: Mar 2011
Location: MA, USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 8,054
Blog Entries: 13

Rep: Reputation: 3501Reputation: 3501Reputation: 3501Reputation: 3501Reputation: 3501Reputation: 3501Reputation: 3501Reputation: 3501Reputation: 3501Reputation: 3501Reputation: 3501
Quote:
Originally Posted by scasey View Post
If you didn't do anything in your earlier attempt, couldn't you just re-install? Just a thought.
Obviously this will work, but I hesitated to recommend it as the catch all solution.

However, how old is the original install? Perhaps when returning to Linux it will be helpful to upgrade, if applicable.
 
Old 01-06-2018, 08:02 AM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 8,604

Rep: Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772
The link below explains changing the root password on a Debian system and following the steps will then allow you to change any user and password.

http://xmodulo.com/how-to-reset-root...an-ubuntu.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
forgotten password marinerancien LinuxQuestions.org Member Intro 3 09-10-2014 01:24 PM
forgotten password ambermama Linux - Security 1 08-26-2013 11:22 PM
[SOLVED] How can I get my password if I have forgotten it? Ajit Gunge Linux - Newbie 4 05-21-2012 08:55 AM
Forgotten Password NascarNinja Linux - Newbie 4 11-24-2011 01:20 PM
[SOLVED] Forgotten password rayp Linux - Newbie 3 09-09-2010 11:25 PM

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

All times are GMT -5. The time now is 07:19 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration