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 "2012-06-22">
6
6
<!ENTITY % common SYSTEM "common.ent">
19
19
<firstname>Björn</firstname>
20
20
<surname>Påhlsson</surname>
22
<email>belorn@fukt.bsnet.se</email>
22
<email>belorn@recompile.se</email>
26
26
<firstname>Teddy</firstname>
27
27
<surname>Hogeborn</surname>
29
<email>teddy@fukt.bsnet.se</email>
29
<email>teddy@recompile.se</email>
35
37
<holder>Teddy Hogeborn</holder>
36
38
<holder>Björn Påhlsson</holder>
99
<arg choice="plain"><option>--extended-timeout
100
<replaceable>TIME</replaceable></option></arg>
104
<arg choice="plain"><option>--interval
105
<replaceable>TIME</replaceable></option></arg>
106
<arg choice="plain"><option>-i
107
<replaceable>TIME</replaceable></option></arg>
111
<arg choice="plain"><option>--approve-by-default</option
114
<arg choice="plain"><option>--deny-by-default</option></arg>
118
<arg choice="plain"><option>--approval-delay
119
<replaceable>TIME</replaceable></option></arg>
123
<arg choice="plain"><option>--approval-duration
124
<replaceable>TIME</replaceable></option></arg>
97
128
<arg choice="plain"><option>--interval
98
129
<replaceable>TIME</replaceable></option></arg>
99
130
<arg choice="plain"><option>-i
274
309
Set the <varname>checker</varname> option of the specified
275
310
client(s); see <citerefentry><refentrytitle
276
>mandos-client.conf</refentrytitle><manvolnum>5</manvolnum
311
>mandos-clients.conf</refentrytitle><manvolnum
312
>5</manvolnum></citerefentry>.
289
324
Set the <varname>timeout</varname> option of the specified
290
325
client(s); see <citerefentry><refentrytitle
291
>mandos-client.conf</refentrytitle><manvolnum>5</manvolnum
326
>mandos-clients.conf</refentrytitle><manvolnum
327
>5</manvolnum></citerefentry>.
333
<term><option>--extended-timeout
334
<replaceable>TIME</replaceable></option></term>
337
Set the <varname>extended_timeout</varname> option of the
338
specified client(s); see <citerefentry><refentrytitle
339
>mandos-clients.conf</refentrytitle><manvolnum
340
>5</manvolnum></citerefentry>.
301
349
<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
352
Set the <varname>interval</varname> option of the
353
specified client(s); see <citerefentry><refentrytitle
354
>mandos-clients.conf</refentrytitle><manvolnum
355
>5</manvolnum></citerefentry>.
361
<term><option>--approve-by-default</option></term>
362
<term><option>--deny-by-default</option></term>
365
Set the <varname>approved_by_default</varname> option of
366
the specified client(s) to <literal>True</literal> or
367
<literal>False</literal>, respectively; see
368
<citerefentry><refentrytitle
369
>mandos-clients.conf</refentrytitle><manvolnum
370
>5</manvolnum></citerefentry>.
376
<term><option>--approval-delay
377
<replaceable>TIME</replaceable></option></term>
380
Set the <varname>approval_delay</varname> option of the
381
specified client(s); see <citerefentry><refentrytitle
382
>mandos-clients.conf</refentrytitle><manvolnum
383
>5</manvolnum></citerefentry>.
389
<term><option>--approval-duration
390
<replaceable>TIME</replaceable></option></term>
393
Set the <varname>approval_duration</varname> option of the
394
specified client(s); see <citerefentry><refentrytitle
395
>mandos-clients.conf</refentrytitle><manvolnum
396
>5</manvolnum></citerefentry>.
319
408
Set the <varname>host</varname> option of the specified
320
409
client(s); see <citerefentry><refentrytitle
321
>mandos-client.conf</refentrytitle><manvolnum>5</manvolnum
410
>mandos-clients.conf</refentrytitle><manvolnum
411
>5</manvolnum></citerefentry>.
334
423
Set the <varname>secfile</varname> option of the specified
335
424
client(s); see <citerefentry><refentrytitle
336
>mandos-client.conf</refentrytitle><manvolnum>5</manvolnum
425
>mandos-clients.conf</refentrytitle><manvolnum
426
>5</manvolnum></citerefentry>.
422
520
<title>EXAMPLE</title>
423
521
<informalexample>
425
List all clients with some of their settings:
428
526
<userinput>&COMMANDNAME;</userinput>
430
528
</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>
532
To list <emphasis>all</emphasis> settings for the clients
533
named <quote>foo1.example.org</quote> and <quote
534
>foo2.example.org</quote>:
538
<!-- do not wrap this line -->
539
<userinput>&COMMANDNAME; --verbose foo1.example.org foo2.example.org</userinput>
546
To enable all clients:
549
<userinput>&COMMANDNAME; --enable --all</userinput>
555
To change timeout and interval value for the clients
556
named <quote>foo1.example.org</quote> and <quote
557
>foo2.example.org</quote>:
561
<!-- do not wrap this line -->
562
<userinput>&COMMANDNAME; --timeout="5m" --interval="1m" foo1.example.org foo2.example.org</userinput>
569
To approve all clients currently waiting for it:
572
<userinput>&COMMANDNAME; --approve --all</userinput>
442
574
</informalexample>
454
586
<refsect1 id="see_also">
455
587
<title>SEE ALSO</title>
589
<citerefentry><refentrytitle>intro</refentrytitle>
590
<manvolnum>8mandos</manvolnum></citerefentry>,
457
591
<citerefentry><refentrytitle>mandos</refentrytitle>
458
592
<manvolnum>8</manvolnum></citerefentry>,
459
593
<citerefentry><refentrytitle>mandos-clients.conf</refentrytitle>