LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 11: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-31-2003, 12:39 AM   #2
shellcode
Member
 
Registered: May 2003
Location: Beverly Hills
Distribution: Slackware, Gentoo
Posts: 350

Rep: Reputation: 31
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-31-2003 at 12:42 AM.
 
Old 07-31-2003, 06:46 AM   #3
Noryungi
Member
 
Registered: Jul 2003
Location: --> X <-- You are here.
Distribution: Slackware, OpenBSD
Posts: 292

Rep: Reputation: 46
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


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

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

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