freebsd-dev/etc/pam.d
Jacques Vidrine a8e0b2e8ab Remove rexecd(8), a server that implements a particularly insecure
method of executing commands remotely.  There are no rexec clients in
the FreeBSD tree, and the client function rexec(3) is present only in
libcompat.  It has been documented as "obsolete" since 4.3BSD, and its
use has been discouraged in the man page for over 10 years.
2005-06-10 20:52:36 +00:00
..
convert.pl Removed whitespace at BOF, EOL & EOF. 2004-06-06 11:46:29 +00:00
ftpd The PAM module pam_krb5 does not have "session" capabilities. 2003-04-30 21:57:54 +00:00
gdm The PAM module pam_krb5 does not have "session" capabilities. 2003-04-30 21:57:54 +00:00
imap Initiate KerberosIV de-orbit burn. Disconnect the /etc configs. 2003-03-08 09:50:11 +00:00
kde The PAM module pam_krb5 does not have "session" capabilities. 2003-04-30 21:57:54 +00:00
login Add a system policy, and have the login and su policies include it rather 2003-06-14 12:35:05 +00:00
Makefile Remove rexecd(8), a server that implements a particularly insecure 2005-06-10 20:52:36 +00:00
other The PAM module pam_krb5 does not have "session" capabilities. 2003-04-30 21:57:54 +00:00
passwd Add nullok to the pam_unix line. 2003-04-24 12:22:42 +00:00
pop3 Initiate KerberosIV de-orbit burn. Disconnect the /etc configs. 2003-03-08 09:50:11 +00:00
README Removed whitespace at BOF, EOL & EOF. 2004-06-06 11:46:29 +00:00
rsh Major cleanup & homogenization. 2003-02-10 00:50:03 +00:00
sshd The PAM module pam_krb5 does not have "session" capabilities. 2003-04-30 21:57:54 +00:00
su Don't do session management in su. 2003-07-09 18:40:49 +00:00
system Add a system policy, and have the login and su policies include it rather 2003-06-14 12:35:05 +00:00
telnetd The PAM module pam_krb5 does not have "session" capabilities. 2003-04-30 21:57:54 +00:00
xdm X logins should be recorded in lastlog / wtmp / utmp. I have no idea why 2005-04-28 07:59:09 +00:00

This directory contains configuration files for the Pluggable
Authentication Modules (PAM) library.

Each file details the module chain for a single service, and must be
named after that service.  If no configuration file is found for a
particular service, the /etc/pam.d/other is used instead.  If that
file does not exist, /etc/pam.conf is searched for entries matching
the specified service or, failing that, the "other" service.

See the pam(8) manual page for an explanation of the workings of the
PAM library and descriptions of the various files and modules.  Below
is a summary of the format for the pam.conf and /etc/pam.d/* files.

Configuration lines take the following form:

module-type	control-flag	module-path	arguments

Comments are introduced with a hash mark ('#').  Blank lines and lines
consisting entirely of comments are ignored.

The meanings of the different fields are as follows:

 module-type:
   auth:      prompt for a password to authenticate that the user is
              who they say they are, and set any credentials.
   account:   non-authentication based authorization, based on time,
              resources, etc.
   session:   housekeeping before and/or after login.
   password:  update authentication tokens.

 control-flag: How libpam handles success or failure of the module.
   required:   success is required; on failure all remaining
               modules are run, but the request will be denied.
   requisite:  success is required, and on failure no remaining
               modules are run.
   sufficient: success is sufficient, and if no previous required
               module failed, no remaining modules are run.
   binding:    success is sufficient; on failure all remaining
               modules are run, but the request will be denied.
   optional:   ignored unless the other modules return PAM_IGNORE.

 arguments: Module-specific options, plus some generic ones:
   debug:           syslog debug info.
   no_warn:         return no warning messages to the application.
                    Remove this to feed back to the user the
                    reason(s) they are being rejected.
   use_first_pass:  try authentication using password from the
                    preceding auth module.
   try_first_pass:  first try authentication using password from
                    the preceding auth module, and if that fails
                    prompt for a new password.
   use_mapped_pass: convert cleartext password to a crypto key.
   expose_account:  allow printing more info about the user when
                    prompting.

Note that having a "sufficient" module as the last entry for a
particular service and module type may result in surprising behaviour.
To get the intended semantics, add a "required" entry listing the
pam_deny module at the end of the chain.

$FreeBSD$