install ftpusers(5) as ftpchroot(5). more cleanups
This commit is contained in:
parent
6a0bdfee15
commit
b5972a49fe
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.37 1999/12/16 01:16:04 lukem Exp $
|
||||
# $NetBSD: Makefile,v 1.38 1999/12/16 07:05:18 lukem Exp $
|
||||
# @(#)Makefile 8.2 (Berkeley) 4/4/94
|
||||
|
||||
SRCTOP= ../..
|
||||
|
@ -10,6 +10,7 @@ CPPFLAGS+=-DHASSETPROCTITLE
|
|||
DPADD+= ${LIBCRYPT} ${LIBUTIL}
|
||||
LDADD+= -lcrypt -lutil
|
||||
MAN= ftpd.conf.5 ftpusers.5 ftpd.8
|
||||
MLINKS= ftpusers.5 ftpchroot.5
|
||||
|
||||
# for `internal' ls
|
||||
SRCS+= ls.c cmp.c print.c stat_flags.c util.c
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: ftpd.8,v 1.44 1999/12/16 02:21:37 lukem Exp $
|
||||
.\" $NetBSD: ftpd.8,v 1.45 1999/12/16 07:05:18 lukem Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1997-1999 The NetBSD Foundation, Inc.
|
||||
.\" All rights reserved.
|
||||
|
@ -290,8 +290,7 @@ shell is assumed to be
|
|||
.Pa /bin/sh .
|
||||
.It
|
||||
If directed by the file
|
||||
.Pa /etc/ftpchroot
|
||||
(see below)
|
||||
.Xr ftpchroot 5
|
||||
the session's root will be changed to the user's login directory by
|
||||
.Xr chroot 2
|
||||
as for an
|
||||
|
@ -466,7 +465,8 @@ as login shell.
|
|||
.Sh FILES
|
||||
.Bl -tag -width /etc/ftpwelcome -compact
|
||||
.It Pa /etc/ftpchroot
|
||||
List of normal users who should be chroot'd.
|
||||
List of normal users who should be
|
||||
.Xr chroot 2 ed.
|
||||
.It Pa /etc/ftpd.conf
|
||||
Configure file conversions and other settings.
|
||||
.It Pa /etc/ftpusers
|
||||
|
@ -483,6 +483,7 @@ If it exists, displayed and access is refused.
|
|||
.Xr skey 1 ,
|
||||
.Xr getusershell 3 ,
|
||||
.Xr ftpd.conf 5 ,
|
||||
.Xr ftpchroot 5 ,
|
||||
.Xr ftpusers 5 ,
|
||||
.Xr syslogd 8
|
||||
.Sh STANDARDS
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: ftpd.conf.5,v 1.2 1999/12/16 06:56:49 lukem Exp $
|
||||
.\" $NetBSD: ftpd.conf.5,v 1.3 1999/12/16 07:05:19 lukem Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1997-1999 The NetBSD Foundation, Inc.
|
||||
.\" All rights reserved.
|
||||
|
@ -131,9 +131,7 @@ is performed after login.
|
|||
.It Sy CHROOT
|
||||
.Xr chroot 2 ed
|
||||
users (as per
|
||||
.Xr ftpusers 5
|
||||
and
|
||||
.Pa /etc/ftpchroot ) .
|
||||
.Xr ftpchroot 5 ) .
|
||||
A
|
||||
.Xr chroot 2
|
||||
is performed after login.
|
||||
|
@ -330,6 +328,7 @@ umask guest 0707
|
|||
This file.
|
||||
.El
|
||||
.Sh SEE ALSO
|
||||
.Xr ftpchroot 5 ,
|
||||
.Xr ftpusers 5 ,
|
||||
.Xr ftpd 8
|
||||
.Sh HISTORY
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: ftpusers.5,v 1.1 1999/12/16 01:16:04 lukem Exp $
|
||||
.\" $NetBSD: ftpusers.5,v 1.2 1999/12/16 07:05:19 lukem Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1997-1999 The NetBSD Foundation, Inc.
|
||||
.\" All rights reserved.
|
||||
|
@ -34,23 +34,25 @@
|
|||
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
.\" POSSIBILITY OF SUCH DAMAGE.
|
||||
.\"
|
||||
.\"
|
||||
.Dd December 13, 1999
|
||||
.Dd December 16, 1999
|
||||
.Dt FTPUSERS 5
|
||||
.Os
|
||||
.Sh NAME
|
||||
.Nm ftpusers
|
||||
.Nm ftpusers ,
|
||||
.Nm ftpchroot
|
||||
.Nd
|
||||
.Xr ftpd 8
|
||||
access control file.
|
||||
access control file
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
.Nm
|
||||
file provides user access control for
|
||||
.Xr ftpd 8
|
||||
by defining which users may authenticate.
|
||||
by defining which users may login.
|
||||
.Pp
|
||||
If the file does not exist, all users are denied access.
|
||||
If the
|
||||
.Nm
|
||||
file does not exist, all users are denied access.
|
||||
.Pp
|
||||
A
|
||||
.Dq \e
|
||||
|
@ -150,5 +152,6 @@ This file.
|
|||
.El
|
||||
.Sh SEE ALSO
|
||||
.Xr fnmatch 3 ,
|
||||
.Xr inet_net_pton 3 ,
|
||||
.Xr ftpd.conf 5 ,
|
||||
.Xr ftpd 8
|
||||
|
|
Loading…
Reference in New Issue