Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Password hashing format on Digtial UNIX
@ 1996-07-22  4:00 Murray S. Kucherawy
  0 siblings, 0 replies; only message in thread
From: Murray S. Kucherawy @ 1996-07-22  4:00 UTC (permalink / 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                 --



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-07-22  4:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-07-22  4:00 Password hashing format on Digtial UNIX Murray S. Kucherawy

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