From 0aec44fad001e42231ce0cad9c2b660cfa44c539 Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Sat, 19 Apr 1997 22:07:25 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1594 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/ftp/ftpd/ftpd.8 | 7 ++++--- appl/ftp/ftpd/ftpusers.5 | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 3 deletions(-) create mode 100644 appl/ftp/ftpd/ftpusers.5 diff --git a/appl/ftp/ftpd/ftpd.8 b/appl/ftp/ftpd/ftpd.8 index 9b7e92cfb..2857a22e6 100644 --- a/appl/ftp/ftpd/ftpd.8 +++ b/appl/ftp/ftpd/ftpd.8 @@ -33,7 +33,7 @@ .\" .\" @(#)ftpd.8 8.2 (Berkeley) 4/19/94 .\" -.Dd April 25, 1996 +.Dd April 19, 1997 .Dt FTPD 8 .Os BSD 4.2 .Sh NAME @@ -429,7 +429,7 @@ alpha-numeric characters or any of the following: .Sh FILES .Bl -tag -width /etc/ftpwelcome -compact .It Pa /etc/ftpusers -List of unwelcome/restricted users. +Access list for users. .It Pa /etc/ftpchroot List of normal users who should be chroot'd. .It Pa /etc/ftpwelcome @@ -445,6 +445,7 @@ Login access for Kerberos. .Xr ftp 1 , .Xr otp 1 , .Xr getusershell 3 , +.Xr ftpusers 5 , .Xr syslogd 8 , .Sh STANDARDS .Bl -tag -compact -width "RFC 1938" @@ -452,7 +453,7 @@ Login access for Kerberos. FTP PROTOCOL SPECIFICATION .It Cm RFC 1938 OTP Specification -.It Cm draft-ietf-cat-ftpsec-08 +.It Cm draft-ietf-cat-ftpsec-09 FTP Security Extensions. This is work in progress and might change in the future. .Sh BUGS diff --git a/appl/ftp/ftpd/ftpusers.5 b/appl/ftp/ftpd/ftpusers.5 new file mode 100644 index 000000000..4bbb82041 --- /dev/null +++ b/appl/ftp/ftpd/ftpusers.5 @@ -0,0 +1,33 @@ +.\" $Id$ +.\" +.Dd April 19, 1997 +.Dt FTPUSERS 5 +.Os KTH-KRB +.Sh NAME +.Pa /etc/ftpusers +.Nd +FTP access list file. +.Sh DESCRIPTION +.Pa /etc/ftpusers +contains a list of users that should be allowed or denied FTP +access. It contains a list of users, one on each line, followed by +either +.Dq allow +or +.Dq deny . +Any string that isn't +.Dq allow +is taken as +.Dq deny . +If a user is not mentioned in the file, he is allowed access, unless +the semi-user +.Dq * +is denied, or the file doesn't exist at all. +.Sh EXAMPLES +This will allow anyone but ``foo'' to use FTP: +.Bd -literal +foo deny +* allow +.Ed +.Sh SEE ALSO +.Xr ftpd 8