LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-13-2005, 04:24 PM   #1
os2
Member
 
Registered: Dec 2003
Location: Canada
Distribution: openSUSE Tumbleweed
Posts: 209

Rep: Reputation: 30
shadow file


hi

are there a way to get password with the shadow file?

thanks
 
Old 10-13-2005, 04:35 PM   #2
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
Short answer: No. Hashes are one-way. They can not be reversed (in theory).

Long answer: You can run a dictionary attack / brute force attack against your own /etc/shadow file if you are really desparate.

Real answer: Explain your situation more. There are probably better ways to accomplish what you want.
 
Old 10-13-2005, 11:31 PM   #3
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
If you just want to reset a password then just delete the password hash - leave it as nothing (ie. not space between the two colons).
 
Old 10-18-2005, 03:20 PM   #4
Krugger
Member
 
Registered: Oct 2004
Posts: 229

Rep: Reputation: 30
There is an exploit that will dump the contents of /etc/shadow so you can brute force the hash much better. This depends on the kernel version as it exploits the binfmt handler. However I can't post it here as it would violate forum rules. Besides isn't this like your assignment like you said in the other thread. That is also against forum rules.

We won't make your homework for you, google a bit.

tip: www.securityfocus.com

should have all you need to get your security homeworks done.
 
  


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
/etc/shadow file missing Computergirl24 Linux - Software 3 08-28-2008 06:28 AM
Shadow file question Timur Sakayev Linux - Security 4 06-07-2005 10:20 AM
CHPASSWD Help! Shadow File! clintonm9 Linux - Software 3 04-17-2004 09:15 AM
shadow file stevee Linux - Security 1 10-07-2003 10:11 AM
shadow file? tjm Linux - Security 4 09-15-2003 04:23 PM

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

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