home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / aix / 13131 < prev    next >
Encoding:
Text File  |  1993-01-08  |  868 b   |  26 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!mcsun!sunic!uts!fysik!ohnielse
  3. From: ohnielse@fysik.uni-c.dk (Ole Holm Nielsen)
  4. Subject: Re: Password Encryption
  5. Reply-To: ohnielse@fysik.uni-c.dk
  6. Organization: UNI-C, Danish Computer Center for Research and Education
  7. Date: Thu, 7 Jan 1993 13:33:57 GMT
  8. Message-ID: <1993Jan7.133357.23708@uts.uni-c.dk>
  9. References: <1ievtuINNc95@rave.larc.nasa.gov>
  10. Sender: news@uts.uni-c.dk (News)
  11. Nntp-Posting-Host: fysik.uni-c.dk
  12. Lines: 12
  13.  
  14. In article 1ievtuINNc95@rave.larc.nasa.gov, jeffc@magician.larc.nasa.gov (Jeff Cleveland) writes:
  15. >Is there any way to encrypt passwords? I need for my daemon to be able to create
  16. >passwords on the fly.
  17.  
  18. Well, dunno about AIX, but other UNIXes have a crypt(3) library call
  19. that is used in /bin/passwd, for example.  On a Sun the call is:
  20.      char *crypt(key, salt)
  21.      char *key, *salt;
  22.  
  23. /Ole
  24.  
  25.  
  26.