Searched refs:checkuser (Results 1 - 4 of 4) sorted by relevance

/freebsd-10.0-release/contrib/opie/
H A Dopieftpd.c241 static int checkuser __P((char *));
425 if (!checkuser("ftp") && !checkuser("anonymous"))
441 if (cp == NULL || checkuser(name) || ((pw->pw_passwd[0] == '*') || (pw->pw_passwd[0] == '#'))) {
445 if (checkuser(name))
446 syslog(LOG_DEBUG, "checkuser failed - user in /etc/ftpusers?");
483 static int checkuser FUNCTION((name), char *name) function
553 if ((passwd[0] <= ' ') || checkuser(passwd)) {
/freebsd-10.0-release/libexec/ftpd/
H A Dftpd.c247 static int checkuser(char *, char *, int, char **, int *);
1020 if (checkuser(_PATH_FTPUSERS, "ftp", 0, NULL, &ecode) ||
1023 else if (checkuser(_PATH_FTPUSERS, "anonymous", 0, NULL, &ecode) ||
1053 (checkuser(_PATH_FTPUSERS, name, 1, NULL, &ecode) ||
1096 checkuser(char *fname, char *name, int pwset, char **residue, int *ecode) function
1486 checkuser(_PATH_FTPCHROOT, pw->pw_name, 1, &residue, &ecode)
1492 * It is possible that checkuser() failed to open the chroot file.
/freebsd-10.0-release/crypto/heimdal/appl/ftp/ftpd/
H A Dftpd.c139 static int checkuser (char *, char *);
620 checkuser(char *fname, char *name) function
716 dochroot = checkuser(_PATH_FTPCHROOT, pw->pw_name);
/freebsd-10.0-release/contrib/lukemftpd/src/
H A Dftpd.c259 static int checkuser(const char *, const char *, int, int, char **);
889 /* need `pw' setup for checkaccess() and checkuser () */
915 permitted = checkuser(_NAME_FTPUSERS, curname, 1, 0, &class);
919 if (checkuser(_NAME_FTPCHROOT, curname, 0, 0, NULL)
1043 checkuser(const char *fname, const char *name, int def, int nofile, function
1168 * NOTE: needs struct passwd *pw setup (for checkuser())
1174 return (checkuser(_NAME_FTPUSERS, name, 1, 0, NULL));

Completed in 117 milliseconds