2
2
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3
3
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4
4
<!ENTITY COMMANDNAME "mandos-ctl">
5
<!ENTITY TIMESTAMP "2010-09-21">
5
<!ENTITY TIMESTAMP "2010-09-26">
6
6
<!ENTITY % common SYSTEM "common.ent">
104
<arg choice="plain"><option>--approve-by-default</option
107
<arg choice="plain"><option>--deny-by-default</option></arg>
111
<arg choice="plain"><option>--approval-delay
112
<replaceable>TIME</replaceable></option></arg>
116
<arg choice="plain"><option>--approval-duration
117
<replaceable>TIME</replaceable></option></arg>
121
<arg choice="plain"><option>--interval
122
<replaceable>TIME</replaceable></option></arg>
123
<arg choice="plain"><option>-i
124
<replaceable>TIME</replaceable></option></arg>
104
128
<arg choice="plain"><option>--host
105
129
<replaceable>STRING</replaceable></option></arg>
106
130
<arg choice="plain"><option>-H
274
298
Set the <varname>checker</varname> option of the specified
275
299
client(s); see <citerefentry><refentrytitle
276
>mandos-client.conf</refentrytitle><manvolnum>5</manvolnum
300
>mandos-clients.conf</refentrytitle><manvolnum
301
>5</manvolnum></citerefentry>.
289
313
Set the <varname>timeout</varname> option of the specified
290
314
client(s); see <citerefentry><refentrytitle
291
>mandos-client.conf</refentrytitle><manvolnum>5</manvolnum
315
>mandos-clients.conf</refentrytitle><manvolnum
316
>5</manvolnum></citerefentry>.
301
325
<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
328
Set the <varname>interval</varname> option of the
329
specified client(s); see <citerefentry><refentrytitle
330
>mandos-clients.conf</refentrytitle><manvolnum
331
>5</manvolnum></citerefentry>.
337
<term><option>--approve-by-default</option></term>
338
<term><option>--deny-by-default</option></term>
341
Set the <varname>approved_by_default</varname> option of
342
the specified client(s) to <literal>True</literal> or
343
<literal>False</literal>, respectively; see
344
<citerefentry><refentrytitle
345
>mandos-clients.conf</refentrytitle><manvolnum
346
>5</manvolnum></citerefentry>.
352
<term><option>--approval-delay
353
<replaceable>TIME</replaceable></option></term>
356
Set the <varname>approval_delay</varname> option of the
357
specified client(s); see <citerefentry><refentrytitle
358
>mandos-clients.conf</refentrytitle><manvolnum
359
>5</manvolnum></citerefentry>.
365
<term><option>--approval-duration
366
<replaceable>TIME</replaceable></option></term>
369
Set the <varname>approval_duration</varname> option of the
370
specified client(s); see <citerefentry><refentrytitle
371
>mandos-clients.conf</refentrytitle><manvolnum
372
>5</manvolnum></citerefentry>.
319
384
Set the <varname>host</varname> option of the specified
320
385
client(s); see <citerefentry><refentrytitle
321
>mandos-client.conf</refentrytitle><manvolnum>5</manvolnum
386
>mandos-clients.conf</refentrytitle><manvolnum
387
>5</manvolnum></citerefentry>.
334
399
Set the <varname>secfile</varname> option of the specified
335
400
client(s); see <citerefentry><refentrytitle
336
>mandos-client.conf</refentrytitle><manvolnum>5</manvolnum
401
>mandos-clients.conf</refentrytitle><manvolnum
402
>5</manvolnum></citerefentry>.
422
487
<title>EXAMPLE</title>
423
488
<informalexample>
425
List all clients with some of their settings:
428
493
<userinput>&COMMANDNAME;</userinput>
430
495
</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>
499
To list <emphasis>all</emphasis> settings for the clients
500
named <quote>foo1.example.org</quote> and <quote
501
>foo2.example.org</quote>:
505
<!-- do not wrap this line -->
506
<userinput>&COMMANDNAME; --verbose foo1.example.org foo2.example.org</userinput>
513
To enable all clients:
516
<userinput>&COMMANDNAME; --enable --all</userinput>
522
To change timeout and interval value for the clients
523
named <quote>foo1.example.org</quote> and <quote
524
>foo2.example.org</quote>:
528
<!-- do not wrap this line -->
529
<userinput>&COMMANDNAME; --timeout="5m" --interval="1m" foo1.example.org foo2.example.org</userinput>
536
To approve all clients currently waiting for it:
539
<userinput>&COMMANDNAME; --approve --all</userinput>
442
541
</informalexample>