-
Notifications
You must be signed in to change notification settings - Fork 1
/
twoftpd-auth.1
48 lines (48 loc) · 1.08 KB
/
twoftpd-auth.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
.TH twoftpd-auth 1
.SH NAME
twoftpd-auth \- TwoFTPD authentication front-end
.SH SYNOPSIS
.B twoftpd-auth
.B cvmodule
.B twoftpd-xfer
.SH DESCRIPTION
.B twoftpd-auth
reads a username and password from the network and authenticates them
using the CVM module
.BR cvmodule .
If the authentication succeeds, it sets the environment variables
.BR UID ,
.BR GID ,
.BR HOME ,
and
.B USER
to the user's UID, GID, home directory, and login name respectively,
and then executes
.BR twoftpd-xfer .
It also sets
.B GROUP
if the CVM reports a group name, and
.B AUTHENTICATED
to
.B 1
.RB ( twoftpd-auth
and
.B twoftpd-xfer
look for this variable to determine what startup banner code to use).
.SH ENVIRONMENT
.TP
.B AUTH_ATTEMPTS
The maximum number of authentication attempts to allow before dropping
the connection.
.TP
.B AUTH_TIMEOUT
The maximum number of seconds to wait for successful authentication.
.TP
.B LOGINBANNER
If set, the contents of this variable will be sent as extra responses
before the user logs in.
.TP
.B TIMEOUT
The maximum number of seconds to wait for command input.
.SH SEE ALSO
twoftpd-xfer(1)