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 "2011-02-27">
5
<!ENTITY TIMESTAMP "2010-09-21">
6
6
<!ENTITY % common SYSTEM "common.ent">
105
<arg choice="plain"><option>--approve-by-default</option
108
<arg choice="plain"><option>--deny-by-default</option></arg>
112
<arg choice="plain"><option>--approval-delay
113
<replaceable>TIME</replaceable></option></arg>
117
<arg choice="plain"><option>--approval-duration
118
<replaceable>TIME</replaceable></option></arg>
122
<arg choice="plain"><option>--interval
123
<replaceable>TIME</replaceable></option></arg>
124
<arg choice="plain"><option>-i
125
<replaceable>TIME</replaceable></option></arg>
129
104
<arg choice="plain"><option>--host
130
105
<replaceable>STRING</replaceable></option></arg>
131
106
<arg choice="plain"><option>-H
299
274
Set the <varname>checker</varname> option of the specified
300
275
client(s); see <citerefentry><refentrytitle
301
>mandos-clients.conf</refentrytitle><manvolnum
302
>5</manvolnum></citerefentry>.
276
>mandos-client.conf</refentrytitle><manvolnum>5</manvolnum
314
289
Set the <varname>timeout</varname> option of the specified
315
290
client(s); see <citerefentry><refentrytitle
316
>mandos-clients.conf</refentrytitle><manvolnum
317
>5</manvolnum></citerefentry>.
291
>mandos-client.conf</refentrytitle><manvolnum>5</manvolnum
326
301
<replaceable>TIME</replaceable></option></term>
329
Set the <varname>interval</varname> option of the
330
specified client(s); see <citerefentry><refentrytitle
331
>mandos-clients.conf</refentrytitle><manvolnum
332
>5</manvolnum></citerefentry>.
338
<term><option>--approve-by-default</option></term>
339
<term><option>--deny-by-default</option></term>
342
Set the <varname>approved_by_default</varname> option of
343
the specified client(s) to <literal>True</literal> or
344
<literal>False</literal>, respectively; see
345
<citerefentry><refentrytitle
346
>mandos-clients.conf</refentrytitle><manvolnum
347
>5</manvolnum></citerefentry>.
353
<term><option>--approval-delay
354
<replaceable>TIME</replaceable></option></term>
357
Set the <varname>approval_delay</varname> option of the
358
specified client(s); see <citerefentry><refentrytitle
359
>mandos-clients.conf</refentrytitle><manvolnum
360
>5</manvolnum></citerefentry>.
366
<term><option>--approval-duration
367
<replaceable>TIME</replaceable></option></term>
370
Set the <varname>approval_duration</varname> option of the
371
specified client(s); see <citerefentry><refentrytitle
372
>mandos-clients.conf</refentrytitle><manvolnum
373
>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
385
319
Set the <varname>host</varname> option of the specified
386
320
client(s); see <citerefentry><refentrytitle
387
>mandos-clients.conf</refentrytitle><manvolnum
388
>5</manvolnum></citerefentry>.
321
>mandos-client.conf</refentrytitle><manvolnum>5</manvolnum
400
334
Set the <varname>secfile</varname> option of the specified
401
335
client(s); see <citerefentry><refentrytitle
402
>mandos-clients.conf</refentrytitle><manvolnum
403
>5</manvolnum></citerefentry>.
336
>mandos-client.conf</refentrytitle><manvolnum>5</manvolnum
488
422
<title>EXAMPLE</title>
489
423
<informalexample>
425
List all clients with some of their settings:
494
428
<userinput>&COMMANDNAME;</userinput>
496
430
</informalexample>
500
To list <emphasis>all</emphasis> settings for the clients
501
named <quote>foo1.example.org</quote> and <quote
502
>foo2.example.org</quote>:
506
<!-- do not wrap this line -->
507
<userinput>&COMMANDNAME; --verbose foo1.example.org foo2.example.org</userinput>
514
To enable all clients:
517
<userinput>&COMMANDNAME; --enable --all</userinput>
523
To change timeout and interval value for the clients
524
named <quote>foo1.example.org</quote> and <quote
525
>foo2.example.org</quote>:
529
<!-- do not wrap this line -->
530
<userinput>&COMMANDNAME; --timeout="5m" --interval="1m" foo1.example.org foo2.example.org</userinput>
537
To approve all clients currently waiting for it:
540
<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>
542
442
</informalexample>