Automate checking that nodes have a root password set.
Download a script which can be used to check that machines are are not accidentally left configured without a root password. This can happen because it is the default state following a Red Hat 7.3 installation if LCFG or other configuraton tool fails to properly set the password.
The script attempts to use ssh to gain root access on a node using a random password, if the attempt is successful (i.e. no root password is set) the password is set to the random value and the user is informed. This process is repeated for each of a set of configurable machine names and also those configured in the PBS batch system. A README file is included with further details.
A gzipped tar file is available here. (/afs/cern.ch/project/gd/www/gis/check-passwords.tgz)
Please provide any feedback or comments to
Piotr.Nyczyk@cernNOSPAMPLEASE.ch .
-- Main.dimou - 19 Aug 2005