NAME


pam_make - PAM module which calls make

SYNOPSIS


pam_make.so [debug] [nosetuid] [make=prog] [log=file] /path/ [...]

DESCRIPTION


pam_make is a PAM module that can be used to run make in a given directory.

OPTIONS


debug

Print debug information.

log=file

The output of make is appended to file

nosetuid

Per default pam_make.so will execute make with the effective user ID of the calling process. Specifying this option means make is run with the real user ID.

make=prog

The command prog is used instead of make.

MODULE SERVICES PROVIDED


The services auth, account, password and session are supported.

RETURN VALUES


PAM_SUCCESS

The make command runs successfull.

PAM_SERVICE_ERR

No argument or a wrong number of arguments were given.

PAM_SYSTEM_ERR

A system error occured or the make command failed.

PAM_IGNORE

pam_setcred was called, which does not execute the make command.

EXAMPLES


Add the following line to /etc/pam.d/passwd to rebuild the NIS database after each local password change:

passwd optional pam_make.so /var/yp

This will execute the command:

make -C /var/yp

HISTORY


The first implementation of pam_make was written by Mihai Ibanescu <misa@dntis.ro>.

SEE ALSO


pam.conf(5), pam.d(8), pam(8)

AUTHOR


pam_make was written by Thorsten Kukuk <kukuk@thkukuk.de>.

openSUSE Logo

Contents