/mandos/trunk

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

« back to all changes in this revision

Viewing changes to mandos-ctl.xml

  • Committer: Teddy Hogeborn
  • Date: 2010-09-25 19:55:17 UTC
  • Revision ID: teddy@fukt.bsnet.se-20100925195517-u0qfi01huxl72f75
* mandos (Client.runtime_expansions): New attribute containing the
                                      allowed runtime expansions.

* mandos-clients.conf.xml (OPTIONS): Reordered alphabetically.

* mandos-ctl: Bug fix: print timeout and interval values pretty again.

* mandos-ctl.xml (EXAMPLE): Added more examples.

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 "2010-09-25">
6
6
<!ENTITY % common SYSTEM "common.ent">
7
7
%common;
8
8
]>
422
422
    <title>EXAMPLE</title>
423
423
    <informalexample>
424
424
      <para>
425
 
        List all clients with some of their settings:
 
425
        To list all clients:
426
426
      </para>
427
427
      <para>
428
428
        <userinput>&COMMANDNAME;</userinput>
429
429
      </para>
430
430
    </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>
 
431
    
 
432
    <informalexample>
 
433
      <para>
 
434
        To list <emphasis>all</emphasis> settings for the clients
 
435
        named <quote>foo1.example.org</quote> and <quote
 
436
        >foo2.example.org</quote>:
 
437
      </para>
 
438
      <para>
 
439
 
 
440
<!-- do not wrap this line -->
 
441
<userinput>&COMMANDNAME; --verbose foo1.example.org foo2.example.org</userinput>
 
442
 
 
443
      </para>
 
444
    </informalexample>
 
445
    
 
446
    <informalexample>
 
447
      <para>
 
448
        To enable all clients:
 
449
      </para>
 
450
      <para>
 
451
        <userinput>&COMMANDNAME; --enable --all</userinput>
 
452
      </para>
 
453
    </informalexample>
 
454
    
 
455
    <informalexample>
 
456
      <para>
 
457
        To change timeout and interval value for the clients
 
458
        named <quote>foo1.example.org</quote> and <quote
 
459
        >foo2.example.org</quote>:
 
460
      </para>
 
461
      <para>
 
462
 
 
463
<!-- do not wrap this line -->
 
464
<userinput>&COMMANDNAME; --timeout="5m" --interval="1m" foo1.example.org foo2.example.org</userinput>
 
465
 
 
466
      </para>
 
467
    </informalexample>
 
468
    
 
469
    <informalexample>
 
470
      <para>
 
471
        To approve all clients currently waiting for it:
 
472
      </para>
 
473
      <para>
 
474
 
 
475
<!-- do not wrap this line -->
 
476
<userinput>&COMMANDNAME; --approve --all</userinput>
440
477
 
441
478
      </para>
442
479
    </informalexample>