forked from google/nsscache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnsscache.1
103 lines (103 loc) · 2.84 KB
/
nsscache.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
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
.TH NSSCACHE "1" "May 2007" "nsscache 0.30" "User Commands"
.SH NAME
nsscache \- synchronise a local NSS cache with an upstream data source
.SH SYNOPSIS
.B nsscache
[\fIglobal options\fR] \fIcommand \fR[\fIcommand options\fR]
.SH DESCRIPTION
.B nsscache
synchronises a local NSS cache against a remote data source.
This approach allows the administrator to separate the network from
the NSS lookup codepath, improving speed and reliability of name
services.
.SH OPTIONS
Global options alter general program behaviour:
.TP
\fB\-v\fR, \fB\-\-verbose\fR
enable verbose output
.TP
\fB\-d\fR, \fB\-\-debug\fR
enable debugging output
.TP
\fB\-c\fR \fIFILE\fR, \fB\-\-config\-file\fR=\fIFILE\fR
read configuration from FILE
.TP
\fB\-\-version\fR
show program's version number and exit
.TP
\fB\-h\fR, \fB\-\-help\fR
show this help message and exit
.SH COMMANDS
.SS update
Performs an update of the configured caches from the configured sources.
.TP
\fB\-f\fR, \fB\-\-full\fR
force a full update from the data source
.TP
\fB\-\-force\fR
force the update, overriding any safeguards and checks that would
otherwise prevent the update from occurring. e.g. normally empty
results from the data source are ignored as bogus -- this option will
instruct the program to ignore its intuition and use the empty map
.TP
\fB\-m\fR \fIMAPS\fR, \fB\-\-map\fR=\fIMAPS\fR
NSS map to operate on, can be supplied multiple times
.TP
\fB\-h\fR, \fB\-\-help\fR
show help for the
.B update
command
.SS verify
Perform verification of the built caches and validation of the
system NSS configuration.
.TP
\fB\-m\fR \fIMAPS\fR, \fB\-\-map\fR=\fIMAPS\fR
NSS map to operate on, can be supplied multiple times
.TP
\fB\-h\fR, \fB\-\-help\fR
show help for the
.B verify
command
.SS status
Show the last update time of each configured cache, and other
metrics, optionally in a machine-readable format.
.TP
\fB\-m\fR \fIMAPS\fR, \fB\-\-map\fR=\fIMAPS\fR
NSS map to operate on, can be supplied multiple times
.TP
\fB\-h\fR, \fB\-\-help\fR
show help for the
.B status
command
.SS repair
Verify that the configuration is correct, that the source is
reachable, then perform a full synchronisation of the cache.
.TP
\fB\-m\fR \fIMAPS\fR, \fB\-\-map\fR=\fIMAPS\fR
NSS map to operate on, can be supplied multiple times
.TP
\fB\-h\fR, \fB\-\-help\fR
show help for the
.B repair
command
.SS help
Shows online help for each command.
.SH "SEE ALSO"
.TP
\fInsscache.conf\fP(5)
.TP
\fInsswitch.conf\fP(5)
.SH FILES
.TP
\fI\|/etc/nsscache.conf\|\fP
The system-wide configuration file
.TP
\fI\|/etc/nsswitch.conf\|\fP
The system name service switch configuration file
.SH AUTHOR
Written by Jamie Wilkinson (jaq@google.com) and Vasilios Hoffman (vasilios@google.com).
.SH COPYRIGHT
Copyright \(co 2007 Google, Inc.
.br
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.