December 12th, 2002, 10:24 AM
retrieving UNIX passwd.
I am a new UNIX user. We have just been introduced to the UNIX OS envoirment in our school.We basically have accounts for each student in our class where we program in C.One of the student has lost her passwd(rather can't remember it).We know the username but the passwd is gone.
The only way i know is to copy the etc/passwd file and use some program like john the ripper to find the passwd.I am not sure if it will work.Is there another way out?
If yes pls explain keeping in mind that I am new to the UNIX envoirnment.
If there is no solution other than the one I have listed pls explain the proper way to do it!
Help would be appreciated!
December 12th, 2002, 10:40 AM
The PROPER way to do it is to have the sysadmin issue a new password.
December 13th, 2002, 12:48 AM
Rod k has nicely answered the question, but I just have one more comment. In unix working environment there is absolutely no way to learn someone's password, not even if you're root. The only thing you can do is either change it (aka passwd) or try to guess it with brute force (aka johnny).
And you know I mean that.