#include <sys/types.h>#include <stdio.h>#include <string.h>#include <pwd.h>#include <stdlib.h>#include <unistd.h>#include <net/gen/in.h>#include <net/gen/tcp.h>#include "ftpd.h"#include "access.h"Include dependency graph for access.c:

Go to the source code of this file.
Functions | |
| _PROTOTYPE (static int AreWeIn,(char *name, struct passwd *pwd)) | |
| int | ChkLoggedIn () |
| int | doUSER (char *buff) |
| int | doPASS (char *buff) |
| int | doQUIT (char *buff) |
| static int | AreWeIn (char *name, struct passwd *pwd) |
Variables | |
| static char * | msg530 = "530 Not logged in.\r\n" |
|
||||||||||||
|
|
|
||||||||||||
|
Definition at line 105 of file access.c. References anonymous, chdir, chroot, GOOD, loggedin, logit(), newroot, NULL, printf, passwd::pw_dir, passwd::pw_gid, passwd::pw_uid, pwd, setgid, setuid, showmsg(), strcmp, strcpy(), strncpy(), and username. Referenced by doPASS(). |
|
|
Definition at line 30 of file access.c. References loggedin, and printf. Referenced by doCDUP(), doCWD(), doDELE(), dofdet(), doMDTM(), doMKD(), doPASV(), doPWD(), doREST(), doRMD(), doRNFR(), doRNTO(), doSITE(), doSIZE(), doSTAT(), recvfile(), and sendfile(). |
|
|
Definition at line 61 of file access.c. References anonpass, AreWeIn(), bad, crypt, getpwnam(), GOOD, gotuser, logit(), printf, passwd::pw_passwd, pwd, strcmp, strncpy(), and username. |
|
|
|
|
|
Definition at line 40 of file access.c. References GOOD, gotuser, loggedin, printf, strncpy(), and username. |
|
|
|
1.4.6