summaryrefslogtreecommitdiff
path: root/rquotad.8
blob: 787ccf6d236b591a46b71f4fb186c320e026df22 (plain)
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
.TH RQUOTAD 8
.SH NAME
rquotad, rpc.rquotad \- remote quota server
.SH SYNOPSIS
.B rpc.rquotad
[
.B \-sSFI
] [
.B \-p \f2port\f1
]
.SH DESCRIPTION
.LP
.IX  "rquotad daemon"  ""  "\fLrquotad\fP \(em remote quota server"
.IX  daemons  "rquotad daemon"  ""  "\fLrquotad\fP \(em remote quota server"
.IX  "user quotas"  "rquotad daemon"  ""  "\fLrquotad\fP \(em remote quota server"
.IX  "disk quotas"  "rquotad daemon"  ""  "\fLrquotad\fP \(em remote quota server"
.IX  "quotas"  "rquotad daemon"  ""  "\fLrquotad\fP \(em remote quota server"
.IX  "filesystem"  "rquotad daemon"  ""  "\fLrquotad\fP \(em remote quota server"
.IX  "remote procedure call services"  "rquotad"  ""  "\fLrquotad\fP \(em remote quota server"
.B rquotad
is an
.BR rpc (3N)
server which returns quotas for a user of a local filesystem
which is mounted by a remote machine over the
.SM NFS\s0.
It also allows setting of quotas on
.SM NFS
mounted filesystem (if configured during compilation and allowed by a command line option
.BR \-S ).
The results are used by
.BR quota (1)
to display user quotas for remote filesystems and by
.BR edquota (8)
to set quotas on remote filesystems.
.B rquotad
daemon uses tcp-wrappers library (under service name
.IR rquotad )
which allows you to specify hosts allowed/disallowed to use
the daemon (see
.BR hosts.allow (5)
manpage for more information). The
.B rquotad
daemon is normally started at boot time from the
system startup scripts.
.SH OPTIONS
.TP
.B \-V, \-\-version
Shows version of quota tools.
.TP
.B \-s, \-\-no-setquota
Don't allow setting of quotas (default). This option is available only
if utilities were compiled with the
.I rpcsetquota
option.
.TP
.B \-S, \-\-setquota
Allow setting of quotas. This option is available only
if utilities were compiled with the
.I rpcsetquota
option.
.TP
.B \-F, \-\-foreground
Run daemon in foreground (may be useful for debugging purposes).
.TP
.B \-I, \-\-autofs
Do not ignore autofs mountpoints.
.TP
.B \-p \f2port\f3, \-\-port \f2port\f1
Listen on alternate port
.IR port.
.TP
.B \-x \f2path\f3, \-\-xtab \f2path\f1
Set an alternative file with NFSD export table. This file is used to
determine pseudoroot of NFSv4 exports. The pseudoroot is then prepended
to a path received in each quota RPC request. This may cause some
troubles in environments with both NFSv3 and NFSv4 clients. In such cases
consider
.I mixed-pathnames
option.
.TP
.B \-m, \-\-mixed-pathnames
Prepend pseudoroot of NFSv4 exports only to pathnames which do not begin
with a slash. This option is useful in environments with both NFSv3 and
NFSv4 clients together with the same option of tools such as
.BR quota (1).
If you pass an option
.I mixed-pathnames
to these tools, they trim leading slashes from NFSv4 mounts in RPC requests.

.SH FILES
.PD 0
.TP 20
.B aquota.user or aquota.group
quota file at the filesystem root (version 2 quota, non-XFS filesystems)
.TP
.B quota.user or quota.group
quota file at the filesystem root (version 1 quota, non-XFS filesystems)
.TP
.B /etc/mtab
default filesystems
.PD
.SH "SEE ALSO"
.BR quota (1),
.BR rpc (3N),
.BR nfs (5),
.BR services (5),
.BR inetd (8)