/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 plugin-runner.xml

  • Committer: Teddy Hogeborn
  • Date: 2008-09-04 14:12:10 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080904141210-ig3or8uiz3cpxatj
* plugins.d/password-request.xml (EXAMPLE): Improved wording.

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
  <refnamediv>
46
46
    <refname><command>&COMMANDNAME;</command></refname>
47
47
    <refpurpose>
48
 
      Run Mandos plugins.  Pass data from first succesful one.
 
48
      Run Mandos plugins, pass data from first to succeed.
49
49
    </refpurpose>
50
50
  </refnamediv>
51
51
 
272
272
            Re-enable the plugin named
273
273
            <replaceable>PLUGIN</replaceable>.  This is only useful to
274
274
            undo a previous <option>--disable</option> option, maybe
275
 
            from the config file.
 
275
            from the configuration file.
276
276
          </para>
277
277
        </listitem>
278
278
      </varlistentry>
467
467
      only passes on its environment to all the plugins.  The
468
468
      environment passed to plugins can be modified using the
469
469
      <option>--global-env</option> and <option>--env-for</option>
470
 
      optins.
 
470
      options.
471
471
    </para>
472
472
  </refsect1>
473
473
  
510
510
    </para>
511
511
  </refsect1>
512
512
  
513
 
<!--   <refsect1 id="bugs"> -->
514
 
<!--     <title>BUGS</title> -->
515
 
<!--     <para> -->
516
 
<!--     </para> -->
517
 
<!--   </refsect1> -->
 
513
  <refsect1 id="bugs">
 
514
    <title>BUGS</title>
 
515
    <para>
 
516
      The <option>--config-file</option> option is ignored when
 
517
      specified from within a configuration file.
 
518
    </para>
 
519
  </refsect1>
518
520
  
519
521
  <refsect1 id="examples">
520
522
    <title>EXAMPLE</title>
562
564
    </informalexample>
563
565
    <informalexample>
564
566
      <para>
565
 
        Run plugins from a different directory and add a special
566
 
        option to the <citerefentry><refentrytitle
 
567
        Run plugins from a different directory and add two
 
568
        options to the <citerefentry><refentrytitle
567
569
        >password-request</refentrytitle>
568
570
        <manvolnum>8mandos</manvolnum></citerefentry> plugin:
569
571
      </para>
570
572
      <para>
571
573
 
572
574
<!-- do not wrap this line -->
573
 
<userinput>&COMMANDNAME;  --plugin-dir=plugins.d --options-for=password-request:--keydir=keydir</userinput>
 
575
<userinput>&COMMANDNAME;  --plugin-dir=plugins.d --options-for=password-request:--pubkey=keydir/pubkey.txt,--seckey=keydir/seckey.txt</userinput>
574
576
 
575
577
      </para>
576
578
    </informalexample>
591
593
    <para>
592
594
      If this program is used as a keyscript in <citerefentry
593
595
      ><refentrytitle>crypttab</refentrytitle><manvolnum>5</manvolnum>
594
 
      </citerefentry>, there is a risk that if this program fails to
595
 
      work, there might be no way to boot the system except for
596
 
      booting from another media and editing the initial RAM disk
 
596
      </citerefentry>, there is a slight risk that if this program
 
597
      fails to work, there might be no way to boot the system except
 
598
      for booting from another media and editing the initial RAM disk
597
599
      image to not run this program.  This is, however, unlikely,
598
600
      since the <citerefentry><refentrytitle
599
601
      >password-prompt</refentrytitle><manvolnum>8mandos</manvolnum>