LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-30-2003, 10:46 PM   #1
patz
LQ Newbie
 
Registered: Jul 2003
Posts: 5

Rep: Reputation: 0
Question Quick...password Recovery


I'm with a copy of a friend HD that has slack 8 on it, so what's the file where I can find the password even if it's encrypted
txsss a lot
ROdrigo
 
Old 07-30-2003, 11:39 PM   #2
shellcode
Member
 
Registered: May 2003
Location: Beverly Hills
Distribution: Slackware, Gentoo
Posts: 350

Rep: Reputation: 32
well the passwords are stored in /etc/passwd along with other information. this file is readable to all accounts. However instead of a DES or MD5 hash there may be a * for a password. that is called shadowing. that means that the hash is in /etc/shadow. I believe that slack 8 does use shadowing. /etc/shadow is not readble to all accounts (only root)

supposing you get the encrypted hash, you could only crack it if the password is on a wordlist...

Last edited by shellcode; 07-30-2003 at 11:42 PM.
 
Old 07-31-2003, 05:46 AM   #3
Noryungi
Member
 
Registered: Jul 2003
Location: --> X <-- You are here.
Distribution: Slackware, OpenBSD
Posts: 305

Rep: Reputation: 53
Boot the computer off a Slackware boot disk.

Mount the hard disk of the machine.

As root, edit /etc/shadow and /etc/passwd and remove the ecnrypted password, which is right after the "root:" entry. That should do the trick.

Important!! the format of the files is this:

name : password : info : info : info : shell

You should only remove the password, but leave everything else, including the ":" intact or you are in trouble...

Of course, I have no idea what I am talking about... So don't come to me if it does not work (or if it screws up your friend's machine)...
 
  


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
Password Recovery rockfort Linux - Security 11 02-02-2005 06:12 AM
password recovery JesseMor Linux - Security 2 09-10-2004 06:18 PM
Quick System Recovery 1kyle Linux - Software 7 03-08-2004 09:12 PM
Quick Recovery eggoz Linux - General 1 06-15-2003 05:51 AM
Password recovery mikeshn Linux - Security 1 09-08-2002 09:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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