MAX_PASSWD_LEN
passwd = (char *)malloc(MAX_PASSWD_LEN);
memset(passwd, 0, MAX_PASSWD_LEN);
passwd_len = MAX_PASSWD_LEN - 1;