pam_echo

Updated: April 19, 2023

Displays a message

Syntax:

facility control_flag pam_echo.so [file=/path/message]

Options:

file
Contains the information to print.

You can use the following escape sequences in a pam_echo message:

%H
The remote host.
%h
The local host.
%s
The current service.
%t
The controlling terminal.
%U
The remote user.
%u
The username of the target account.

Description:

Use the pam_echo module to display a message from a text file, using the PAM conversion function.

Note: The PAM module syntax does not stand alone and is contained within the context of the PAM configuration command. See the System Security Guide for more information about system authentication, configuring PAM, facilities, control flags, examples, and how QNX Neutrino uses the OpenPAM framework.

Service category:

This module belongs to all of the PAM service categories:

Exit status:

Returns success if the message prints. Returns failure if the message does not print (for example, if the silent flag is set or if there is no message file to print from).

Returns a buffer error in the case of a memory buffer error.