Logic to enable root login on the head node