From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078715811464.tru64-unix-managers.marc@archive.invalid> From: Jakrit Ruangkajorn Date: Thu, 02 Jul 1998 14:07:39 +0000 To: tru64-unix-managers Subject: SUMMARY: Password encryption X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078715811464 It was a rather silly question though but thanks to Matti Saarinen for fast and into point response. The original post was, >Does anyone knows how bigcrypt() work? I wrote a small C program to >automate account creation including password encryption when I was deciding >which algorithm to use by trying all of them (using dispcrypt()) the >bigcrypt() threw 'Authentication database use not initialized first' at me >while others (crypt(), crypt16(), C2_crypt()) worked fine. > Matti pointed out that I should call set_auth_parameters() before I use dispcrypt which really solves the problem but I still don't understand why should this be neccessary when other encryption algorithms (called from exactly the same dispcrypt() function) work only bigcrypt doesn't. I don't think I will bother looking at set_auth_parameters() man page now as long as it works. Thank you, Jakrit