Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

[SOLVED] Password in Linux ( Shadow File )

Status
Not open for further replies.

Raj 89

Newbie level 6
Joined
Nov 19, 2012
Messages
13
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Location
Chennai
Activity points
1,370
Hi All,

I am using Mandriva Linux. Whenever there is a need to change in password, we will be doing the command " passwd user " to change the password for the user.
Whenever we make a change in password, the /etc/shadow file will also be updated. Is there any possibilties, with the help of the /etc/shadow, can we be alble to know the password or decrypt the password of any user? If so, help me in this.



Changes are always possible.......
 

Vigort

Member level 4
Joined
Oct 4, 2007
Messages
76
Helped
10
Reputation
20
Reaction score
9
Trophy points
1,288
Location
Minsk
Activity points
1,690
Linux doesn't contain passwords in an explicit form, in the shadow only checksum. And to read it it is possible only under root. Well or if to come "life-linux".
 

Raj 89

Newbie level 6
Joined
Nov 19, 2012
Messages
13
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Location
Chennai
Activity points
1,370
in the shadow only checksum.
I understand it.. For my understanding level, you are saying that, it is given in a encrypted way. If it is encrypted, are there any chances of decrypting it? Does it follow any algorithm..
 

T3STY

Full Member level 4
Joined
Apr 17, 2012
Messages
239
Helped
24
Reputation
48
Reaction score
24
Trophy points
1,308
Activity points
3,715
Checksum itself is an algorithm, it gets some starting data and using an algorithm it gives something else as result.
Logically, if Linux stored passwords only in the shadow file using the checksum method then you should be able to retrieve the original password by inverting the algorithm - start from the result to get to origins. But I'm pretty sure Linux is not storing passwords just like this, there are for sure other files involved.
 
  • Like
Reactions: Raj 89

    Raj 89

    points: 2
    Helpful Answer Positive Rating

Vigort

Member level 4
Joined
Oct 4, 2007
Messages
76
Helped
10
Reputation
20
Reaction score
9
Trophy points
1,288
Location
Minsk
Activity points
1,690
It is possible to try to pass to a mode of simple access (without encoding of passwords): / usr/sbin/pwunconv. In this to a case passwords shall etc/passwd is stored in/.
But I wouldn't risk on working system without need.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top