Jump to content

Talk:Passwd (command)

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Identical hashes[edit]

The text says: If the hashes are identical, the entered password must be identical, and so the user is authenticated.

This is not always correct. The hash function may map two different passwords in the same hash (as this picture illustrates). However this happens very rarely, so we assume that if the hashes are identical, the entered password is correct. I'll change the article. -- Obradović Goran (talk 14:33, 11 July 2010 (UTC)[reply]

Buffer[edit]

It seems like it flushes the input buffer before reading the password. Can anyone confirm? 212.33.138.12 (talk) 14:49, 17 August 2011 (UTC)[reply]