check password length and path before real install