From 0febabc464f2eb66a8ca64fd75db1b19f0bc9c28 Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Wed, 7 May 1997 20:11:11 +0000 Subject: [PATCH] Make more in-line with the code. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1680 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/ftp/ftpd/ftpusers.5 | 35 ++++++++++++++++++++--------------- 1 file changed, 20 insertions(+), 15 deletions(-) diff --git a/appl/ftp/ftpd/ftpusers.5 b/appl/ftp/ftpd/ftpusers.5 index 4bbb82041..549ff5b80 100644 --- a/appl/ftp/ftpd/ftpusers.5 +++ b/appl/ftp/ftpd/ftpusers.5 @@ -1,6 +1,6 @@ .\" $Id$ .\" -.Dd April 19, 1997 +.Dd May 7, 1997 .Dt FTPUSERS 5 .Os KTH-KRB .Sh NAME @@ -10,24 +10,29 @@ 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 +access. Each line contains a user, optionally followed by +.Dq allow +(anything but .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 +is ignored). The semi-user .Dq * -is denied, or the file doesn't exist at all. +matches any user. Users that has an explicit +.Dq allow , +or that does not match any line, are allowed access. Anyone else is +denied access. + +Note that this is compatible with the old format, where this file +contained a list of users that should be denied access. .Sh EXAMPLES -This will allow anyone but ``foo'' to use FTP: +This will deny anyone but +.Dq foo +and +.Dq bar +to use FTP: .Bd -literal -foo deny -* allow +foo allow +bar allow +* .Ed .Sh SEE ALSO .Xr ftpd 8