History log of /freebsd-10.1-release/lib/libpam/modules/pam_login_access/pam_login_access.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 272461 02-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 272351 01-Oct-2014 des

MFH (r272280, r272281, r272348): allow use with null user and rhost

PR: 83099 193927
Approved by: re (kib)


# 271766 18-Sep-2014 des

MFH (r271256, r271617): avoid segfault if PAM_RHOST nor PAM_TTY are unset.

Approved by: re (gjb)
PR: 83099


# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 125650 10-Feb-2004 des

Fix numerous constness and aliasing issues.


# 123448 11-Dec-2003 des

Fix strict aliasing breakage in PAM modules (except pam_krb5, which needs
more work than the others). This should make most modules build with -O2.


# 114264 29-Apr-2003 des

Treat an empty PAM_RHOST the same as a NULL one.

PR: bin/51508


# 94564 12-Apr-2002 des

Major cleanup:

- add __unused where appropriate
- PAM_RETURN -> return since OpenPAM already logs the return value.
- make PAM_LOG use openpam_log()
- make PAM_VERBOSE_ERROR use openpam_get_option() and check flags
for PAM_SILENT
- remove dummy functions since OpenPAM handles missing service
functions
- fix various warnings

Sponsored by: DARPA, NAI Labs


# 92297 14-Mar-2002 des

NAI DBA update.


# 90229 05-Feb-2002 des

#include cleanup.

Sponsored by: DARPA, NAI Labs


# 90145 03-Feb-2002 markm

WARNS=n fixes (and some stylistic issues).


# 89760 24-Jan-2002 markm

WARNS=4 fixes. Protect with NO_WERROR for the modules that have
warnings that are hard to fix or that I've been asked to leave alone.


# 89744 24-Jan-2002 des

Correctly interpret PAM_RHOST being unset as an indicator of a local
login.


# 89727 24-Jan-2002 des

Fix some pastos. Rather shoddy of me...

Sponsored by: DARPA, NAI Labs


# 89707 23-Jan-2002 des

Add a PAM module that provides an account management component for checking
either PAM_RHOST or PAM_TTY against /etc/login.access.o

This uncovers a problem with PAM_RHOST, in that if we always set it, there
is no way to distinguish between a user logging in locally and a user
logging in using 'ssh localhost'. This will be fixed by first making sure
that all PAM modules can handle PAM_RHOST being unset (which is currently
not the case), and then modifying su(1) and login(1) to not set it for
local logins.

Sponsored by: DARPA, NAI Labs