From: mbeattie@sable.ox.ac.uk (Malcolm Beattie)
Subject: Re: Help with u_oldcrypt -- which algorithm is which?
Date: 1996/06/06 [thread overview]
Message-ID: <4p6beu$9p8@news.ox.ac.uk> (raw)
In-Reply-To: 4p4kca$1ng@galaxy.ucr.edu
In article <4p4kca$1ng@galaxy.ucr.edu>,
System PRIVILEGED Account <root@ultrix.uor.edu> wrote:
>I am trying to write an add-multiuser script for for osf3.2d and it works
>alright, but I haven't been able to figure out the "u_oldcrypt" field in
>the /tcb/files/auth/? files and how it corresponds to crypt or crypt16,
>or if it affects something else. Anybody know?
See the AUTH_PROT_* constants in <prot.h> for which algorithm is which:
0 is bigcrypt (the 8-chars-at-a-time-with-salt-passed-along algorithm),
1 is crypt16 (the old Ultrix two-chunk munger). The u_oldcrypt field is
the algorithm in which the current password is encrypted; the u_newcrypt
field is the algorithm in which a new password for the account will be
encrypted. Typically, the only need for either of those fields is to set
u_oldcrypt to be 1 when migrating across encyrpted passwords from Ultrix.
--Malcolm
--
Malcolm Beattie <mbeattie@sable.ox.ac.uk>
Oxford University Computing Services
"Widget. It's got a widget. A lovely widget. A widget it has got." --Jack Dee
next prev parent reply other threads:[~1996-06-06 4:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-06-05 4:00 Help with u_oldcrypt -- which algorithm is which? System PRIVILEGED Account
1996-06-06 4:00 ` Malcolm Beattie [this message]
1996-06-06 4:00 ` Malcolm Beattie
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