1
<?xml version="1.0" encoding="UTF-8"?>
2
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4
<!ENTITY COMMANDNAME "askpass-fifo">
5
<!ENTITY TIMESTAMP "2009-01-04">
6
<!ENTITY % common SYSTEM "../common.ent">
10
<refentry xmlns:xi="http://www.w3.org/2001/XInclude">
12
<title>Mandos Manual</title>
13
<!-- NWalsh’s docbook scripts use this to generate the footer: -->
14
<productname>Mandos</productname>
15
<productnumber>&version;</productnumber>
16
<date>&TIMESTAMP;</date>
19
<firstname>Björn</firstname>
20
<surname>Påhlsson</surname>
22
<email>belorn@fukt.bsnet.se</email>
26
<firstname>Teddy</firstname>
27
<surname>Hogeborn</surname>
29
<email>teddy@fukt.bsnet.se</email>
36
<holder>Teddy Hogeborn</holder>
37
<holder>Björn Påhlsson</holder>
39
<xi:include href="../legalnotice.xml"/>
43
<refentrytitle>&COMMANDNAME;</refentrytitle>
44
<manvolnum>8mandos</manvolnum>
48
<refname><command>&COMMANDNAME;</command></refname>
49
<refpurpose>Mandos plugin to get a password from a
55
<command>&COMMANDNAME;</command>
59
<refsect1 id="description">
60
<title>DESCRIPTION</title>
62
This program reads a password from a <acronym>FIFO</acronym> and
63
outputs it to standard output.
66
This program is not very useful on its own. This program is
67
really meant to run as a plugin in the <application
68
>Mandos</application> client-side system, where it is used as a
69
fallback and alternative to retrieving passwords from a
70
<application >Mandos</application> server.
73
This program is meant to be imitate a feature of the
74
<command>askpass</command> program, so that programs written to
75
interface with it can keep working under the
76
<application>Mandos</application> system.
80
<refsect1 id="options">
81
<title>OPTIONS</title>
83
This program takes no options.
87
<refsect1 id="exit_status">
88
<title>EXIT STATUS</title>
90
If exit status is 0, the output from the program is the password
91
as it was read. Otherwise, if exit status is other than 0, the
92
program was interrupted or encountered an error, and any output
93
so far could be corrupt and/or truncated, and should therefore
102
<term><filename>/lib/cryptsetup/passfifo</filename></term>
105
This is the <acronym>FIFO</acronym> where this program
106
will read the password. If it does not exist, it will be
114
<refsect1 id="example">
115
<title>EXAMPLE</title>
117
Note that normally, this program will not be invoked directly,
118
but instead started by the Mandos <citerefentry><refentrytitle
119
>plugin-runner</refentrytitle><manvolnum>8mandos</manvolnum>
124
This program takes no options.
127
<userinput>&COMMANDNAME;</userinput>
132
<refsect1 id="security">
133
<title>SECURITY</title>
135
The only thing that could be considered worthy of note is
136
this: This program is meant to be run by <citerefentry>
137
<refentrytitle>plugin-runner</refentrytitle><manvolnum
138
>8mandos</manvolnum></citerefentry>, and will, when run
139
standalone, outside, in a normal environment, immediately output
140
on its standard output any presumably secret password it just
141
received. Therefore, when running this program standalone
142
(which should never normally be done), take care not to type in
143
any real secret password by force of habit, since it would then
144
immediately be shown as output.
148
<refsect1 id="see_also">
149
<title>SEE ALSO</title>
151
<citerefentry><refentrytitle>fifo</refentrytitle>
152
<manvolnum>7</manvolnum></citerefentry>,
153
<citerefentry><refentrytitle>plugin-runner</refentrytitle>
154
<manvolnum>8mandos</manvolnum></citerefentry>
158
<!-- Local Variables: -->
159
<!-- time-stamp-start: "<!ENTITY TIMESTAMP [\"']" -->
160
<!-- time-stamp-end: "[\"']>" -->
161
<!-- time-stamp-format: "%:y-%02m-%02d" -->