tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Jakrit Ruangkajorn <jruangka () MCS ! VUW ! AC ! NZ>
To: tru64-unix-managers
Subject: SUMMARY: Password encryption
Date: Thu, 02 Jul 1998 14:07:39 +0000	[thread overview]
Message-ID: <96078715811464.tru64-unix-managers.marc@archive.invalid> (raw)

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

                 reply	other threads:[~1998-07-02 14:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox