Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 19-11-2007, 05:01 PM   #1 (permalink)
Alpha Geek
 
adi007's Avatar
 
Join Date: Sep 2007
Location: hassan
Posts: 717
Unhappy root password problem


I have forgotten my root password.
Now,I know that i can change the root password by using single user mode.But i don't want to chage the root password.Instead,I want to know the root password.Is it possible??
__________________
doiteasily.com ►easy way(s) to do certain things
Tech Word of the day : ADSL
Aditech Blog ► There is something for everyone
Terminal Command of the day
regtweak.info ► Windows Registry hacks and tricks
adi007 is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 19-11-2007, 05:02 PM   #2 (permalink)
Think Zen.
 
ray|raven's Avatar
 
Join Date: Dec 2005
Posts: 1,498
Default Re: root password problem

No.AFAIK

Regards,
ray
__________________
Do what you will; but not because you must. -- Zen Quote
ray|raven is offline  
Old 19-11-2007, 05:14 PM   #3 (permalink)
Alpha Geek
 
adi007's Avatar
 
Join Date: Sep 2007
Location: hassan
Posts: 717
Default Re: root password problem

I beleive if one can change the root password,then one can know the exisiting root password in single user mode.But i don't know how??
__________________
doiteasily.com ►easy way(s) to do certain things
Tech Word of the day : ADSL
Aditech Blog ► There is something for everyone
Terminal Command of the day
regtweak.info ► Windows Registry hacks and tricks
adi007 is offline  
Old 19-11-2007, 05:17 PM   #4 (permalink)
Think Zen.
 
ray|raven's Avatar
 
Join Date: Dec 2005
Posts: 1,498
Default Re: root password problem

You cant.
When u start as single user mode it automatically logs you in.
There u can change ur password by supplying a new password.
But there's no way to know ur old one.
Why do u need to know anyways?

Regards,
ray
__________________
Do what you will; but not because you must. -- Zen Quote
ray|raven is offline  
Old 19-11-2007, 05:20 PM   #5 (permalink)
Alpha Geek
 
adi007's Avatar
 
Join Date: Sep 2007
Location: hassan
Posts: 717
Default Re: root password problem

just curious to know whether i can know my old root password.
By the way,i know that the root password is encrpted in some file...Can't we decrypt the file containing root password??
__________________
doiteasily.com ►easy way(s) to do certain things
Tech Word of the day : ADSL
Aditech Blog ► There is something for everyone
Terminal Command of the day
regtweak.info ► Windows Registry hacks and tricks
adi007 is offline  
Old 19-11-2007, 05:23 PM   #6 (permalink)
Think Zen.
 
ray|raven's Avatar
 
Join Date: Dec 2005
Posts: 1,498
Default Re: root password problem

If you knew the exact algorithm they used and the key which might be a 64bit one then yea maybe ,
Dont even think of brute-force,u would have grand-kids before it broke

Regards,
ray
__________________
Do what you will; but not because you must. -- Zen Quote
ray|raven is offline  
Old 19-11-2007, 05:24 PM   #7 (permalink)
Alpha Geek
 
adi007's Avatar
 
Join Date: Sep 2007
Location: hassan
Posts: 717
Default Re: root password problem

^^can u tell me where the root password is stored....
__________________
doiteasily.com ►easy way(s) to do certain things
Tech Word of the day : ADSL
Aditech Blog ► There is something for everyone
Terminal Command of the day
regtweak.info ► Windows Registry hacks and tricks
adi007 is offline  
Old 19-11-2007, 05:27 PM   #8 (permalink)
Think Zen.
 
ray|raven's Avatar
 
Join Date: Dec 2005
Posts: 1,498
Default Re: root password problem

/etc/shadow AFAICR.

Regards,
ray
__________________
Do what you will; but not because you must. -- Zen Quote
ray|raven is offline  
Old 19-11-2007, 05:30 PM   #9 (permalink)
Alpha Geek
 
adi007's Avatar
 
Join Date: Sep 2007
Location: hassan
Posts: 717
Default Re: root password problem

^Thanks.Will try to hack...
__________________
doiteasily.com ►easy way(s) to do certain things
Tech Word of the day : ADSL
Aditech Blog ► There is something for everyone
Terminal Command of the day
regtweak.info ► Windows Registry hacks and tricks
adi007 is offline  
Old 19-11-2007, 05:38 PM   #10 (permalink)
Think Zen.
 
ray|raven's Avatar
 
Join Date: Dec 2005
Posts: 1,498
Default Re: root password problem

G'Luck
May the force be with you

Regards,
ray
__________________
Do what you will; but not because you must. -- Zen Quote
ray|raven is offline  
Old 19-11-2007, 06:10 PM   #11 (permalink)
Commander in Chief
 
QwertyManiac's Avatar
 
Join Date: Jul 2005
Posts: 6,658
Default Re: root password problem

One can use john to view shadow files if he/she knows the root password.
Code:
sudo apt-get install john
And:
Code:
sudo john /etc/passwd
__________________
Harsh J
www.harshj.com
QwertyManiac is offline  
Old 19-11-2007, 06:32 PM   #12 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Default Re: root password problem

^but it wont work 100% with a good passwd
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 19-11-2007, 06:34 PM   #13 (permalink)
Commander in Chief
 
QwertyManiac's Avatar
 
Join Date: Jul 2005
Posts: 6,658
Default Re: root password problem

Yeah at-least it can guess a bit
__________________
Harsh J
www.harshj.com
QwertyManiac is offline  
Old 21-11-2007, 12:26 PM   #14 (permalink)
Alpha Geek
 
adi007's Avatar
 
Join Date: Sep 2007
Location: hassan
Posts: 717
Default Re: root password problem

Quote:
Originally Posted by QwertyManiac
One can use john to view shadow files if he/she knows the root password.
Code:
sudo apt-get install john
And:
Code:
sudo john /etc/passwd
downloaded john and used it but no result.
It's just mere guessing all the possibilites.I just ran it for 2 hrs and even then it was unable to find out.I think it is immpossible to detect good root password by this....
The one thing i liked int it was we can resume our search by using
Code:
 ./john --resume
and we can add custom rules
__________________
doiteasily.com ►easy way(s) to do certain things
Tech Word of the day : ADSL
Aditech Blog ► There is something for everyone
Terminal Command of the day
regtweak.info ► Windows Registry hacks and tricks
adi007 is offline  
Old 21-11-2007, 12:27 PM   #15 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Default Re: root password problem

^yes,ofcourse
Quote:
Description: active password cracking tool
john, mostly known as John the Ripper, is a tool designed to help systems
administrators to find weak (easy to guess or crack through brute force)
passwords, and even automatically mail users warning them about it, if it
is desired.
.
It can also be used with different cyphertext formats, including Unix's
DES and MD5, Kerberos AFS passwords, Windows' LM hashes, BSDI's extended DES,
and OpenBSD's Blowfish.
.
Homepage: http://www.openwall.com/john/
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 21-11-2007, 12:29 PM   #16 (permalink)
Alpha Geek
 
adi007's Avatar
 
Join Date: Sep 2007
Location: hassan
Posts: 717
Default root password problem

I just did some R&D on shadow file.
I think the password is encrpted under MD5 algorithm or Blow fish.
So is there any software that converts the md5 encrpted or blow fish encrpted text into decrpted text

And the second thing i noticed was
i just backed up the file shadow and changed my root password.I again changed the root password to the first one.Now i compared the backed up file with shadow file and noticed that the two encrypted text are not same..
Even though the password is same,the encrpted text was not same.
Will that means it is taking time consideration also
__________________
doiteasily.com ►easy way(s) to do certain things
Tech Word of the day : ADSL
Aditech Blog ► There is something for everyone
Terminal Command of the day
regtweak.info ► Windows Registry hacks and tricks
adi007 is offline  
Old 21-11-2007, 12:31 PM   #17 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Default Re: root password problem

^that is hard.afaik it will take yrs to crack a really good passwd that too not for sure
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 22-11-2007, 12:13 PM   #18 (permalink)
Alpha Geek
 
adi007's Avatar
 
Join Date: Sep 2007
Location: hassan
Posts: 717
Default Re: root password problem

Quote:
Originally Posted by adi007
is there any software that converts the md5 encrpted or blow fish encrpted text into decrpted text
no reply to this
__________________
doiteasily.com ►easy way(s) to do certain things
Tech Word of the day : ADSL
Aditech Blog ► There is something for everyone
Terminal Command of the day
regtweak.info ► Windows Registry hacks and tricks
adi007 is offline  
Old 22-11-2007, 02:09 PM   #19 (permalink)
Commander in Chief
 
QwertyManiac's Avatar
 
Join Date: Jul 2005
Posts: 6,658
Default Re: root password problem

LMAO, no software exists to do that, it'd take years to decrypt on a very fast computer! If decrypting MD5 were so easy, Raaabo would already know all our passwords.

And even after years, the final string would just be *near* to the actual one. No way to guess what it was exactly.

And about MD5 Hashes, you do know collisions in hash tables right? Read on: http://www.mathstat.dal.ca/~selinger/md5collision/
__________________
Harsh J
www.harshj.com

Last edited by QwertyManiac; 22-11-2007 at 03:37 PM.
QwertyManiac is offline  
Old 22-11-2007, 07:27 PM   #20 (permalink)
die blizzard die! D3?
 
The_Devil_Himself's Avatar
 
Join Date: Aug 2007
Location: Event horizon
Posts: 2,361
Default Re: root password problem

yea man these hashing algorithms are pretty good.They are almost perfect specially md5hash(thats why it is so much used).
__________________
Stealing your women and horses since 1843.
The_Devil_Himself is offline  
Old 22-11-2007, 07:43 PM   #21 (permalink)
Wahahaha~!
 
Faun's Avatar
 
Join Date: Dec 2006
Location: Pune/there
Posts: 7,676
Default Re: root password problem

yeah thats MD5 hash used in linux to store password,
Check out wikipedia , we hav encryption in our syllabus this sem.

A seed is required to make 128 bit hash and depending upon keys and S functions ur password will vary considerably(cascading effect) even for one letter difference.

Brute force is the only way to decrypt and it will take ages to get password. If u remember the hash is in hex.
__________________
Blog | Flickr | Battlelog
Spoiler:
Asus Z68 V-Pro|i5 2500k|TRUE Black|Ripjaws X|U2311H|N560GTX|D7000|XONAR STX|RE272|RE0|CC51|XE200PRO Walnut| TD II V2| Ultraphile|N5800

Mono
Faun is offline  
Old 22-11-2007, 08:03 PM   #22 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Default Re: root password problem

so that means md5hash is broken
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 26-11-2007, 05:19 PM   #23 (permalink)
Alpha Geek
 
adi007's Avatar
 
Join Date: Sep 2007
Location: hassan
Posts: 717
Default Re: root password problem

Is there no way that an md5 encrpted string can be decrypted...
But how does linux decryptes it and check whether the entered password is right or wrong...

I think there must be some method to decrpt the encrpted md5 string...
__________________
doiteasily.com ►easy way(s) to do certain things
Tech Word of the day : ADSL
Aditech Blog ► There is something for everyone
Terminal Command of the day
regtweak.info ► Windows Registry hacks and tricks
adi007 is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Recover Root password piyushp_20 Tutorials 1 05-07-2007 02:58 PM
Root password ra_sriniketan Software Q&A 4 15-11-2005 12:58 PM
Root password godsownman Open Source 5 01-08-2005 03:38 PM
Root Password godsownman Software Q&A 5 13-07-2005 08:59 AM
FORGOTTEN ROOT PASSWORD cool_techie Open Source 6 23-03-2005 11:27 AM

 
Latest Threads
- by Sujeet
- by soumya
- by clmlbx
- by Charan

Advertisement




All times are GMT +5.5. The time now is 01:14 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2