1.\" Copyright (c) 2001,2003 Networks Associates Technology, Inc. 2.\" All rights reserved. 3.\" 4.\" Portions of this software were developed for the FreeBSD Project by 5.\" ThinkSec AS and NAI Labs, the Security Research Division of Network 6.\" Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035 7.\" ("CBOSS"), as part of the DARPA CHATS research program. 8.\" 9.\" Redistribution and use in source and binary forms, with or without 10.\" modification, are permitted provided that the following conditions 11.\" are met: 12.\" 1. Redistributions of source code must retain the above copyright 13.\" notice, this list of conditions and the following disclaimer. 14.\" 2. Redistributions in binary form must reproduce the above copyright 15.\" notice, this list of conditions and the following disclaimer in the 16.\" documentation and/or other materials provided with the distribution. 17.\" 3. The name of the author may not be used to endorse or promote 18.\" products derived from this software without specific prior written 19.\" permission. 20.\" 21.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 22.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 23.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 24.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 25.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31.\" SUCH DAMAGE. 32.\" 33.\" $FreeBSD$ 34.\" 35.Dd February 1, 2005 36.Dt PAM_EXEC 8 37.Os 38.Sh NAME 39.Nm pam_exec 40.Nd Exec PAM module 41.Sh SYNOPSIS 42.Op Ar service-name 43.Ar module-type 44.Ar control-flag 45.Pa pam_exec 46.Op Ar arguments 47.Sh DESCRIPTION 48The exec service module for PAM executes the program designated by its 49first argument, with its remaining arguments as command-line 50arguments. 51The child's environment is set to the current PAM environment list, 52as returned by 53.Xr pam_getenvlist 3 . 54In addition, the following PAM items are exported as environment 55variables: 56.Ev PAM_RHOST , 57.Ev PAM_RUSER , 58.Ev PAM_SERVICE , 59.Ev PAM_TTY , 60and 61.Ev PAM_USER . 62.Sh SEE ALSO 63.Xr pam_get_item 3 , 64.Xr pam.conf 5 , 65.Xr pam 8 66.Sh AUTHORS 67The 68.Nm 69module and this manual page were developed for the 70.Fx 71Project by 72ThinkSec AS and NAI Labs, the Security Research Division of Network 73Associates, Inc.\& under DARPA/SPAWAR contract N66001-01-C-8035 74.Pq Dq CBOSS , 75as part of the DARPA CHATS research program. 76