[TriLUG] Need to compare pw's

Roy Vestal rvestal at trilug.org
Mon Feb 12 11:13:40 EST 2007


Folks,
  I need to compare passwords among differing *nix boxes. I need to 
verify the different hashes on the boxes and determine if they are the 
same or different. *I do NOT need to crack them!!*

Does anyone know a simple procedure on comparing 2 passwords using the 
hashes? I can sed/grep/awk whatever to get the hashes out of the 
password files (names will *not* be given here for security purposes), 
but I'm not sure is a simple "if [ $a ne $b ] then..." will work.

TIA,
Roy



More information about the TriLUG mailing list