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 "2016-02-28">
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
41
<holder>Teddy Hogeborn</holder>
36
42
<holder>Björn Påhlsson</holder>
103
<arg choice="plain"><option>--extended-timeout
104
<replaceable>TIME</replaceable></option></arg>
108
<arg choice="plain"><option>--interval
109
<replaceable>TIME</replaceable></option></arg>
110
<arg choice="plain"><option>-i
111
<replaceable>TIME</replaceable></option></arg>
115
<arg choice="plain"><option>--approve-by-default</option
118
<arg choice="plain"><option>--deny-by-default</option></arg>
122
<arg choice="plain"><option>--approval-delay
123
<replaceable>TIME</replaceable></option></arg>
127
<arg choice="plain"><option>--approval-duration
128
<replaceable>TIME</replaceable></option></arg>
97
132
<arg choice="plain"><option>--interval
98
133
<replaceable>TIME</replaceable></option></arg>
99
134
<arg choice="plain"><option>-i
274
313
Set the <varname>checker</varname> option of the specified
275
314
client(s); see <citerefentry><refentrytitle
276
>mandos-client.conf</refentrytitle><manvolnum>5</manvolnum
315
>mandos-clients.conf</refentrytitle><manvolnum
316
>5</manvolnum></citerefentry>.
289
328
Set the <varname>timeout</varname> option of the specified
290
329
client(s); see <citerefentry><refentrytitle
291
>mandos-client.conf</refentrytitle><manvolnum>5</manvolnum
330
>mandos-clients.conf</refentrytitle><manvolnum
331
>5</manvolnum></citerefentry>.
337
<term><option>--extended-timeout
338
<replaceable>TIME</replaceable></option></term>
341
Set the <varname>extended_timeout</varname> option of the
342
specified client(s); see <citerefentry><refentrytitle
343
>mandos-clients.conf</refentrytitle><manvolnum
344
>5</manvolnum></citerefentry>.
301
353
<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
356
Set the <varname>interval</varname> option of the
357
specified client(s); see <citerefentry><refentrytitle
358
>mandos-clients.conf</refentrytitle><manvolnum
359
>5</manvolnum></citerefentry>.
365
<term><option>--approve-by-default</option></term>
366
<term><option>--deny-by-default</option></term>
369
Set the <varname>approved_by_default</varname> option of
370
the specified client(s) to <literal>True</literal> or
371
<literal>False</literal>, respectively; see
372
<citerefentry><refentrytitle
373
>mandos-clients.conf</refentrytitle><manvolnum
374
>5</manvolnum></citerefentry>.
380
<term><option>--approval-delay
381
<replaceable>TIME</replaceable></option></term>
384
Set the <varname>approval_delay</varname> option of the
385
specified client(s); see <citerefentry><refentrytitle
386
>mandos-clients.conf</refentrytitle><manvolnum
387
>5</manvolnum></citerefentry>.
393
<term><option>--approval-duration
394
<replaceable>TIME</replaceable></option></term>
397
Set the <varname>approval_duration</varname> option of the
398
specified client(s); see <citerefentry><refentrytitle
399
>mandos-clients.conf</refentrytitle><manvolnum
400
>5</manvolnum></citerefentry>.
319
412
Set the <varname>host</varname> option of the specified
320
413
client(s); see <citerefentry><refentrytitle
321
>mandos-client.conf</refentrytitle><manvolnum>5</manvolnum
414
>mandos-clients.conf</refentrytitle><manvolnum
415
>5</manvolnum></citerefentry>.
334
427
Set the <varname>secfile</varname> option of the specified
335
428
client(s); see <citerefentry><refentrytitle
336
>mandos-client.conf</refentrytitle><manvolnum>5</manvolnum
429
>mandos-clients.conf</refentrytitle><manvolnum
430
>5</manvolnum></citerefentry>.
422
524
<title>EXAMPLE</title>
423
525
<informalexample>
425
List all clients with some of their settings:
428
530
<userinput>&COMMANDNAME;</userinput>
430
532
</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>
536
To list <emphasis>all</emphasis> settings for the clients
537
named <quote>foo1.example.org</quote> and <quote
538
>foo2.example.org</quote>:
542
<!-- do not wrap this line -->
543
<userinput>&COMMANDNAME; --verbose foo1.example.org foo2.example.org</userinput>
550
To enable all clients:
553
<userinput>&COMMANDNAME; --enable --all</userinput>
559
To change timeout and interval value for the clients
560
named <quote>foo1.example.org</quote> and <quote
561
>foo2.example.org</quote>:
565
<!-- do not wrap this line -->
566
<userinput>&COMMANDNAME; --timeout="5m" --interval="1m" foo1.example.org foo2.example.org</userinput>
573
To approve all clients currently waiting for it:
576
<userinput>&COMMANDNAME; --approve --all</userinput>
442
578
</informalexample>
454
590
<refsect1 id="see_also">
455
591
<title>SEE ALSO</title>
593
<citerefentry><refentrytitle>intro</refentrytitle>
594
<manvolnum>8mandos</manvolnum></citerefentry>,
457
595
<citerefentry><refentrytitle>mandos</refentrytitle>
458
596
<manvolnum>8</manvolnum></citerefentry>,
459
597
<citerefentry><refentrytitle>mandos-clients.conf</refentrytitle>