summaryrefslogtreecommitdiffstats
path: root/libexec/ftpd/ftpd.8
diff options
context:
space:
mode:
authorajacoutot <ajacoutot@openbsd.org>2011-12-14 18:01:55 +0000
committerajacoutot <ajacoutot@openbsd.org>2011-12-14 18:01:55 +0000
commit05312c4a1a690e636c3dc344def55848fcba0803 (patch)
tree5f2b7144cb0bbb9e7c781aae58b69f1d65a23e9e /libexec/ftpd/ftpd.8
parentmake queue_fsqueue backend consistent with the backend scheme. (diff)
downloadwireguard-openbsd-05312c4a1a690e636c3dc344def55848fcba0803.tar.xz
wireguard-openbsd-05312c4a1a690e636c3dc344def55848fcba0803.zip
Add a new '-W' option to prevent saving login records to /var/run/wtmp.
This can become pretty handy on busy anonymous servers to avoid filling up /var with unused wtmp records. Note that 'U' and 'W' are mutually exclusive. ok sthen@ millert@
Diffstat (limited to 'libexec/ftpd/ftpd.8')
-rw-r--r--libexec/ftpd/ftpd.817
1 files changed, 14 insertions, 3 deletions
diff --git a/libexec/ftpd/ftpd.8 b/libexec/ftpd/ftpd.8
index d372896d48e..a8ebf02b74e 100644
--- a/libexec/ftpd/ftpd.8
+++ b/libexec/ftpd/ftpd.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ftpd.8,v 1.66 2010/08/30 07:06:54 lum Exp $
+.\" $OpenBSD: ftpd.8,v 1.67 2011/12/14 18:01:55 ajacoutot Exp $
.\" $NetBSD: ftpd.8,v 1.8 1996/01/14 20:55:23 thorpej Exp $
.\"
.\" Copyright (c) 1985, 1988, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)ftpd.8 8.2 (Berkeley) 4/19/94
.\"
-.Dd $Mdocdate: August 30 2010 $
+.Dd $Mdocdate: December 14 2011 $
.Dt FTPD 8
.Os
.Sh NAME
@@ -38,7 +38,7 @@
.Nd Internet File Transfer Protocol server
.Sh SYNOPSIS
.Nm ftpd
-.Op Fl 46ADdlMnPSU
+.Op Fl 46ADdlMnPSUW
.Op Fl T Ar maxtimeout
.Op Fl t Ar timeout
.Op Fl u Ar mask
@@ -141,6 +141,10 @@ FTP session is logged to the file
.Pa /var/run/utmp ,
making them visible to commands such as
.Xr who 1 .
+.Fl U
+and
+.Fl W
+are mutually exclusive.
.It Fl u Ar mask
Force the umask to
.Ar mask ,
@@ -148,6 +152,13 @@ instead of the default specified in
.Pa /etc/login.conf
(usually 022).
Also disallows chmod.
+.It Fl W
+Do not save login records to
+.Pa /var/run/wtmp .
+.Fl W
+and
+.Fl U
+are mutually exclusive.
.El
.Pp
The file