/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 plugins.d/password-prompt.xml

  • Committer: Teddy Hogeborn
  • Date: 2008-09-01 16:53:17 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080901165317-77dccp81zyqimt2j
* plugin-runner.c (add_environment): Override existing environment
                                     variables when asked to do so.
                                     All callers changed.
  (main): Removed old argp.args_doc string.  Parse argument file
          before normal command line arguments.  Use ARGP_IN_ORDER
          flag in both calls to argp_parse.  Do not strdup() strings
          to be sent to add_environment().

* plugin-runner.xml (OPTIONS): Document "--global-env" and "--envs-for".
  (FILES): Note that the config file is parsed before the command line
           options.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
        "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4
4
<!ENTITY VERSION "1.0">
5
5
<!ENTITY COMMANDNAME "password-prompt">
6
 
<!ENTITY TIMESTAMP "2008-09-06">
 
6
<!ENTITY TIMESTAMP "2008-09-01">
7
7
]>
8
8
 
9
9
<refentry xmlns:xi="http://www.w3.org/2001/XInclude">
87
87
      is not very useful on its own.  This program is really meant to
88
88
      run as a plugin in the <application>Mandos</application>
89
89
      client-side system, where it is used as a fallback and
90
 
      alternative to retrieving passwords from a <application
 
90
      alternative to retriving passwords from a <application
91
91
      >Mandos</application> server.
92
92
    </para>
93
93
    <para>
240
240
      <para>
241
241
        Show a prefix before the prompt; in this case, a host name.
242
242
        It might be useful to be reminded of which host needs a
243
 
        password, in case of <acronym>KVM</acronym> switches, etc.
 
243
        password, in case of KVM switches, etc.
244
244
      </para>
245
245
      <para>
246
246
 
270
270
      >plugin-runner</refentrytitle><manvolnum>8mandos</manvolnum>
271
271
      </citerefentry>, and will, when run standalone, outside, in a
272
272
      normal environment, immediately output on its standard output
273
 
      any presumably secret password it just received.  Therefore,
 
273
      any presumably secret password it just recieved.  Therefore,
274
274
      when running this program standalone (which should never
275
275
      normally be done), take care not to type in any real secret
276
276
      password by force of habit, since it would then immediately be
290
290
    <para>
291
291
      <citerefentry><refentrytitle>crypttab</refentrytitle>
292
292
      <manvolnum>5</manvolnum></citerefentry>
293
 
      <citerefentry><refentrytitle>mandos-client</refentrytitle>
 
293
      <citerefentry><refentrytitle>password-request</refentrytitle>
294
294
      <manvolnum>8mandos</manvolnum></citerefentry>
295
295
      <citerefentry><refentrytitle>plugin-runner</refentrytitle>
296
296
      <manvolnum>8mandos</manvolnum></citerefentry>,