askpass-fifo.8mandos

Langue: en

Version: 2009\-01\-04 (ubuntu - 25/10/10)

Section: 8 (Commandes administrateur)

\

NAME

askpass-fifo - Mandos plugin to get a password from a FIFO.

SYNOPSIS

askpass-fifo

DESCRIPTION

This program reads a password from a FIFO and outputs it to standard output.

This program is not very useful on its own. This program is really meant to run as a plugin in the Mandos client-side system, where it is used as a fallback and alternative to retrieving passwords from a Mandos server.

This program is meant to be imitate a feature of the askpass program, so that programs written to interface with it can keep working under the Mandos system.

OPTIONS

This program takes no options.

EXIT STATUS

If exit status is 0, the output from the program is the password as it was read. Otherwise, if exit status is other than 0, the program was interrupted or encountered an error, and any output so far could be corrupt and/or truncated, and should therefore be ignored.

FILES

/lib/cryptsetup/passfifo

This is the FIFO where this program will read the password. If it does not exist, it will be created.

EXAMPLE

Note that normally, this program will not be invoked directly, but instead started by the Mandos plugin-runner(8mandos).

This program takes no options.

askpass-fifo

SECURITY

The only thing that could be considered worthy of note is this: This program is meant to be run by plugin-runner(8mandos), and will, when run standalone, outside, in a normal environment, immediately output on its standard output any presumably secret password it just received. Therefore, when running this program standalone (which should never normally be done), take care not to type in any real secret password by force of habit, since it would then immediately be shown as output.

SEE ALSO

fifo(7), plugin-runner(8mandos)


Copyright © 2008-2009 Teddy Hogeborn, Björn Påhlsson

This manual page is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This manual page is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see m[blue]http://www.gnu.org/licenses/m[].