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