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 "2016-03-05">
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>
41
35
<holder>Teddy Hogeborn</holder>
42
36
<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>
132
97
<arg choice="plain"><option>--interval
133
98
<replaceable>TIME</replaceable></option></arg>
134
99
<arg choice="plain"><option>-i
313
274
Set the <varname>checker</varname> option of the specified
314
275
client(s); see <citerefentry><refentrytitle
315
>mandos-clients.conf</refentrytitle><manvolnum
316
>5</manvolnum></citerefentry>.
276
>mandos-client.conf</refentrytitle><manvolnum>5</manvolnum
328
289
Set the <varname>timeout</varname> option of the specified
329
290
client(s); see <citerefentry><refentrytitle
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>.
291
>mandos-client.conf</refentrytitle><manvolnum>5</manvolnum
353
301
<replaceable>TIME</replaceable></option></term>
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>.
304
Set the <varname>interval</varname> option of the specified
305
client(s); see <citerefentry><refentrytitle
306
>mandos-client.conf</refentrytitle><manvolnum>5</manvolnum
412
319
Set the <varname>host</varname> option of the specified
413
320
client(s); see <citerefentry><refentrytitle
414
>mandos-clients.conf</refentrytitle><manvolnum
415
>5</manvolnum></citerefentry>.
321
>mandos-client.conf</refentrytitle><manvolnum>5</manvolnum
427
334
Set the <varname>secfile</varname> option of the specified
428
335
client(s); see <citerefentry><refentrytitle
429
>mandos-clients.conf</refentrytitle><manvolnum
430
>5</manvolnum></citerefentry>.
336
>mandos-client.conf</refentrytitle><manvolnum>5</manvolnum
519
<xi:include href="bugs.xml"/>
415
<!-- <refsect1 id="bugs"> -->
416
<!-- <title>BUGS</title> -->
522
421
<refsect1 id="example">
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>