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 "2011-08-08">
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>
104
129
<arg choice="plain"><option>--host
105
130
<replaceable>STRING</replaceable></option></arg>
106
131
<arg choice="plain"><option>-H
274
299
Set the <varname>checker</varname> option of the specified
275
300
client(s); see <citerefentry><refentrytitle
276
>mandos-client.conf</refentrytitle><manvolnum>5</manvolnum
301
>mandos-clients.conf</refentrytitle><manvolnum
302
>5</manvolnum></citerefentry>.
289
314
Set the <varname>timeout</varname> option of the specified
290
315
client(s); see <citerefentry><refentrytitle
291
>mandos-client.conf</refentrytitle><manvolnum>5</manvolnum
316
>mandos-clients.conf</refentrytitle><manvolnum
317
>5</manvolnum></citerefentry>.
301
326
<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
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>.
319
385
Set the <varname>host</varname> option of the specified
320
386
client(s); see <citerefentry><refentrytitle
321
>mandos-client.conf</refentrytitle><manvolnum>5</manvolnum
387
>mandos-clients.conf</refentrytitle><manvolnum
388
>5</manvolnum></citerefentry>.
334
400
Set the <varname>secfile</varname> option of the specified
335
401
client(s); see <citerefentry><refentrytitle
336
>mandos-client.conf</refentrytitle><manvolnum>5</manvolnum
402
>mandos-clients.conf</refentrytitle><manvolnum
403
>5</manvolnum></citerefentry>.
422
488
<title>EXAMPLE</title>
423
489
<informalexample>
425
List all clients with some of their settings:
428
494
<userinput>&COMMANDNAME;</userinput>
430
496
</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>
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>
442
542
</informalexample>
454
554
<refsect1 id="see_also">
455
555
<title>SEE ALSO</title>
557
<citerefentry><refentrytitle>intro</refentrytitle>
558
<manvolnum>8mandos</manvolnum></citerefentry>,
457
559
<citerefentry><refentrytitle>mandos</refentrytitle>
458
560
<manvolnum>8</manvolnum></citerefentry>,
459
561
<citerefentry><refentrytitle>mandos-clients.conf</refentrytitle>