tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Richard Rogers <R.M.Rogers () staffs ! ac ! uk>
To: tru64-unix-managers
Subject: Password encryption calls
Date: Tue, 16 Jun 1998 13:04:20 +0000	[thread overview]
Message-ID: <96078712011680.tru64-unix-managers.marc@archive.invalid> (raw)

Hi -

I've just converted my authorization database to auth.db format on a 
development system (better late than never, but it does mean big changes to 
our account creation scripts), and consequently had to change a daemon from 
using getprpwnam() to the new getespwnam(). While I was doing this, it seemed 
to make sense to migrate from the old undocumented bigcrypt() call to the 
newer, documented crypt16(). However, I am unable to get this to work as 
expected. Even short (<= 8 character) passwords are encrypted to a 24 (?) 
character string, and neither they nor genuinely "long" passwords encrypt 
successfully to the encrypted password stored in the auth database. For short 
passwords, crypt() still works, and for either long or short passwords, 
bigcrypt() still works.

Am I missing something here, or is something broken?

Thanks for any thoughts.

Richard

-----------------------------------
Richard Rogers
Information Technology Services
Staffordshire University
Tel: 01785 (+44 1785) 353395
E-mail: R.M.Rogers@staffs.ac.uk
  ...Who knows where the time goes?...

                 reply	other threads:[~1998-06-16 13:04 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