diff options
| author | hubertf <hubertf@NetBSD.org> | 1999-08-02 00:44:59 +0000 |
|---|---|---|
| committer | hubertf <hubertf@NetBSD.org> | 1999-08-02 00:44:59 +0000 |
| commit | 0baca35ee58a3369867d512920cc3a248265ea7e (patch) | |
| tree | f08f1ca8a674d63cd685f65d2386eded090e07eb /libexec | |
| parent | c71139914fabe289afd4fd6f7aa2ff60cdf56e19 (diff) | |
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>
Diffstat (limited to 'libexec')
| -rw-r--r-- | libexec/ftpd/ftpd.8 | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/libexec/ftpd/ftpd.8 b/libexec/ftpd/ftpd.8 index 13b469ffc55..1e765e46dcc 100644 --- a/libexec/ftpd/ftpd.8 +++ b/libexec/ftpd/ftpd.8 @@ -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 |
