LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 12-28-2009, 07:19 PM   #1
metaldetectingva
LQ Newbie
 
Registered: Dec 2009
Posts: 1

Rep: Reputation: 0
lost linux password ,any suggestions ?


I have a linux ,and read the forum on bypassing the password .Here is what I have tried.1. I waited to the lilu promt,then I typed linux single ,it continued to boot and asked for log in and password .2 tried a different approach at the lilu prompt I type in linux init=/bin/bash worked like a charm ,then I got the # prompt so I typed in passwd which worked like a charm ,then I was prompted to type in new password and so here is where my problem is when I get to this point the key board doesnt work it stops responding and the caps light comes on and off when pressed but no other keys work other than the enter key .I tried pressing and holding ctrl but doesnt work ,DOES ANYONE HAVE A SUGGESTION OR A FIX FOR MY PROBLEM TO HELP ME RESET THE PASSWORD . please email me at [EMAIL ADDRESS REMOVED BY MODERATOR] with help if you can .Thanks in advance !



// metaldetectingva, having help take place in the public forum is fundamental to sites like LQ. Please don't attempt to get email support here, as it deprives other members of the LQ community from any potential gains in knowledge they would have otherwise enjoyed. --win32sux

Last edited by win32sux; 12-29-2009 at 12:55 AM. Reason: Added comment regarding the request of email help.
 
Old 12-28-2009, 07:33 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
You can try booting a live CD and then chrooting into the enviroment. Then either reset the password or zero it out by editing /etc/shadow.
 
Old 12-28-2009, 08:06 PM   #3
Joe of Loath
Member
 
Registered: Dec 2009
Location: Bristol, UK
Distribution: Ubuntu, Debian, Arch.
Posts: 152

Rep: Reputation: 28
Backtrack can reset windows passwords, I'm sure it can do it to linux too, although I'm not familiar with the method.

EDIT:Just re-read the original post, *nix OS's don't star out the password when you type it in through the console. Just type it from memory and it'll work.

Last edited by Joe of Loath; 12-29-2009 at 05:15 PM.
 
Old 12-28-2009, 09:48 PM   #4
Web31337
Member
 
Registered: Sep 2009
Location: Russia
Distribution: Gentoo, LFS
Posts: 399
Blog Entries: 71

Rep: Reputation: 65
isn't that because it promts you a password?
password is not shown while it is entered so you may think keyboard died(i had same problem when i was a newbie).
you can boot from livecd & mount your drive and either chroot there and passwd or create a new password using openssl passwd -1 your_pass and copy it by hand, replacing root password in your mounted etc/shadow(not recommended).
 
  


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 root password in Linux? chrs0302 Linux - Newbie 2 01-12-2006 02:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 07:19 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