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 "2011-08-08">
6
6
<!ENTITY % common SYSTEM "common.ent">
98
<arg choice="plain"><option>--extended-timeout
99
<replaceable>TIME</replaceable></option></arg>
103
<arg choice="plain"><option>--interval
104
<replaceable>TIME</replaceable></option></arg>
105
<arg choice="plain"><option>-i
106
<replaceable>TIME</replaceable></option></arg>
110
<arg choice="plain"><option>--approve-by-default</option
113
<arg choice="plain"><option>--deny-by-default</option></arg>
117
<arg choice="plain"><option>--approval-delay
118
<replaceable>TIME</replaceable></option></arg>
122
<arg choice="plain"><option>--approval-duration
123
<replaceable>TIME</replaceable></option></arg>
97
127
<arg choice="plain"><option>--interval
98
128
<replaceable>TIME</replaceable></option></arg>
99
129
<arg choice="plain"><option>-i
274
304
Set the <varname>checker</varname> option of the specified
275
305
client(s); see <citerefentry><refentrytitle
276
>mandos-client.conf</refentrytitle><manvolnum>5</manvolnum
306
>mandos-clients.conf</refentrytitle><manvolnum
307
>5</manvolnum></citerefentry>.
289
319
Set the <varname>timeout</varname> option of the specified
290
320
client(s); see <citerefentry><refentrytitle
291
>mandos-client.conf</refentrytitle><manvolnum>5</manvolnum
321
>mandos-clients.conf</refentrytitle><manvolnum
322
>5</manvolnum></citerefentry>.
328
<term><option>--extended-timeout
329
<replaceable>TIME</replaceable></option></term>
332
Set the <varname>extended_timeout</varname> option of the
333
specified client(s); see <citerefentry><refentrytitle
334
>mandos-clients.conf</refentrytitle><manvolnum
335
>5</manvolnum></citerefentry>.
301
344
<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
347
Set the <varname>interval</varname> option of the
348
specified client(s); see <citerefentry><refentrytitle
349
>mandos-clients.conf</refentrytitle><manvolnum
350
>5</manvolnum></citerefentry>.
356
<term><option>--approve-by-default</option></term>
357
<term><option>--deny-by-default</option></term>
360
Set the <varname>approved_by_default</varname> option of
361
the specified client(s) to <literal>True</literal> or
362
<literal>False</literal>, respectively; see
363
<citerefentry><refentrytitle
364
>mandos-clients.conf</refentrytitle><manvolnum
365
>5</manvolnum></citerefentry>.
371
<term><option>--approval-delay
372
<replaceable>TIME</replaceable></option></term>
375
Set the <varname>approval_delay</varname> option of the
376
specified client(s); see <citerefentry><refentrytitle
377
>mandos-clients.conf</refentrytitle><manvolnum
378
>5</manvolnum></citerefentry>.
384
<term><option>--approval-duration
385
<replaceable>TIME</replaceable></option></term>
388
Set the <varname>approval_duration</varname> option of the
389
specified client(s); see <citerefentry><refentrytitle
390
>mandos-clients.conf</refentrytitle><manvolnum
391
>5</manvolnum></citerefentry>.
319
403
Set the <varname>host</varname> option of the specified
320
404
client(s); see <citerefentry><refentrytitle
321
>mandos-client.conf</refentrytitle><manvolnum>5</manvolnum
405
>mandos-clients.conf</refentrytitle><manvolnum
406
>5</manvolnum></citerefentry>.
334
418
Set the <varname>secfile</varname> option of the specified
335
419
client(s); see <citerefentry><refentrytitle
336
>mandos-client.conf</refentrytitle><manvolnum>5</manvolnum
420
>mandos-clients.conf</refentrytitle><manvolnum
421
>5</manvolnum></citerefentry>.
422
506
<title>EXAMPLE</title>
423
507
<informalexample>
425
List all clients with some of their settings:
428
512
<userinput>&COMMANDNAME;</userinput>
430
514
</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>
518
To list <emphasis>all</emphasis> settings for the clients
519
named <quote>foo1.example.org</quote> and <quote
520
>foo2.example.org</quote>:
524
<!-- do not wrap this line -->
525
<userinput>&COMMANDNAME; --verbose foo1.example.org foo2.example.org</userinput>
532
To enable all clients:
535
<userinput>&COMMANDNAME; --enable --all</userinput>
541
To change timeout and interval value for the clients
542
named <quote>foo1.example.org</quote> and <quote
543
>foo2.example.org</quote>:
547
<!-- do not wrap this line -->
548
<userinput>&COMMANDNAME; --timeout="5m" --interval="1m" foo1.example.org foo2.example.org</userinput>
555
To approve all clients currently waiting for it:
558
<userinput>&COMMANDNAME; --approve --all</userinput>
442
560
</informalexample>
454
572
<refsect1 id="see_also">
455
573
<title>SEE ALSO</title>
575
<citerefentry><refentrytitle>intro</refentrytitle>
576
<manvolnum>8mandos</manvolnum></citerefentry>,
457
577
<citerefentry><refentrytitle>mandos</refentrytitle>
458
578
<manvolnum>8</manvolnum></citerefentry>,
459
579
<citerefentry><refentrytitle>mandos-clients.conf</refentrytitle>