summaryrefslogtreecommitdiffstats
path: root/libexec/ftpd
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-08-02 18:46:42 +0000
committerbde <bde@FreeBSD.org>1997-08-02 18:46:42 +0000
commitd7d37d2613dfc3f61618da7c36af64d0fc652946 (patch)
tree4a088f698500247557a3f26a538423b44adb1720 /libexec/ftpd
parent93bb6c4e7ec3c3ab39adfd3e28ed163c7f14cf18 (diff)
downloadFreeBSD-src-d7d37d2613dfc3f61618da7c36af64d0fc652946.zip
FreeBSD-src-d7d37d2613dfc3f61618da7c36af64d0fc652946.tar.gz
Import Lite2's src/libexec, except for makekey (which was spammed
by a repository copy from 1.1.5 and patched back to Lite1) and rbootd/bootdir/SYSHPBSD (which is binary). All changed files have already left the vendor branch.
Diffstat (limited to 'libexec/ftpd')
-rw-r--r--libexec/ftpd/ftpd.85
-rw-r--r--libexec/ftpd/ftpd.c4
2 files changed, 5 insertions, 4 deletions
diff --git a/libexec/ftpd/ftpd.8 b/libexec/ftpd/ftpd.8
index a7c5cae..eb93c38 100644
--- a/libexec/ftpd/ftpd.8
+++ b/libexec/ftpd/ftpd.8
@@ -29,9 +29,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" @(#)ftpd.8 8.2 (Berkeley) 4/19/94
+.\" @(#)ftpd.8 8.3 (Berkeley) 6/1/94
.\"
-.Dd April 19, 1994
+.Dd June 1, 1994
.Dt FTPD 8
.Os BSD 4.2
.Sh NAME
@@ -228,6 +228,7 @@ subtree be constructed with care, following these rules:
Make the home directory owned by
.Dq root
and unwritable by anyone.
+.ne 1i
.It Pa ~ftp/bin
Make this directory owned by
.Dq root
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c
index 6e23bd7..875ec62 100644
--- a/libexec/ftpd/ftpd.c
+++ b/libexec/ftpd/ftpd.c
@@ -38,7 +38,7 @@ static char copyright[] =
#endif /* not lint */
#ifndef lint
-static char sccsid[] = "@(#)ftpd.c 8.4 (Berkeley) 4/16/94";
+static char sccsid[] = "@(#)ftpd.c 8.5 (Berkeley) 4/28/95";
#endif /* not lint */
/*
@@ -483,7 +483,7 @@ checkuser(name)
*p = '\0';
if (line[0] == '#')
continue;
- if (strcmp(p, name) == 0) {
+ if (strcmp(line, name) == 0) {
found = 1;
break;
}
OpenPOWER on IntegriCloud