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 "2015-07-20">
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>
40
35
<holder>Teddy Hogeborn</holder>
41
36
<holder>Björn Påhlsson</holder>
102
<arg choice="plain"><option>--extended-timeout
103
<replaceable>TIME</replaceable></option></arg>
107
<arg choice="plain"><option>--interval
108
<replaceable>TIME</replaceable></option></arg>
109
<arg choice="plain"><option>-i
110
<replaceable>TIME</replaceable></option></arg>
114
<arg choice="plain"><option>--approve-by-default</option
117
<arg choice="plain"><option>--deny-by-default</option></arg>
121
<arg choice="plain"><option>--approval-delay
122
<replaceable>TIME</replaceable></option></arg>
126
<arg choice="plain"><option>--approval-duration
127
<replaceable>TIME</replaceable></option></arg>
131
97
<arg choice="plain"><option>--interval
132
98
<replaceable>TIME</replaceable></option></arg>
133
99
<arg choice="plain"><option>-i
312
274
Set the <varname>checker</varname> option of the specified
313
275
client(s); see <citerefentry><refentrytitle
314
>mandos-clients.conf</refentrytitle><manvolnum
315
>5</manvolnum></citerefentry>.
276
>mandos-client.conf</refentrytitle><manvolnum>5</manvolnum
327
289
Set the <varname>timeout</varname> option of the specified
328
290
client(s); see <citerefentry><refentrytitle
329
>mandos-clients.conf</refentrytitle><manvolnum
330
>5</manvolnum></citerefentry>.
336
<term><option>--extended-timeout
337
<replaceable>TIME</replaceable></option></term>
340
Set the <varname>extended_timeout</varname> option of the
341
specified client(s); see <citerefentry><refentrytitle
342
>mandos-clients.conf</refentrytitle><manvolnum
343
>5</manvolnum></citerefentry>.
291
>mandos-client.conf</refentrytitle><manvolnum>5</manvolnum
352
301
<replaceable>TIME</replaceable></option></term>
355
Set the <varname>interval</varname> option of the
356
specified client(s); see <citerefentry><refentrytitle
357
>mandos-clients.conf</refentrytitle><manvolnum
358
>5</manvolnum></citerefentry>.
364
<term><option>--approve-by-default</option></term>
365
<term><option>--deny-by-default</option></term>
368
Set the <varname>approved_by_default</varname> option of
369
the specified client(s) to <literal>True</literal> or
370
<literal>False</literal>, respectively; see
371
<citerefentry><refentrytitle
372
>mandos-clients.conf</refentrytitle><manvolnum
373
>5</manvolnum></citerefentry>.
379
<term><option>--approval-delay
380
<replaceable>TIME</replaceable></option></term>
383
Set the <varname>approval_delay</varname> option of the
384
specified client(s); see <citerefentry><refentrytitle
385
>mandos-clients.conf</refentrytitle><manvolnum
386
>5</manvolnum></citerefentry>.
392
<term><option>--approval-duration
393
<replaceable>TIME</replaceable></option></term>
396
Set the <varname>approval_duration</varname> option of the
397
specified client(s); see <citerefentry><refentrytitle
398
>mandos-clients.conf</refentrytitle><manvolnum
399
>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
411
319
Set the <varname>host</varname> option of the specified
412
320
client(s); see <citerefentry><refentrytitle
413
>mandos-clients.conf</refentrytitle><manvolnum
414
>5</manvolnum></citerefentry>.
321
>mandos-client.conf</refentrytitle><manvolnum>5</manvolnum
426
334
Set the <varname>secfile</varname> option of the specified
427
335
client(s); see <citerefentry><refentrytitle
428
>mandos-clients.conf</refentrytitle><manvolnum
429
>5</manvolnum></citerefentry>.
336
>mandos-client.conf</refentrytitle><manvolnum>5</manvolnum
523
422
<title>EXAMPLE</title>
524
423
<informalexample>
425
List all clients with some of their settings:
529
428
<userinput>&COMMANDNAME;</userinput>
531
430
</informalexample>
535
To list <emphasis>all</emphasis> settings for the clients
536
named <quote>foo1.example.org</quote> and <quote
537
>foo2.example.org</quote>:
541
<!-- do not wrap this line -->
542
<userinput>&COMMANDNAME; --verbose foo1.example.org foo2.example.org</userinput>
549
To enable all clients:
552
<userinput>&COMMANDNAME; --enable --all</userinput>
558
To change timeout and interval value for the clients
559
named <quote>foo1.example.org</quote> and <quote
560
>foo2.example.org</quote>:
564
<!-- do not wrap this line -->
565
<userinput>&COMMANDNAME; --timeout="5m" --interval="1m" foo1.example.org foo2.example.org</userinput>
572
To approve all clients currently waiting for it:
575
<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>
577
442
</informalexample>
589
454
<refsect1 id="see_also">
590
455
<title>SEE ALSO</title>
592
<citerefentry><refentrytitle>intro</refentrytitle>
593
<manvolnum>8mandos</manvolnum></citerefentry>,
594
457
<citerefentry><refentrytitle>mandos</refentrytitle>
595
458
<manvolnum>8</manvolnum></citerefentry>,
596
459
<citerefentry><refentrytitle>mandos-clients.conf</refentrytitle>