modify script to get admin passwd and revise cidr.