Lines Matching defs:userinfo
62 struct passwd userinfo;
485 P1MSG("userinfo.pw_name=%s,userinfo.pw_dir=%s\r\n", userinfo.pw_name, userinfo.pw_dir);
486 replace (str, "%u", userinfo.pw_name);
487 strcpy(tmpBuf, userinfo.pw_dir);/*foxconn, water, 11/07/2008*/
488 replace (str, "%h", userinfo.pw_dir);
495 setgid (userinfo.pw_gid);
496 initgroups (userinfo.pw_name, userinfo.pw_gid);
506 //sprintf (chfolder, "%s/%s", mount_path, userinfo.pw_name);
537 sprintf(chfolder, "/tmp/samba/share/%s", userinfo.pw_name);
580 if (bftpd_setuid (userinfo.pw_uid))
597 if (bftpd_setuid (userinfo.pw_uid))
704 //if (strcmp(userinfo.pw_passwd, (char *) crypt(password, userinfo.pw_passwd))) {
706 P1MSG("%s(%d)userinfo.pw_passwd=%s , password=%s \r\n", __FUNCTION__,
707 __LINE__, userinfo.pw_passwd, password);
732 //if (strcmp (userinfo.pw_passwd, password))
733 if (strcmp (userinfo.pw_passwd, password_hash_str))