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 "2015-07-20">
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
40
<holder>Teddy Hogeborn</holder>
36
41
<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>
97
131
<arg choice="plain"><option>--interval
98
132
<replaceable>TIME</replaceable></option></arg>
99
133
<arg choice="plain"><option>-i
274
312
Set the <varname>checker</varname> option of the specified
275
313
client(s); see <citerefentry><refentrytitle
276
>mandos-client.conf</refentrytitle><manvolnum>5</manvolnum
314
>mandos-clients.conf</refentrytitle><manvolnum
315
>5</manvolnum></citerefentry>.
289
327
Set the <varname>timeout</varname> option of the specified
290
328
client(s); see <citerefentry><refentrytitle
291
>mandos-client.conf</refentrytitle><manvolnum>5</manvolnum
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>.
301
352
<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
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>.
319
411
Set the <varname>host</varname> option of the specified
320
412
client(s); see <citerefentry><refentrytitle
321
>mandos-client.conf</refentrytitle><manvolnum>5</manvolnum
413
>mandos-clients.conf</refentrytitle><manvolnum
414
>5</manvolnum></citerefentry>.
334
426
Set the <varname>secfile</varname> option of the specified
335
427
client(s); see <citerefentry><refentrytitle
336
>mandos-client.conf</refentrytitle><manvolnum>5</manvolnum
428
>mandos-clients.conf</refentrytitle><manvolnum
429
>5</manvolnum></citerefentry>.
422
523
<title>EXAMPLE</title>
423
524
<informalexample>
425
List all clients with some of their settings:
428
529
<userinput>&COMMANDNAME;</userinput>
430
531
</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>
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>
442
577
</informalexample>
454
589
<refsect1 id="see_also">
455
590
<title>SEE ALSO</title>
592
<citerefentry><refentrytitle>intro</refentrytitle>
593
<manvolnum>8mandos</manvolnum></citerefentry>,
457
594
<citerefentry><refentrytitle>mandos</refentrytitle>
458
595
<manvolnum>8</manvolnum></citerefentry>,
459
596
<citerefentry><refentrytitle>mandos-clients.conf</refentrytitle>