We're basically inventorying all our servers. Since these are in a devel lab, the users move the servers around (literally) sometimes, can rebuild their boxes on the fly (they loose our support), etc.

This will be part of our inventory process, to see *if* the passwords have been changed (i.e. rebuilt server so no longer under support)

I wish I could give more specifics, but due to the nature, I have to be pretty vague.

These servers are already part of NIS+, with local root.

Again, I don't want to make the passwords the same, just check to see if they are. purely inventory only.

[EMAIL PROTECTED] wrote:
Roy,

Would it be sufficient if you made all the passwords the same?  You
could simply pick on of the servers and make it the Master (so to
speak). Copy it's hash to all the other unix boxen and then you'll know
that all the pw's are the same across boxen.

You could also enable NIS logins and point everything to one Unix box.

I can't think of any other easy way of making sure the pw's were the
same... outside of using a pw breaking app on each server and then
comparing.

Good Luck - Jon

----- Original Message -----
From: Roy Vestal <[EMAIL PROTECTED]>
Date: Monday, February 12, 2007 11:16 am
Subject: [TriLUG] Need to compare pw's
To: Triangle Linux Users Group discussion list <[email protected]>

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
--
TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilugTriLUG Organizational FAQ : http://trilug.org/faq/
TriLUG Member Services FAQ : http://members.trilug.org/services_faq/


--
TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ  : http://trilug.org/faq/
TriLUG Member Services FAQ : http://members.trilug.org/services_faq/

Reply via email to