home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / admin / 6851 < prev    next >
Encoding:
Internet Message Format  |  1992-12-31  |  1.6 KB

  1. Path: sparky!uunet!usc!zaphod.mps.ohio-state.edu!caen!destroyer!cs.ubc.ca!uw-beaver!uw-coco!nwnexus!beauty!rwing!pat
  2. From: pat@rwing.UUCP (Pat Myrto)
  3. Newsgroups: comp.unix.admin
  4. Subject: Re: Program to generate encrypted version of password?
  5. Message-ID: <1851@rwing.UUCP>
  6. Date: 1 Jan 93 01:33:28 GMT
  7. References: <1992Dec31.000203.1031@vpbuild.vp.com> <4608@bimacs.BITNET>
  8. Organization: Totally Unorganized
  9. Lines: 22
  10.  
  11. In article <1992Dec31.000203.1031@vpbuild.vp.com> jessea@u013.me.vp.com (Jesse W. Asher) writes:
  12. >At one time I played with a program that would take a password (and
  13. >maybe the salt) and encrypt the password just like to would go into the
  14. >passwd file.  Does anyone know the name of the program?  I need to
  15. >generate an encrypted version of the password without it being in the
  16. >passwd file itself.  Thanks.
  17.  
  18. I think the program you have in mind is /usr/lib/makekey.  It takes a
  19. 10 char string (8 chars of plaintext password, space filled, to 8 chars
  20. if the password is less than 8 chars, plus a 2 character salt tacked on
  21. as chars 9 and 10) on stdin, and spits out the encrypted form on stdout.
  22. To match a word in the passwd file, for example, one would enter the
  23. plaintext word, the 2 chars of salt (the first 2 chars of the data in
  24. the password field of the passwd file), and then compare the output with
  25. what is in the password file.  If the two match, you have entered the
  26. correct password.
  27.  
  28. -- 
  29. pat@rwing.uucp                                  (Pat Myrto),  Seattle, WA
  30.                       If all else fails, try:
  31.          ...!uunet!{pilchuck, polari}!rwing!pat
  32. WISDOM:    "Travelling unarmed is like boating without a life jacket" 
  33.