infinite loop to make sure root password is correct