/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-client.xml

  • Committer: Teddy Hogeborn
  • Date: 2008-08-10 00:04:11 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080810000411-jt8mg7yqxtj5uzxn
* mandos (version): New variable.
  (main): New "--version" option.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version='1.0' encoding='UTF-8'?>
 
2
<?xml-stylesheet type="text/xsl"
 
3
        href="http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"?>
 
4
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
 
5
        "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
 
6
<!ENTITY VERSION "1.0">
 
7
<!ENTITY COMMANDNAME "mandos-client">
 
8
]>
 
9
 
 
10
<refentry>
 
11
  <refentryinfo>
 
12
    <title>&COMMANDNAME;</title>
 
13
    <!-- NWalsh's docbook scripts use this to generate the footer: -->
 
14
    <productname>&COMMANDNAME;</productname>
 
15
    <productnumber>&VERSION;</productnumber>
 
16
    <authorgroup>
 
17
      <author>
 
18
        <firstname>Björn</firstname>
 
19
        <surname>Påhlsson</surname>
 
20
        <address>
 
21
          <email>belorn@fukt.bsnet.se</email>
 
22
        </address>
 
23
      </author>
 
24
      <author>
 
25
        <firstname>Teddy</firstname>
 
26
        <surname>Hogeborn</surname>
 
27
        <address>
 
28
          <email>teddy@fukt.bsnet.se</email>
 
29
        </address>
 
30
      </author>
 
31
    </authorgroup>
 
32
    <copyright>
 
33
      <year>2008</year>
 
34
      <holder>Teddy Hogeborn &amp; Björn Påhlsson</holder>
 
35
    </copyright>
 
36
    <legalnotice>
 
37
      <para>
 
38
        This manual page is free software: you can redistribute it
 
39
        and/or modify it under the terms of the GNU General Public
 
40
        License as published by the Free Software Foundation,
 
41
        either version 3 of the License, or (at your option) any
 
42
        later version.
 
43
      </para>
 
44
 
 
45
      <para>
 
46
        This manual page is distributed in the hope that it will
 
47
        be useful, but WITHOUT ANY WARRANTY; without even the
 
48
        implied warranty of MERCHANTABILITY or FITNESS FOR A
 
49
        PARTICULAR PURPOSE.  See the GNU General Public License
 
50
        for more details.
 
51
      </para>
 
52
 
 
53
      <para>
 
54
        You should have received a copy of the GNU General Public
 
55
        License along with this program; If not, see
 
56
        <ulink url="http://www.gnu.org/licenses/"/>.
 
57
      </para>
 
58
    </legalnotice>
 
59
  </refentryinfo>
 
60
 
 
61
  <refmeta>
 
62
    <refentrytitle>&COMMANDNAME;</refentrytitle>
 
63
    <manvolnum>8mandos</manvolnum>
 
64
  </refmeta>
 
65
  
 
66
  <refnamediv>
 
67
    <refname><command>&COMMANDNAME;</command></refname>
 
68
    <refpurpose>
 
69
      get password for encrypted rootdisk
 
70
    </refpurpose>
 
71
  </refnamediv>
 
72
 
 
73
  <refsynopsisdiv>
 
74
    <cmdsynopsis>
 
75
      <command>&COMMANDNAME;</command>
 
76
      <arg choice='opt' rep='repeat'>OPTION</arg>
 
77
    </cmdsynopsis>
 
78
  </refsynopsisdiv>
 
79
 
 
80
  <refsect1 id="description">
 
81
    <title>DESCRIPTION</title>
 
82
    <para>
 
83
      <command>&COMMANDNAME;</command> is a plugin runner that waits
 
84
      for any of its plugins to return sucessfull with a password, and
 
85
      passes it to cryptsetup. plugins is defined as any executables
 
86
      in the plugins directory will by default will be
 
87
      /conf/conf.d/mandos/plugins.d.  to stdout.
 
88
    </para>
 
89
 
 
90
    <variablelist>
 
91
      <varlistentry>
 
92
        <term><literal>-g</literal>,<literal>--global-options
 
93
        <replaceable>OPTIONS</replaceable></literal></term>
 
94
        <listitem>
 
95
          <para>
 
96
            Global options given to all plugins as additional start
 
97
            arguments.  Options are specified with a -o flag followed
 
98
            by a comma separated string of options.
 
99
          </para>         
 
100
        </listitem>
 
101
      </varlistentry>
 
102
 
 
103
      <varlistentry>
 
104
        <term><literal>-o</literal>,<literal> --options-for
 
105
        <replaceable>PLUGIN</replaceable>:<replaceable>OPTION</replaceable>
 
106
        </literal></term>
 
107
        <listitem>
 
108
          <para>
 
109
            Plugin specific options given to the plugin as additional
 
110
            start arguments.  Options are specified with a -o flag
 
111
            followed by a comma separated string of options.
 
112
          </para>         
 
113
        </listitem>
 
114
      </varlistentry>      
 
115
 
 
116
      <varlistentry>
 
117
        <term><literal>-d</literal>,<literal> --disable
 
118
        <replaceable>PLUGIN</replaceable>
 
119
        </literal></term>
 
120
        <listitem>
 
121
          <para>
 
122
            Disable a specific plugin
 
123
          </para>         
 
124
        </listitem>
 
125
      </varlistentry>
 
126
 
 
127
      <varlistentry>
 
128
        <term><literal>--groupid <replaceable>ID</replaceable>
 
129
        </literal></term>
 
130
        <listitem>
 
131
          <para>
 
132
            Group ID the plugins will run as
 
133
          </para>
 
134
        </listitem>
 
135
      </varlistentry>      
 
136
 
 
137
      <varlistentry>
 
138
        <term><literal>--userid <replaceable>ID</replaceable>
 
139
        </literal></term>
 
140
        <listitem>
 
141
          <para>
 
142
            User ID the plugins will run as
 
143
          </para>
 
144
        </listitem>
 
145
      </varlistentry>      
 
146
 
 
147
      <varlistentry>
 
148
        <term><literal>--plugin-dir <replaceable>DIRECTORY</replaceable>
 
149
        </literal></term>
 
150
        <listitem>
 
151
          <para>
 
152
            Specify a different plugin directory
 
153
          </para>
 
154
        </listitem>
 
155
      </varlistentry>       
 
156
      
 
157
      <varlistentry>
 
158
        <term><literal>--debug</literal></term>
 
159
        <listitem>
 
160
          <para>
 
161
            Debug mode
 
162
          </para>
 
163
        </listitem>
 
164
      </varlistentry>
 
165
      
 
166
      <varlistentry>
 
167
        <term><literal>-?</literal>, <literal>--help</literal></term>
 
168
        <listitem>
 
169
          <para>
 
170
            Gives a help message
 
171
          </para>
 
172
        </listitem>
 
173
      </varlistentry>
 
174
      
 
175
      <varlistentry>
 
176
        <term><literal>--usage</literal></term>
 
177
        <listitem>
 
178
          <para>
 
179
            Gives a short usage message
 
180
          </para>
 
181
        </listitem>
 
182
      </varlistentry>
 
183
 
 
184
      <varlistentry>
 
185
        <term><literal>-V</literal>, <literal>--version</literal></term>
 
186
        <listitem>
 
187
          <para>
 
188
            Prints the program version
 
189
          </para>
 
190
        </listitem>
 
191
      </varlistentry>            
 
192
    </variablelist>
 
193
  </refsect1>
 
194
</refentry>