LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-20-2014, 08:54 AM   #1
ktandel
LQ Newbie
 
Registered: May 2014
Posts: 8

Rep: Reputation: Disabled
debian 7.4 forgot user password


I forgot my user login password and I tried several ways to retrive it but it didnt worked so finally I am here to ask for the solution

Please help!!!!
 
Old 11-20-2014, 11:06 AM   #2
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Xubuntu
Posts: 5,072

Rep: Reputation: 1679Reputation: 1679Reputation: 1679Reputation: 1679Reputation: 1679Reputation: 1679Reputation: 1679Reputation: 1679Reputation: 1679Reputation: 1679Reputation: 1679
Log in as root — if you can remember that password! If Debian doesn't allow root login to the GUI, press Ctrl-Alt-2 for a terminal login. Then you can give the command
passwd [your user name here]
and set a new password. Press Ctrl-Alt-7 (or maybe Ctrl-Alt-7) to get the graphical login screen back.

Were you over-complex with your user password? It doesn't have to be anything fancy, because you will be using something different for root and yet another thing for financial transactions.

PS If you've forgotten the root password, see here
http://www.debianadmin.com/how-to-re...-password.html

Last edited by DavidMcCann; 11-20-2014 at 11:18 AM. Reason: addition
 
Old 11-20-2014, 11:07 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 20,539

Rep: Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026
Quote:
Originally Posted by ktandel View Post
I forgot my user login password and I tried several ways to retrive it but it didnt worked so finally I am here to ask for the solution
Please help!!!!
Since you don't say what "several ways" you tried, or what the results were, how can we guess? Either log in as root and change your password, or boot from the CD/DVD you used for installation, go into rescue mode, and (since you'll then be root), mount your hard drive, and edit the /etc/shadow file, to remove your user's password. Reboot normally, and you should then be able to log in with no password, and change it.
 
Old 11-22-2014, 09:46 AM   #4
ktandel
LQ Newbie
 
Registered: May 2014
Posts: 8

Original Poster
Rep: Reputation: Disabled
Sorted!!!

Thx a lot guys for your replies..It finally helped me access my account.

What I did was I went into the recovery mode option, logged into the root and typed in the command

# passwd --delete username

and Tadaa!!!my password was deleted and so I could able to access my account without any authentication :-D
 
  


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
forgot user administrator password debian petmin Debian 2 01-15-2014 05:34 AM
EeePC 4G - forgot user password pumukl Linux - Newbie 5 01-28-2011 08:46 AM
forgot my user password Avatar Linux - General 3 01-24-2005 03:48 PM
Lol I forgot a user's password urzumph Linux - Security 4 03-04-2004 05:00 AM
Forgot my user account password Gilbert Linux - Newbie 1 02-22-2004 11:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:44 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration