#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2002
    Location
    India
    Posts
    2
    Rep Power
    0

    Exclamation retrieving UNIX passwd.


    Hi,
    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!

    Abhinav!
  2. #2
  3. No Profile Picture
    Apprentice Deity
    Devshed Loyal (3000 - 3499 posts)

    Join Date
    Jul 1999
    Location
    Niagara Falls (On the wrong side of the gorge)
    Posts
    3,237
    Rep Power
    19
    The PROPER way to do it is to have the sysadmin issue a new password.
  4. #3
  5. Mobbing Gangster
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Sep 2001
    Location
    "Best City" 2002 and 2003- Melbourne, Australia
    Posts
    4,912
    Rep Power
    33
    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.

IMN logo majestic logo threadwatch logo seochat tools logo