Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Help with u_oldcrypt -- which algorithm is which?
@ 1996-06-05  4:00 System PRIVILEGED Account
  1996-06-06  4:00 ` Malcolm Beattie
  0 siblings, 1 reply; 3+ messages in thread
From: System PRIVILEGED Account @ 1996-06-05  4:00 UTC (permalink / raw)



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?

Thanks a lot,

Bryce Hilton
hilton@uor.edu



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Help with u_oldcrypt -- which algorithm is which?
  1996-06-05  4:00 Help with u_oldcrypt -- which algorithm is which? System PRIVILEGED Account
@ 1996-06-06  4:00 ` Malcolm Beattie
  1996-06-06  4:00   ` Malcolm Beattie
  0 siblings, 1 reply; 3+ messages in thread
From: Malcolm Beattie @ 1996-06-06  4:00 UTC (permalink / raw)



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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Help with u_oldcrypt -- which algorithm is which?
  1996-06-06  4:00 ` Malcolm Beattie
@ 1996-06-06  4:00   ` Malcolm Beattie
  0 siblings, 0 replies; 3+ messages in thread
From: Malcolm Beattie @ 1996-06-06  4:00 UTC (permalink / raw)



In article <4p6beu$9p8@news.ox.ac.uk>,
Malcolm Beattie <mbeattie@sable.ox.ac.uk> wrote:
>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:

Rats. Apologies for following up my own posting: that's AUTH_CRYPT_*.

--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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1996-06-06  4:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-06-05  4:00 Help with u_oldcrypt -- which algorithm is which? System PRIVILEGED Account
1996-06-06  4:00 ` Malcolm Beattie
1996-06-06  4:00   ` Malcolm Beattie

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