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 "2012-01-01">
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>
37
35
<holder>Teddy Hogeborn</holder>
38
36
<holder>Björn Påhlsson</holder>
99
<arg choice="plain"><option>--extended-timeout
100
<replaceable>TIME</replaceable></option></arg>
104
<arg choice="plain"><option>--interval
105
<replaceable>TIME</replaceable></option></arg>
106
<arg choice="plain"><option>-i
107
<replaceable>TIME</replaceable></option></arg>
111
<arg choice="plain"><option>--approve-by-default</option
114
<arg choice="plain"><option>--deny-by-default</option></arg>
118
<arg choice="plain"><option>--approval-delay
119
<replaceable>TIME</replaceable></option></arg>
123
<arg choice="plain"><option>--approval-duration
124
<replaceable>TIME</replaceable></option></arg>
128
97
<arg choice="plain"><option>--interval
129
98
<replaceable>TIME</replaceable></option></arg>
130
99
<arg choice="plain"><option>-i
305
274
Set the <varname>checker</varname> option of the specified
306
275
client(s); see <citerefentry><refentrytitle
307
>mandos-clients.conf</refentrytitle><manvolnum
308
>5</manvolnum></citerefentry>.
276
>mandos-client.conf</refentrytitle><manvolnum>5</manvolnum
320
289
Set the <varname>timeout</varname> option of the specified
321
290
client(s); see <citerefentry><refentrytitle
322
>mandos-clients.conf</refentrytitle><manvolnum
323
>5</manvolnum></citerefentry>.
329
<term><option>--extended-timeout
330
<replaceable>TIME</replaceable></option></term>
333
Set the <varname>extended_timeout</varname> option of the
334
specified client(s); see <citerefentry><refentrytitle
335
>mandos-clients.conf</refentrytitle><manvolnum
336
>5</manvolnum></citerefentry>.
291
>mandos-client.conf</refentrytitle><manvolnum>5</manvolnum
345
301
<replaceable>TIME</replaceable></option></term>
348
Set the <varname>interval</varname> option of the
349
specified client(s); see <citerefentry><refentrytitle
350
>mandos-clients.conf</refentrytitle><manvolnum
351
>5</manvolnum></citerefentry>.
357
<term><option>--approve-by-default</option></term>
358
<term><option>--deny-by-default</option></term>
361
Set the <varname>approved_by_default</varname> option of
362
the specified client(s) to <literal>True</literal> or
363
<literal>False</literal>, respectively; see
364
<citerefentry><refentrytitle
365
>mandos-clients.conf</refentrytitle><manvolnum
366
>5</manvolnum></citerefentry>.
372
<term><option>--approval-delay
373
<replaceable>TIME</replaceable></option></term>
376
Set the <varname>approval_delay</varname> option of the
377
specified client(s); see <citerefentry><refentrytitle
378
>mandos-clients.conf</refentrytitle><manvolnum
379
>5</manvolnum></citerefentry>.
385
<term><option>--approval-duration
386
<replaceable>TIME</replaceable></option></term>
389
Set the <varname>approval_duration</varname> option of the
390
specified client(s); see <citerefentry><refentrytitle
391
>mandos-clients.conf</refentrytitle><manvolnum
392
>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
404
319
Set the <varname>host</varname> option of the specified
405
320
client(s); see <citerefentry><refentrytitle
406
>mandos-clients.conf</refentrytitle><manvolnum
407
>5</manvolnum></citerefentry>.
321
>mandos-client.conf</refentrytitle><manvolnum>5</manvolnum
419
334
Set the <varname>secfile</varname> option of the specified
420
335
client(s); see <citerefentry><refentrytitle
421
>mandos-clients.conf</refentrytitle><manvolnum
422
>5</manvolnum></citerefentry>.
336
>mandos-client.conf</refentrytitle><manvolnum>5</manvolnum
507
422
<title>EXAMPLE</title>
508
423
<informalexample>
425
List all clients with some of their settings:
513
428
<userinput>&COMMANDNAME;</userinput>
515
430
</informalexample>
519
To list <emphasis>all</emphasis> settings for the clients
520
named <quote>foo1.example.org</quote> and <quote
521
>foo2.example.org</quote>:
525
<!-- do not wrap this line -->
526
<userinput>&COMMANDNAME; --verbose foo1.example.org foo2.example.org</userinput>
533
To enable all clients:
536
<userinput>&COMMANDNAME; --enable --all</userinput>
542
To change timeout and interval value for the clients
543
named <quote>foo1.example.org</quote> and <quote
544
>foo2.example.org</quote>:
548
<!-- do not wrap this line -->
549
<userinput>&COMMANDNAME; --timeout="5m" --interval="1m" foo1.example.org foo2.example.org</userinput>
556
To approve all clients currently waiting for it:
559
<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>
561
442
</informalexample>
573
454
<refsect1 id="see_also">
574
455
<title>SEE ALSO</title>
576
<citerefentry><refentrytitle>intro</refentrytitle>
577
<manvolnum>8mandos</manvolnum></citerefentry>,
578
457
<citerefentry><refentrytitle>mandos</refentrytitle>
579
458
<manvolnum>8</manvolnum></citerefentry>,
580
459
<citerefentry><refentrytitle>mandos-clients.conf</refentrytitle>