55
64
<command>&COMMANDNAME;</command>
57
<arg choice="plain"><option>--enable</option></arg>
58
<arg choice="plain"><option>-e</option></arg>
60
<arg choice="plain"><option>--disable</option></arg>
61
<arg choice="plain"><option>-d</option></arg>
65
<arg choice="plain"><option>--bump-timeout</option></arg>
66
<arg choice="plain"><option>-b</option></arg>
70
<arg choice="plain"><option>--start-checker</option></arg>
74
<arg choice="plain"><option>--stop-checker</option></arg>
78
<arg choice="plain"><option>--remove</option></arg>
79
<arg choice="plain"><option>-r</option></arg>
83
<arg choice="plain"><option>--checker
84
<replaceable>COMMAND</replaceable></option></arg>
85
<arg choice="plain"><option>-c
86
<replaceable>COMMAND</replaceable></option></arg>
90
<arg choice="plain"><option>--timeout
91
<replaceable>TIME</replaceable></option></arg>
92
<arg choice="plain"><option>-t
93
<replaceable>TIME</replaceable></option></arg>
97
<arg choice="plain"><option>--interval
98
<replaceable>TIME</replaceable></option></arg>
99
<arg choice="plain"><option>-i
100
<replaceable>TIME</replaceable></option></arg>
104
<arg choice="plain"><option>--host
105
<replaceable>STRING</replaceable></option></arg>
106
<arg choice="plain"><option>-H
107
<replaceable>STRING</replaceable></option></arg>
111
<arg choice="plain"><option>--secret
112
<replaceable>FILENAME</replaceable></option></arg>
113
<arg choice="plain"><option>-s
114
<replaceable>FILENAME</replaceable></option></arg>
118
<arg choice="plain"><option>--approve</option></arg>
119
<arg choice="plain"><option>-A</option></arg>
66
<arg choice="plain"><option>--verbose</option></arg>
67
<arg choice="plain"><option>-v</option></arg>
69
<arg choice="plain"><option>--dump-json</option></arg>
70
<arg choice="plain"><option>-j</option></arg>
72
<arg><option>--debug</option></arg>
74
<arg rep='repeat' choice='plain'>
75
<replaceable>CLIENT</replaceable>
80
<command>&COMMANDNAME;</command>
83
<arg choice="plain"><option>--enable</option></arg>
84
<arg choice="plain"><option>-e</option></arg>
86
<arg choice="plain"><option>--disable</option></arg>
87
<arg choice="plain"><option>-d</option></arg>
91
<arg choice="plain"><option>--bump-timeout</option></arg>
92
<arg choice="plain"><option>-b</option></arg>
96
<arg choice="plain"><option>--start-checker</option></arg>
97
<arg choice="plain"><option>--stop-checker</option></arg>
101
<arg choice="plain"><option>--checker
102
<replaceable>COMMAND</replaceable></option></arg>
103
<arg choice="plain"><option>-c
104
<replaceable>COMMAND</replaceable></option></arg>
108
<arg choice="plain"><option>--timeout
109
<replaceable>TIME</replaceable></option></arg>
110
<arg choice="plain"><option>-t
111
<replaceable>TIME</replaceable></option></arg>
115
<arg choice="plain"><option>--extended-timeout
116
<replaceable>TIME</replaceable></option></arg>
120
<arg choice="plain"><option>--interval
121
<replaceable>TIME</replaceable></option></arg>
122
<arg choice="plain"><option>-i
123
<replaceable>TIME</replaceable></option></arg>
127
<arg choice="plain"><option>--approve-by-default</option
130
<arg choice="plain"><option>--deny-by-default</option></arg>
134
<arg choice="plain"><option>--approval-delay
135
<replaceable>TIME</replaceable></option></arg>
139
<arg choice="plain"><option>--approval-duration
140
<replaceable>TIME</replaceable></option></arg>
144
<arg choice="plain"><option>--host
145
<replaceable>STRING</replaceable></option></arg>
146
<arg choice="plain"><option>-H
147
<replaceable>STRING</replaceable></option></arg>
151
<arg choice="plain"><option>--secret
152
<replaceable>FILENAME</replaceable></option></arg>
153
<arg choice="plain"><option>-s
154
<replaceable>FILENAME</replaceable></option></arg>
158
<arg choice="plain"><option>--approve</option></arg>
159
<arg choice="plain"><option>-A</option></arg>
161
<arg choice="plain"><option>--deny</option></arg>
162
<arg choice="plain"><option>-D</option></arg>
166
<arg><option>--debug</option></arg>
168
<arg choice="plain"><option>--all</option></arg>
169
<arg choice="plain"><option>-a</option></arg>
170
<arg rep='repeat' choice='plain'>
171
<replaceable>CLIENT</replaceable>
176
<command>&COMMANDNAME;</command>
121
178
<arg choice="plain"><option>--deny</option></arg>
122
179
<arg choice="plain"><option>-D</option></arg>
182
<arg choice="plain"><option>--remove</option></arg>
183
<arg choice="plain"><option>-r</option></arg>
186
<arg><option>--debug</option></arg>
125
187
<group choice="req">
126
188
<arg choice="plain"><option>--all</option></arg>
127
189
<arg choice="plain"><option>-a</option></arg>
301
370
<replaceable>TIME</replaceable></option></term>
304
Set the <varname>interval</varname> option of the specified
305
client(s); see <citerefentry><refentrytitle
306
>mandos-client.conf</refentrytitle><manvolnum>5</manvolnum
373
Set the <varname>interval</varname> option of the
374
specified client(s); see <citerefentry><refentrytitle
375
>mandos-clients.conf</refentrytitle><manvolnum
376
>5</manvolnum></citerefentry>.
382
<term><option>--approve-by-default</option></term>
383
<term><option>--deny-by-default</option></term>
386
Set the <varname>approved_by_default</varname> option of
387
the specified client(s) to <literal>True</literal> or
388
<literal>False</literal>, respectively; see
389
<citerefentry><refentrytitle
390
>mandos-clients.conf</refentrytitle><manvolnum
391
>5</manvolnum></citerefentry>.
397
<term><option>--approval-delay
398
<replaceable>TIME</replaceable></option></term>
401
Set the <varname>approval_delay</varname> option of the
402
specified client(s); see <citerefentry><refentrytitle
403
>mandos-clients.conf</refentrytitle><manvolnum
404
>5</manvolnum></citerefentry>.
410
<term><option>--approval-duration
411
<replaceable>TIME</replaceable></option></term>
414
Set the <varname>approval_duration</varname> option of the
415
specified client(s); see <citerefentry><refentrytitle
416
>mandos-clients.conf</refentrytitle><manvolnum
417
>5</manvolnum></citerefentry>.
415
<!-- <refsect1 id="bugs"> -->
416
<!-- <title>BUGS</title> -->
555
<xi:include href="bugs.xml"/>
421
558
<refsect1 id="example">
422
559
<title>EXAMPLE</title>
560
<!-- Name of test methods in class Test_commands_from_options are
561
written in comments below. When adding an example, add a
562
test too which tests the documented behavior. -->
423
563
<informalexample>
564
<!-- Test method: test_manual_page_example_1() -->
425
List all clients with some of their settings:
428
569
<userinput>&COMMANDNAME;</userinput>
430
571
</informalexample>
433
Show all settings for the clients named <quote>foo</quote> and
438
<!-- do not wrap this line -->
439
<userinput>&COMMANDNAME; --verbose foo bar</userinput>
574
<!-- Test method: test_manual_page_example_2() -->
576
To list <emphasis>all</emphasis> settings for the clients
577
named <quote>foo1.example.org</quote> and <quote
578
>foo2.example.org</quote>:
582
<!-- do not wrap this line -->
583
<userinput>&COMMANDNAME; --verbose foo1.example.org foo2.example.org</userinput>
589
<!-- Test method: test_manual_page_example_3() -->
591
To enable all clients:
594
<userinput>&COMMANDNAME; --enable --all</userinput>
599
<!-- Test method: test_manual_page_example_4() -->
601
To change timeout and interval value for the clients
602
named <quote>foo1.example.org</quote> and <quote
603
>foo2.example.org</quote>:
607
<!-- do not wrap this line -->
608
<userinput>&COMMANDNAME; --timeout=PT5M --interval=PT1M foo1.example.org foo2.example.org</userinput>
614
<!-- Test method: test_manual_page_example_5() -->
616
To approve all clients currently waiting for approval:
619
<userinput>&COMMANDNAME; --approve --all</userinput>
442
621
</informalexample>