Document setup of "ftp-only" non-anonymous accounts.

Suggested by Thilo Manske <Thilo.Manske@HEH.Uni-Oldenburg.DE>,
approved by Luke Mewburn <lukem@netbsd.org>
This commit is contained in:
hubertf 1999-08-02 00:44:59 +00:00
parent c71139914f
commit 0baca35ee5
1 changed files with 14 additions and 1 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: ftpd.8,v 1.40 1999/07/27 15:41:49 itojun Exp $
.\" $NetBSD: ftpd.8,v 1.41 1999/08/02 00:44:59 hubertf Exp $
.\"
.\" Copyright (c) 1985, 1988, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -605,6 +605,19 @@ However, error messages from conversion or
commands won't be returned to the user.
(This is the traditional behaviour.)
.El
To set up "ftp-only" accounts that provide only ftp, but no valid shell
login, you can copy/link
.Pa /sbin/nologin
to
.Pa /sbin/ftplogin ,
and enter
.Pa /sbin/ftplogin
to
.Pa /etc/shells
to allow logging-in via FTP into the accounts, which must have
.Pa /sbin/ftplogin
as login shell.
.Sh FILES
.Bl -tag -width /etc/ftpwelcome -compact
.It Pa /etc/ftpchroot