Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: mskucher@vertex.tor.hookup.net (Murray S. Kucherawy)
Subject: Password hashing format on Digtial UNIX
Date: 1996/07/22	[thread overview]
Message-ID: <4t04th$5fg@vertex.tor.hookup.net> (raw)


Am I reading this right?  It appears that the password hashing function
under Digital UNIX writes its keys traditionally (key = userid,
size = length of userid without trailing null), but the data format is really
weird.  Most systems apparently use this as the data:

	userid followed by NULL
	encrypted password followed by NULL
	uid in binary form, host byte order
	gid in binary form, host byte order
	gecos followed by NULL
	directory followed by NULL
	shell followed by NULL

Writing a simple C program to look up my own entry in my active hash file,
I'm seeing this:

	userid followed by NULL
	encrypted password followed by NULL
	uid in binary form, host byte order
	gid in binary form, host byte order
	four-byte zero (???)
	gecos followed by NULL
	directory followed by NULL
	shell followed by NULL

What's the zero for?
-- 
Murray S. Kucherawy ====================================== mskucher@hookup.net
Vice-President, Software Services             HookUp Communication Corporation
(905) 847-8000                NIC Handle "MSK"       Oakville, Ontario, CANADA
--                EMACS: Eight Megs And Constantly Swapping                 --



                 reply	other threads:[~1996-07-22  4:00 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