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 "2011-10-03">
5
<!ENTITY TIMESTAMP "2010-09-21">
6
6
<!ENTITY % common SYSTEM "common.ent">
19
19
<firstname>Björn</firstname>
20
20
<surname>Påhlsson</surname>
22
<email>belorn@recompile.se</email>
22
<email>belorn@fukt.bsnet.se</email>
26
26
<firstname>Teddy</firstname>
27
27
<surname>Hogeborn</surname>
29
<email>teddy@recompile.se</email>
29
<email>teddy@fukt.bsnet.se</email>
36
35
<holder>Teddy Hogeborn</holder>
37
36
<holder>Björn Påhlsson</holder>
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>
127
97
<arg choice="plain"><option>--interval
128
98
<replaceable>TIME</replaceable></option></arg>
129
99
<arg choice="plain"><option>-i
304
274
Set the <varname>checker</varname> option of the specified
305
275
client(s); see <citerefentry><refentrytitle
306
>mandos-clients.conf</refentrytitle><manvolnum
307
>5</manvolnum></citerefentry>.
276
>mandos-client.conf</refentrytitle><manvolnum>5</manvolnum
319
289
Set the <varname>timeout</varname> option of the specified
320
290
client(s); see <citerefentry><refentrytitle
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>.
291
>mandos-client.conf</refentrytitle><manvolnum>5</manvolnum
344
301
<replaceable>TIME</replaceable></option></term>
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>.
304
Set the <varname>interval</varname> option of the specified
305
client(s); see <citerefentry><refentrytitle
306
>mandos-client.conf</refentrytitle><manvolnum>5</manvolnum
403
319
Set the <varname>host</varname> option of the specified
404
320
client(s); see <citerefentry><refentrytitle
405
>mandos-clients.conf</refentrytitle><manvolnum
406
>5</manvolnum></citerefentry>.
321
>mandos-client.conf</refentrytitle><manvolnum>5</manvolnum
418
334
Set the <varname>secfile</varname> option of the specified
419
335
client(s); see <citerefentry><refentrytitle
420
>mandos-clients.conf</refentrytitle><manvolnum
421
>5</manvolnum></citerefentry>.
336
>mandos-client.conf</refentrytitle><manvolnum>5</manvolnum
506
422
<title>EXAMPLE</title>
507
423
<informalexample>
425
List all clients with some of their settings:
512
428
<userinput>&COMMANDNAME;</userinput>
514
430
</informalexample>
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>
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>
560
442
</informalexample>
572
454
<refsect1 id="see_also">
573
455
<title>SEE ALSO</title>
575
<citerefentry><refentrytitle>intro</refentrytitle>
576
<manvolnum>8mandos</manvolnum></citerefentry>,
577
457
<citerefentry><refentrytitle>mandos</refentrytitle>
578
458
<manvolnum>8</manvolnum></citerefentry>,
579
459
<citerefentry><refentrytitle>mandos-clients.conf</refentrytitle>