From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,a0c7954b40b7d77f X-Google-Attributes: gidfee84,public From: mbeattie@sable.ox.ac.uk (Malcolm Beattie) Subject: Re: Help with u_oldcrypt -- which algorithm is which? Date: 1996/06/06 Message-ID: <4p6beu$9p8@news.ox.ac.uk>#1/1 X-Deja-AN: 158829696 distribution: usa references: <4p4kca$1ng@galaxy.ucr.edu> organization: Oxford University, England newsgroups: comp.unix.osf.osf1 In article <4p4kca$1ng@galaxy.ucr.edu>, System PRIVILEGED Account 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 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 Oxford University Computing Services "Widget. It's got a widget. A lovely widget. A widget it has got." --Jack Dee