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