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

  • Committer: Teddy Hogeborn
  • Date: 2008-09-05 23:39:07 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080905233907-3rz7kuwyjwma0pjx
* Makefile (confdir/clients.conf): Tighten permissions to "u=rw".
  (install-server): Set mode of "/etc/mandos/clients.conf" to
                             "u=rw".
  (install-client): Set mode of "/etc/mandos/plugins.d" to "u=rwx".
  (uninstall-client): Also remove "/usr/lib/mandos/plugins.d/usplash",
                "/usr/share/initramfs-tools/scripts/local-top/mandos",
                      and "/etc/keys/mandos".
  (purge-server): Also remove "/var/run/mandos.pid".

* initramfs-tools-hook: Use "install" instead of "mkdir".  Change
                        owner of "/lib/mandos/plugins.d" and key
                        files.  Bug fix: do not repair permissions of
                        "/lib/mandos/plugins.d".  Bug fix: Really
                        avoid deliberately unreadable files and/or
                        directories.

* mandos-keygen (umask): Changed to "077".

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?xml version="1.0" encoding="UTF-8"?>
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
<!ENTITY VERSION "1.0">
4
5
<!ENTITY COMMANDNAME "mandos">
5
 
<!ENTITY TIMESTAMP "2009-01-04">
6
 
<!ENTITY % common SYSTEM "common.ent">
7
 
%common;
 
6
<!ENTITY TIMESTAMP "2008-09-05">
8
7
]>
9
8
 
10
9
<refentry xmlns:xi="http://www.w3.org/2001/XInclude">
11
 
   <refentryinfo>
 
10
  <refentryinfo>
12
11
    <title>Mandos Manual</title>
13
12
    <!-- NWalsh’s docbook scripts use this to generate the footer: -->
14
13
    <productname>Mandos</productname>
15
 
    <productnumber>&version;</productnumber>
 
14
    <productnumber>&VERSION;</productnumber>
16
15
    <date>&TIMESTAMP;</date>
17
16
    <authorgroup>
18
17
      <author>
32
31
    </authorgroup>
33
32
    <copyright>
34
33
      <year>2008</year>
35
 
      <year>2009</year>
36
34
      <holder>Teddy Hogeborn</holder>
37
35
      <holder>Björn Påhlsson</holder>
38
36
    </copyright>
39
37
    <xi:include href="legalnotice.xml"/>
40
38
  </refentryinfo>
41
 
  
 
39
 
42
40
  <refmeta>
43
41
    <refentrytitle>&COMMANDNAME;</refentrytitle>
44
42
    <manvolnum>8</manvolnum>
50
48
      Gives encrypted passwords to authenticated Mandos clients
51
49
    </refpurpose>
52
50
  </refnamediv>
53
 
  
 
51
 
54
52
  <refsynopsisdiv>
55
53
    <cmdsynopsis>
56
54
      <command>&COMMANDNAME;</command>
85
83
      <replaceable>DIRECTORY</replaceable></option></arg>
86
84
      <sbr/>
87
85
      <arg><option>--debug</option></arg>
88
 
      <sbr/>
89
 
      <arg><option>--no-dbus</option></arg>
90
86
    </cmdsynopsis>
91
87
    <cmdsynopsis>
92
88
      <command>&COMMANDNAME;</command>
104
100
      <arg choice="plain"><option>--check</option></arg>
105
101
    </cmdsynopsis>
106
102
  </refsynopsisdiv>
107
 
  
 
103
 
108
104
  <refsect1 id="description">
109
105
    <title>DESCRIPTION</title>
110
106
    <para>
190
186
          <xi:include href="mandos-options.xml" xpointer="debug"/>
191
187
        </listitem>
192
188
      </varlistentry>
193
 
      
 
189
 
194
190
      <varlistentry>
195
191
        <term><option>--priority <replaceable>
196
192
        PRIORITY</replaceable></option></term>
198
194
          <xi:include href="mandos-options.xml" xpointer="priority"/>
199
195
        </listitem>
200
196
      </varlistentry>
201
 
      
 
197
 
202
198
      <varlistentry>
203
199
        <term><option>--servicename
204
200
        <replaceable>NAME</replaceable></option></term>
207
203
                      xpointer="servicename"/>
208
204
        </listitem>
209
205
      </varlistentry>
210
 
      
 
206
 
211
207
      <varlistentry>
212
208
        <term><option>--configdir
213
209
        <replaceable>DIRECTORY</replaceable></option></term>
222
218
          </para>
223
219
        </listitem>
224
220
      </varlistentry>
225
 
      
 
221
 
226
222
      <varlistentry>
227
223
        <term><option>--version</option></term>
228
224
        <listitem>
231
227
          </para>
232
228
        </listitem>
233
229
      </varlistentry>
234
 
      
235
 
      <varlistentry>
236
 
        <term><option>--no-dbus</option></term>
237
 
        <listitem>
238
 
          <xi:include href="mandos-options.xml" xpointer="dbus"/>
239
 
          <para>
240
 
            See also <xref linkend="dbus_interface"/>.
241
 
          </para>
242
 
        </listitem>
243
 
      </varlistentry>
244
230
    </variablelist>
245
231
  </refsect1>
246
 
  
 
232
 
247
233
  <refsect1 id="overview">
248
234
    <title>OVERVIEW</title>
249
235
    <xi:include href="overview.xml"/>
253
239
      <acronym>RAM</acronym> disk environment.
254
240
    </para>
255
241
  </refsect1>
256
 
  
 
242
 
257
243
  <refsect1 id="protocol">
258
244
    <title>NETWORK PROTOCOL</title>
259
245
    <para>
311
297
      </row>
312
298
    </tbody></tgroup></table>
313
299
  </refsect1>
314
 
  
 
300
 
315
301
  <refsect1 id="checking">
316
302
    <title>CHECKING</title>
317
303
    <para>
325
311
      <manvolnum>5</manvolnum></citerefentry>.
326
312
    </para>
327
313
  </refsect1>
328
 
  
 
314
 
329
315
  <refsect1 id="logging">
330
316
    <title>LOGGING</title>
331
317
    <para>
335
321
      and also show them on the console.
336
322
    </para>
337
323
  </refsect1>
338
 
  
339
 
  <refsect1 id="dbus_interface">
340
 
    <title>D-BUS INTERFACE</title>
341
 
    <para>
342
 
      The server will by default provide a D-Bus system bus interface.
343
 
      This interface will only be accessible by the root user or a
344
 
      Mandos-specific user, if such a user exists.
345
 
      <!-- XXX -->
346
 
    </para>
347
 
  </refsect1>
348
324
 
349
325
  <refsect1 id="exit_status">
350
326
    <title>EXIT STATUS</title>
353
329
      critical error is encountered.
354
330
    </para>
355
331
  </refsect1>
356
 
  
 
332
 
357
333
  <refsect1 id="environment">
358
334
    <title>ENVIRONMENT</title>
359
335
    <variablelist>
373
349
      </varlistentry>
374
350
    </variablelist>
375
351
  </refsect1>
376
 
  
377
 
  <refsect1 id="files">
 
352
 
 
353
  <refsect1 id="file">
378
354
    <title>FILES</title>
379
355
    <para>
380
356
      Use the <option>--configdir</option> option to change where
444
420
      Currently, if a client is declared <quote>invalid</quote> due to
445
421
      having timed out, the server does not record this fact onto
446
422
      permanent storage.  This has some security implications, see
447
 
      <xref linkend="clients"/>.
 
423
      <xref linkend="CLIENTS"/>.
448
424
    </para>
449
425
    <para>
450
426
      There is currently no way of querying the server of the current
503
479
      </para>
504
480
    </informalexample>
505
481
  </refsect1>
506
 
  
 
482
 
507
483
  <refsect1 id="security">
508
484
    <title>SECURITY</title>
509
 
    <refsect2 id="server">
 
485
    <refsect2 id="SERVER">
510
486
      <title>SERVER</title>
511
487
      <para>
512
488
        Running this <command>&COMMANDNAME;</command> server program
515
491
        soon after startup.
516
492
      </para>
517
493
    </refsect2>
518
 
    <refsect2 id="clients">
 
494
    <refsect2 id="CLIENTS">
519
495
      <title>CLIENTS</title>
520
496
      <para>
521
497
        The server only gives out its stored data to clients which
528
504
        <citerefentry><refentrytitle>mandos-clients.conf</refentrytitle>
529
505
        <manvolnum>5</manvolnum></citerefentry>)
530
506
        <emphasis>must</emphasis> be made non-readable by anyone
531
 
        except the user starting the server (usually root).
 
507
        except the user running the server.
532
508
      </para>
533
509
      <para>
534
510
        As detailed in <xref linkend="checking"/>, the status of all
553
529
      </para>
554
530
      <para>
555
531
        For more details on client-side security, see
556
 
        <citerefentry><refentrytitle>mandos-client</refentrytitle>
 
532
        <citerefentry><refentrytitle>password-request</refentrytitle>
557
533
        <manvolnum>8mandos</manvolnum></citerefentry>.
558
534
      </para>
559
535
    </refsect2>
560
536
  </refsect1>
561
 
  
 
537
 
562
538
  <refsect1 id="see_also">
563
539
    <title>SEE ALSO</title>
564
540
    <para>
567
543
        <manvolnum>5</manvolnum></citerefentry>, <citerefentry>
568
544
        <refentrytitle>mandos.conf</refentrytitle>
569
545
        <manvolnum>5</manvolnum></citerefentry>, <citerefentry>
570
 
        <refentrytitle>mandos-client</refentrytitle>
 
546
        <refentrytitle>password-request</refentrytitle>
571
547
        <manvolnum>8mandos</manvolnum></citerefentry>, <citerefentry>
572
548
        <refentrytitle>sh</refentrytitle><manvolnum>1</manvolnum>
573
549
      </citerefentry>