I manage about 20+ Linux servers and I am considering using an md5 scheme similar to following to generate the admin passwords:
echo 'masterpassword' 'serverhostname' | md5sum
Which returns 4db2430f9b5f788077fd36636002e391 using the above example.
My question is: Given that I always put a space before the command to keep the command out of my bash history, do you see any glowing issues with this scheme?
I do not remember where I read about doing it this way, but it sounds like a pretty good idea and I wanted some feedback before I make it official and add it to my DR plan.
Note: Keep in mind that this is just a scheme to generate a password. for example, echo -n 'M4M@st3rPa$$W0rd' 'www.domain.com.1' | md5
generates a7c2dc2a7a2a1d277353e1fb814f57f1
which would be the actual password. One of my challenges is that I get help from a managed service provider, and in case of emergencies, I may need to give them ssh access to a server and needed a way to easily remember secure passwords while I am on the road.