/mandos/release

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/release

« back to all changes in this revision

Viewing changes to mandos-ctl.xml

* mandos-keygen: Loop until passwords match when run interactively.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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">
7
7
%common;
8
8
]>
32
32
    </authorgroup>
33
33
    <copyright>
34
34
      <year>2010</year>
 
35
      <year>2011</year>
35
36
      <holder>Teddy Hogeborn</holder>
36
37
      <holder>Björn Påhlsson</holder>
37
38
    </copyright>
101
102
      </group>
102
103
      <sbr/>
103
104
      <group>
 
105
        <arg choice="plain"><option>--approve-by-default</option
 
106
        ></arg>
 
107
        <sbr/>
 
108
        <arg choice="plain"><option>--deny-by-default</option></arg>
 
109
      </group>
 
110
      <sbr/>
 
111
      <group>
 
112
        <arg choice="plain"><option>--approval-delay
 
113
        <replaceable>TIME</replaceable></option></arg>
 
114
      </group>
 
115
      <sbr/>
 
116
      <group>
 
117
        <arg choice="plain"><option>--approval-duration
 
118
        <replaceable>TIME</replaceable></option></arg>
 
119
      </group>
 
120
      <sbr/>
 
121
      <group>
 
122
        <arg choice="plain"><option>--interval
 
123
        <replaceable>TIME</replaceable></option></arg>
 
124
        <arg choice="plain"><option>-i
 
125
        <replaceable>TIME</replaceable></option></arg>
 
126
      </group>
 
127
      <sbr/>
 
128
      <group>
104
129
        <arg choice="plain"><option>--host
105
130
        <replaceable>STRING</replaceable></option></arg>
106
131
        <arg choice="plain"><option>-H
273
298
          <para>
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
277
 
            ></citerefentry>.
 
301
            >mandos-clients.conf</refentrytitle><manvolnum
 
302
            >5</manvolnum></citerefentry>.
278
303
          </para>
279
304
        </listitem>
280
305
      </varlistentry>
288
313
          <para>
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
292
 
            ></citerefentry>.
 
316
            >mandos-clients.conf</refentrytitle><manvolnum
 
317
            >5</manvolnum></citerefentry>.
293
318
          </para>
294
319
        </listitem>
295
320
      </varlistentry>
301
326
        <replaceable>TIME</replaceable></option></term>
302
327
        <listitem>
303
328
          <para>
304
 
            Set the <varname>interval</varname> option of the specified
305
 
            client(s); see <citerefentry><refentrytitle
306
 
            >mandos-client.conf</refentrytitle><manvolnum>5</manvolnum
307
 
            ></citerefentry>.
 
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>.
 
333
          </para>
 
334
        </listitem>
 
335
      </varlistentry>
 
336
      
 
337
      <varlistentry>
 
338
        <term><option>--approve-by-default</option></term>
 
339
        <term><option>--deny-by-default</option></term>
 
340
        <listitem>
 
341
          <para>
 
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>.
 
348
          </para>
 
349
        </listitem>
 
350
      </varlistentry>
 
351
      
 
352
      <varlistentry>
 
353
        <term><option>--approval-delay
 
354
        <replaceable>TIME</replaceable></option></term>
 
355
        <listitem>
 
356
          <para>
 
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>.
 
361
          </para>
 
362
        </listitem>
 
363
      </varlistentry>
 
364
      
 
365
      <varlistentry>
 
366
        <term><option>--approval-duration
 
367
        <replaceable>TIME</replaceable></option></term>
 
368
        <listitem>
 
369
          <para>
 
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>.
308
374
          </para>
309
375
        </listitem>
310
376
      </varlistentry>
318
384
          <para>
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
322
 
            ></citerefentry>.
 
387
            >mandos-clients.conf</refentrytitle><manvolnum
 
388
            >5</manvolnum></citerefentry>.
323
389
          </para>
324
390
        </listitem>
325
391
      </varlistentry>
333
399
          <para>
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
337
 
            ></citerefentry>.
 
402
            >mandos-clients.conf</refentrytitle><manvolnum
 
403
            >5</manvolnum></citerefentry>.
338
404
          </para>
339
405
        </listitem>
340
406
      </varlistentry>
422
488
    <title>EXAMPLE</title>
423
489
    <informalexample>
424
490
      <para>
425
 
        List all clients with some of their settings:
 
491
        To list all clients:
426
492
      </para>
427
493
      <para>
428
494
        <userinput>&COMMANDNAME;</userinput>
429
495
      </para>
430
496
    </informalexample>
431
 
    <informalexample>
432
 
      <para>
433
 
        Show all settings for the clients named <quote>foo</quote> and
434
 
        <quote>bar</quote>:
435
 
      </para>
436
 
      <para>
437
 
 
438
 
<!-- do not wrap this line -->
439
 
<userinput>&COMMANDNAME; --verbose foo bar</userinput>
440
 
 
 
497
    
 
498
    <informalexample>
 
499
      <para>
 
500
        To list <emphasis>all</emphasis> settings for the clients
 
501
        named <quote>foo1.example.org</quote> and <quote
 
502
        >foo2.example.org</quote>:
 
503
      </para>
 
504
      <para>
 
505
 
 
506
<!-- do not wrap this line -->
 
507
<userinput>&COMMANDNAME; --verbose foo1.example.org foo2.example.org</userinput>
 
508
 
 
509
      </para>
 
510
    </informalexample>
 
511
    
 
512
    <informalexample>
 
513
      <para>
 
514
        To enable all clients:
 
515
      </para>
 
516
      <para>
 
517
        <userinput>&COMMANDNAME; --enable --all</userinput>
 
518
      </para>
 
519
    </informalexample>
 
520
    
 
521
    <informalexample>
 
522
      <para>
 
523
        To change timeout and interval value for the clients
 
524
        named <quote>foo1.example.org</quote> and <quote
 
525
        >foo2.example.org</quote>:
 
526
      </para>
 
527
      <para>
 
528
 
 
529
<!-- do not wrap this line -->
 
530
<userinput>&COMMANDNAME; --timeout="5m" --interval="1m" foo1.example.org foo2.example.org</userinput>
 
531
 
 
532
      </para>
 
533
    </informalexample>
 
534
    
 
535
    <informalexample>
 
536
      <para>
 
537
        To approve all clients currently waiting for it:
 
538
      </para>
 
539
      <para>
 
540
        <userinput>&COMMANDNAME; --approve --all</userinput>
441
541
      </para>
442
542
    </informalexample>
443
543
  </refsect1>
454
554
  <refsect1 id="see_also">
455
555
    <title>SEE ALSO</title>
456
556
    <para>
 
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>