]> granicus.if.org Git - linux-pam/log
linux-pam
12 years agoFix matching of usernames in the pam_unix remember feature.
Tomas Mraz [Tue, 3 Jan 2012 11:30:43 +0000 (12:30 +0100)]
Fix matching of usernames in the pam_unix remember feature.

* modules/pam_unix/pam_unix_passwd.c (check_old_password): Make
sure we match only the whole username in opasswd entry.
* modules/pam_unix/passverify.c (save_old_password): Likewise make
sure we match only the whole username in opasswd entry.

12 years agopam_selinux.8.xml: update
Dmitry V. Levin [Tue, 19 Oct 2010 23:34:52 +0000 (23:34 +0000)]
pam_selinux.8.xml: update

* modules/pam_selinux/pam_selinux.8.xml (pam_selinux-cmdsynopsis):
Reorder options, add new "restore" option.
pam_selinux-description): Rewrite.
(pam_selinux-options): Reorder options, describe new "restore" option.
(pam_selinux-return_values): Remove PAM_AUTH_ERR, PAM_SESSION_ERR
and PAM_BUF_ERR.
(pam_selinux-see_also): Remove pam.conf(5).  Add execve(2), tty(4)
and selinux(8).

12 years agopam_selinux.c: add "restore" option
Dmitry V. Levin [Tue, 19 Oct 2010 23:34:52 +0000 (23:34 +0000)]
pam_selinux.c: add "restore" option

* modules/pam_selinux/pam_selinux.c (pam_sm_open_session): Add new
"restore" option.

12 years agopam_selinux.c: rewrite using pam_get_data/pam_set_data
Dmitry V. Levin [Tue, 19 Oct 2010 23:34:51 +0000 (23:34 +0000)]
pam_selinux.c: rewrite using pam_get_data/pam_set_data

* modules/pam_selinux/pam_selinux.c (security_restorelabel_tty,
security_label_tty): Remove old functions.
(module_data_t): New structure.
(free_module_data, cleanup, get_module_data, get_item,
set_exec_context, set_file_context, compute_exec_context,
compute_tty_context, restore_context, set_context,
create_context): New functions.
(pam_sm_authenticate, pam_sm_setcred, pam_sm_open_session,
pam_sm_close_session): Use them.

12 years agoUse libpam.la/libpam_misc.la to link with -lpam/-lpam_misc
Dmitry V. Levin [Fri, 28 Oct 2011 02:28:38 +0000 (02:28 +0000)]
Use libpam.la/libpam_misc.la to link with -lpam/-lpam_misc

GNU automake documentation recommends to avoid using -l options in
LDADD or LIBADD when referring to libraries built by the package.
Instead, it recommends to write the file name of the library explicitly,
and use -l option only to list third-party libraries.  As result, the
default value of *_DEPENDENCIES will list all local libraries and omit
the other ones.
* modules/pam_access/Makefile.am (pam_access_la_LIBADD): Replace
"-L$(top_builddir)/libpam -lpam" with
"$(top_builddir)/libpam/libpam.la", to follow GNU automake
recommendations.
* modules/pam_cracklib/Makefile.am (pam_cracklib_la_LIBADD): Likewise.
* modules/pam_debug/Makefile.am (pam_debug_la_LIBADD): Likewise.
* modules/pam_deny/Makefile.am (pam_deny_la_LIBADD): Likewise.
* modules/pam_echo/Makefile.am (pam_echo_la_LIBADD): Likewise.
* modules/pam_env/Makefile.am (pam_env_la_LIBADD): Likewise.
* modules/pam_exec/Makefile.am (pam_exec_la_LIBADD): Likewise.
* modules/pam_faildelay/Makefile.am (pam_faildelay_la_LIBADD): Likewise.
* modules/pam_filter/Makefile.am (pam_filter_la_LIBADD): Likewise.
* modules/pam_filter/upperLOWER/Makefile.am (LDADD): Likewise.
* modules/pam_ftp/Makefile.am (pam_ftp_la_LIBADD): Likewise.
* modules/pam_group/Makefile.am (pam_group_la_LIBADD): Likewise.
* modules/pam_issue/Makefile.am (pam_issue_la_LIBADD): Likewise.
* modules/pam_keyinit/Makefile.am (pam_keyinit_la_LIBADD): Likewise.
* modules/pam_lastlog/Makefile.am (pam_lastlog_la_LIBADD): Likewise.
* modules/pam_limits/Makefile.am (pam_limits_la_LIBADD): Likewise.
* modules/pam_listfile/Makefile.am (pam_listfile_la_LIBADD): Likewise.
* modules/pam_localuser/Makefile.am (pam_localuser_la_LIBADD): Likewise.
* modules/pam_loginuid/Makefile.am (pam_loginuid_la_LIBADD): Likewise.
* modules/pam_mail/Makefile.am (pam_mail_la_LIBADD): Likewise.
* modules/pam_mkhomedir/Makefile.am (pam_mkhomedir_la_LIBADD,
mkhomedir_helper_LDADD): Likewise.
* modules/pam_motd/Makefile.am (pam_motd_la_LIBADD): Likewise.
* modules/pam_namespace/Makefile.am (pam_namespace_la_LIBADD): Likewise.
* modules/pam_nologin/Makefile.am (pam_nologin_la_LIBADD): Likewise.
* modules/pam_permit/Makefile.am (pam_permit_la_LIBADD): Likewise.
* modules/pam_pwhistory/Makefile.am (pam_pwhistory_la_LIBADD): Likewise.
* modules/pam_rhosts/Makefile.am (pam_rhosts_la_LIBADD): Likewise.
* modules/pam_rootok/Makefile.am (pam_rootok_la_LIBADD): Likewise.
* modules/pam_securetty/Makefile.am (pam_securetty_la_LIBADD): Likewise.
* modules/pam_sepermit/Makefile.am (pam_sepermit_la_LIBADD): Likewise.
* modules/pam_shells/Makefile.am (pam_shells_la_LIBADD): Likewise.
* modules/pam_stress/Makefile.am (pam_stress_la_LIBADD): Likewise.
* modules/pam_succeed_if/Makefile.am (pam_succeed_if_la_LIBADD):
Likewise.
* modules/pam_tally/Makefile.am (pam_tally_la_LIBADD): Likewise.
* modules/pam_tally2/Makefile.am (pam_tally2_la_LIBADD,
pam_tally2_LDADD): Likewise.
* modules/pam_time/Makefile.am (pam_time_la_LIBADD): Likewise.
* modules/pam_timestamp/Makefile.am (pam_timestamp_la_LIBADD,
pam_timestamp_check_LDADD, hmacfile_LDADD): Likewise.
* modules/pam_tty_audit/Makefile.am (pam_tty_audit_la_LIBADD): Likewise.
* modules/pam_umask/Makefile.am (pam_umask_la_LIBADD): Likewise.
* modules/pam_unix/Makefile.am (pam_unix_la_LIBADD): Likewise.
* modules/pam_userdb/Makefile.am (pam_userdb_la_LIBADD): Likewise.
* modules/pam_warn/Makefile.am (pam_warn_la_LIBADD): Likewise.
* modules/pam_wheel/Makefile.am (pam_wheel_la_LIBADD): Likewise.
* modules/pam_xauth/Makefile.am (pam_xauth_la_LIBADD): Likewise.
* tests/Makefile.am (LDADD): Likewise.
* examples/Makefile.am (LDADD): Replace "-L$(top_builddir)/libpam -lpam"
with "$(top_builddir)/libpam/libpam.la", and
"-L$(top_builddir)/libpam_misc -lpam_misc" with
"$(top_builddir)/libpam_misc/libpam_misc.la", to follow GNU automake
recommendations.
* xtests/Makefile.am (LDADD): Likewise.
* modules/pam_selinux/Makefile.am (pam_selinux_la_LIBADD): Likewise.

12 years agoFix usage of LIBADD, LDADD and LDFLAGS
Dmitry V. Levin [Fri, 28 Oct 2011 02:20:17 +0000 (02:20 +0000)]
Fix usage of LIBADD, LDADD and LDFLAGS

* modules/pam_selinux/Makefile.am: Rename pam_selinux_check_LDFLAGS to
pam_selinux_check_LDADD.
* modules/pam_userdb/Makefile.am: Split out pam_userdb_la_LIBADD from
AM_LDFLAGS.
* modules/pam_warn/Makefile.am: Split out pam_warn_la_LIBADD from
AM_LDFLAGS.
* modules/pam_wheel/Makefile.am: Split out pam_wheel_la_LIBADD from
AM_LDFLAGS.
* modules/pam_xauth/Makefile.am: split out pam_xauth_la_LIBADD from
AM_LDFLAGS.
* xtests/Makefile.am: Rename AM_LDFLAGS to LDADD.

12 years agoUpdate .gitignore files
Dmitry V. Levin [Thu, 27 Oct 2011 14:55:55 +0000 (14:55 +0000)]
Update .gitignore files

* .gitignore: Add common ignore patterns.
* m4/.gitignore: Unignore local m4 files.
* dynamic/.gitignore: Unignore Makefile.
* libpamc/test/modules/.gitignore: Likewise.
* libpamc/test/regress/.gitignore: Likewise.
* po/.gitignore: Add Makevars.template.
* conf/.gitignore: Remove common ignore patterns.
* conf/pam_conv1/.gitignore: Likewise.
* doc/.gitignore: Likewise.
* doc/specs/.gitignore: Likewise.
* doc/specs/formatter/.gitignore: Likewise.
* examples/.gitignore: Likewise.
* modules/pam_filter/upperLOWER/.gitignore: Likewise.
* modules/pam_mkhomedir/.gitignore: Likewise.
* modules/pam_selinux/.gitignore: Likewise.
* modules/pam_stress/.gitignore: Likewise.
* modules/pam_tally/.gitignore: Likewise.
* modules/pam_tally2/.gitignore: Likewise.
* modules/pam_timestamp/.gitignore: Likewise.
* modules/pam_unix/.gitignore: Likewise.
* tests/.gitignore: Likewise.
* xtests/.gitignore: Likewise.
* doc/adg/.gitignore: Remove.
* doc/man/.gitignore: Remove.
* doc/mwg/.gitignore: Remove.
* doc/sag/.gitignore: Remove.
* libpamc/.gitignore: Remove.
* libpamc/test/.gitignore: Remove.
* libpam/.gitignore: Remove.
* libpam_misc/.gitignore: Remove.
* modules/.gitignore: Remove.
* modules/pam_access/.gitignore: Remove.
* modules/pam_cracklib/.gitignore: Remove.
* modules/pam_debug/.gitignore: Remove.
* modules/pam_deny/.gitignore: Remove.
* modules/pam_echo/.gitignore: Remove.
* modules/pam_env/.gitignore: Remove.
* modules/pam_exec/.gitignore: Remove.
* modules/pam_faildelay/.gitignore: Remove.
* modules/pam_filter/.gitignore: Remove.
* modules/pam_ftp/.gitignore: Remove.
* modules/pam_group/.gitignore: Remove.
* modules/pam_issue/.gitignore: Remove.
* modules/pam_keyinit/.gitignore: Remove.
* modules/pam_lastlog/.gitignore: Remove.
* modules/pam_limits/.gitignore: Remove.
* modules/pam_listfile/.gitignore: Remove.
* modules/pam_localuser/.gitignore: Remove.
* modules/pam_loginuid/.gitignore: Remove.
* modules/pam_mail/.gitignore: Remove.
* modules/pam_motd/.gitignore: Remove.
* modules/pam_namespace/.gitignore: Remove.
* modules/pam_nologin/.gitignore: Remove.
* modules/pam_permit/.gitignore: Remove.
* modules/pam_pwhistory/.gitignore: Remove.
* modules/pam_rhosts/.gitignore: Remove.
* modules/pam_rootok/.gitignore: Remove.
* modules/pam_securetty/.gitignore: Remove.
* modules/pam_sepermit/.gitignore: Remove.
* modules/pam_shells/.gitignore: Remove.
* modules/pam_succeed_if/.gitignore: Remove.
* modules/pam_time/.gitignore: Remove.
* modules/pam_tty_audit/.gitignore: Remove.
* modules/pam_umask/.gitignore: Remove.
* modules/pam_userdb/.gitignore: Remove.
* modules/pam_warn/.gitignore: Remove.
* modules/pam_wheel/.gitignore: Remove.
* modules/pam_xauth/.gitignore: Remove.

12 years agoMove generated auxiliary files to build-aux directory
Dmitry V. Levin [Thu, 27 Oct 2011 14:55:55 +0000 (14:55 +0000)]
Move generated auxiliary files to build-aux directory

* configure.in: Add AC_CONFIG_AUX_DIR([build-aux]).

12 years agoRemove generated files
Dmitry V. Levin [Thu, 27 Oct 2011 14:55:55 +0000 (14:55 +0000)]
Remove generated files

* ABOUT-NLS: Remove.
* INSTALL: Remove.
* config.rpath: Remove.
* install-sh: Remove.
* mkinstalldirs: Remove.
* Makefile.am (EXTRA_DIST): Remove config.rpath and mkinstalldirs.
* .gitignore: Add ABOUT-NLS and INSTALL.

12 years agoCreate release tarballs using safe ownership and permissions
Dmitry V. Levin [Thu, 27 Oct 2011 14:55:55 +0000 (14:55 +0000)]
Create release tarballs using safe ownership and permissions

* Makefile.am: Define and export TAR_OPTIONS.

12 years agoGenerate ChangeLog from git log
Dmitry V. Levin [Thu, 27 Oct 2011 14:55:55 +0000 (14:55 +0000)]
Generate ChangeLog from git log

* .gitignore: Add ChangeLog
* ChangeLog: Rename to ChangeLog-CVS.
* Makefile.am (gen-changelog): New rule.
(dist-hook, .PHONY): Depend on it.
(EXTRA_DIST): Add ChangeLog-CVS.
* README-hacking: New file.
* gitlog-to-changelog: Import from gnulib.
* autogen.sh: Create empty ChangeLog file to make automake strictness
check happy.  Use automated "autoreconf -fiv" instead of manual
invocations of various autotools.

12 years agoFix "make distcheck"
Dmitry V. Levin [Thu, 27 Oct 2011 14:55:55 +0000 (14:55 +0000)]
Fix "make distcheck"

There is no use to distribute m4 files manually, because automake does
the right thing, while manual distribution is not only redundant but
also very fragile.
* Makefile.am (M4_FILES): Remove.
(EXTRA_DIST): Remove M4_FILES.

12 years agoRemove modules/pam_timestamp/hmacfile from distribution
Dmitry V. Levin [Thu, 27 Oct 2011 14:55:55 +0000 (14:55 +0000)]
Remove modules/pam_timestamp/hmacfile from distribution

* modules/pam_timestamp/Makefile.am (dist_TESTS): Add tst-pam_timestamp.
(nodist_TESTS): Add hmacfile.
(EXTRA_DIST): Replace TESTS with dist_TESTS.

12 years agoRename all .cvsignore files to .gitignore
Dmitry V. Levin [Thu, 27 Oct 2011 14:55:55 +0000 (14:55 +0000)]
Rename all .cvsignore files to .gitignore

12 years agoFix whitespace issues
Dmitry V. Levin [Wed, 26 Oct 2011 23:56:54 +0000 (23:56 +0000)]
Fix whitespace issues

Cleanup trailing whitespaces, indentation that uses spaces before tabs,
and blank lines at EOF.  Make the project free of warnings reported by
git diff --check 4b825dc642cb6eb9a060e54bf8d69288fbee4904 HEAD

12 years ago2011-10-25 Thorsten Kukuk <kukuk@thkukuk.de> Linux-PAM-1_1_5
Thorsten Kukuk [Tue, 25 Oct 2011 12:24:50 +0000 (14:24 +0200)]
2011-10-25  Thorsten Kukuk  <kukuk@thkukuk.de>

        * release version 1.1.5

        * configure.in: Bump version number.

        * modules/pam_tally2/pam_tally2.8.xml: Remove never used option
        "no_lock_time".

12 years agopam_env: abort when encountering an overflowed environment variable expansion
Kees Cook [Fri, 14 Oct 2011 19:47:23 +0000 (19:47 +0000)]
pam_env: abort when encountering an overflowed environment variable expansion

* modules/pam_env/pam_env.c (_expand_arg): Abort when encountering an
overflowed environment variable expansion.
Fixes CVE-2011-3149.
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/pam/+bug/874565

12 years agopam_env: correctly count leading whitespace when parsing environment file
Kees Cook [Fri, 14 Oct 2011 19:32:25 +0000 (19:32 +0000)]
pam_env: correctly count leading whitespace when parsing environment file

* modules/pam_env/pam_env.c (_assemble_line): Correctly count leading
whitespace.
Fixes CVE-2011-3148.
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/pam/+bug/874469

12 years agoIf getdomainname() fails or domainname not set use NULL as domain in innetgr().
Tomas Mraz [Mon, 10 Oct 2011 12:05:03 +0000 (14:05 +0200)]
If getdomainname() fails or domainname not set use NULL as domain in innetgr().

12 years agoAdd hostname resolution cache.
Tomas Mraz [Mon, 10 Oct 2011 12:02:10 +0000 (14:02 +0200)]
Add hostname resolution cache.

12 years agoImprove documentation of the sufficient and requisite control values. (Red Hat Bug...
Tomas Mraz [Fri, 30 Sep 2011 07:43:54 +0000 (09:43 +0200)]
Improve documentation of the sufficient and requisite control values. (Red Hat Bug #742413)

12 years agoCorrect the FSF address.
Tomas Mraz [Thu, 25 Aug 2011 14:02:42 +0000 (16:02 +0200)]
Correct the FSF address.

12 years agoFix the split on @ in the user field. (Red Hat Bug #732081)
Tomas Mraz [Thu, 25 Aug 2011 13:48:51 +0000 (15:48 +0200)]
Fix the split on @ in the user field. (Red Hat Bug #732081)

12 years agoFix missing dereference.
Tomas Mraz [Tue, 23 Aug 2011 10:42:32 +0000 (12:42 +0200)]
Fix missing dereference.

13 years agoFix order of libraries Linux-PAM-1_1_4 v1.1.4
Thorsten Kukuk [Fri, 24 Jun 2011 10:45:27 +0000 (12:45 +0200)]
Fix order of libraries

13 years agoAdd release to ChangeLog
Thorsten Kukuk [Tue, 21 Jun 2011 12:03:22 +0000 (14:03 +0200)]
Add release to ChangeLog

13 years ago2011-06-22 Thorsten Kukuk <kukuk@thkukuk.de>
Thorsten Kukuk [Tue, 21 Jun 2011 12:02:33 +0000 (14:02 +0200)]
2011-06-22  Thorsten Kukuk  <kukuk@thkukuk.de>

* release version 1.1.4

        * configure.in: Bump version number.
        * NEWS: Document changes since 1.1.3
        * libpam/Makefile.am: Bump release number of shared library
        * po/de.po: Translate new string.

13 years agoMerge branch 'master' of ssh://git.fedorahosted.org/git/linux-pam into new_version
Thorsten Kukuk [Tue, 21 Jun 2011 09:59:57 +0000 (11:59 +0200)]
Merge branch 'master' of ssh://git.fedorahosted.org/git/linux-pam into new_version

13 years agoBump version to 1.1.4
Thorsten Kukuk [Tue, 21 Jun 2011 09:51:55 +0000 (11:51 +0200)]
Bump version to 1.1.4

13 years ago2011-06-21 Thorsten Kukuk <kukuk@thkukuk.de>
Thorsten Kukuk [Tue, 21 Jun 2011 09:05:31 +0000 (11:05 +0200)]
2011-06-21  Thorsten Kukuk  <kukuk@thkukuk.de>

       * modules/pam_limits/pam_limits.c: Add set_all option,
       read limits from PID one if no limit is specified and set_all
       is set.
       * modules/pam_limits/pam_limits.8.xml: Document set_all option.
       Based on Patch by Kees Cook.

13 years agoInitialize the fake_item from item.
Tomas Mraz [Wed, 15 Jun 2011 18:59:53 +0000 (20:59 +0200)]
Initialize the fake_item from item.

13 years agoAvoid memleaks and fd leak in error paths.
Tomas Mraz [Wed, 15 Jun 2011 18:58:32 +0000 (20:58 +0200)]
Avoid memleaks and fd leak in error paths.

13 years agoDo not crash when remember, minlen, or rounds options are used with wrong module...
Tomas Mraz [Wed, 15 Jun 2011 18:55:30 +0000 (20:55 +0200)]
Do not crash when remember, minlen, or rounds options are used with wrong module type.

13 years agoCleanups of pam_pwhistory code. Make opasswd entry parsing more robust.
Tomas Mraz [Wed, 15 Jun 2011 18:48:59 +0000 (20:48 +0200)]
Cleanups of pam_pwhistory code. Make opasswd entry parsing more robust.

        * modules/pam_pwhistory/opasswd.c (check_old_password): Do not
        needlessly call strdupa().
        (save_old_password): Avoid memleaks in error paths. Avoid memleak of
        buf. Make the opasswd entry parsing more robust.
        * modules/pam_pwhistory/pam_pwhistory.8.xml: Document the
        special meaning of remember=0.

13 years agoAvoid leaking memory and dir handle on realloc failure.
Tomas Mraz [Wed, 15 Jun 2011 16:48:12 +0000 (18:48 +0200)]
Avoid leaking memory and dir handle on realloc failure.

13 years agoFix typo
Thorsten Kukuk [Tue, 14 Jun 2011 14:08:15 +0000 (16:08 +0200)]
Fix typo

13 years ago2011-06-14 Thorsten Kukuk <kukuk@thkukuk.de>
Thorsten Kukuk [Tue, 14 Jun 2011 13:28:05 +0000 (15:28 +0200)]
2011-06-14  Thorsten Kukuk  <kukuk@thkukuk.de>

* configure.in: Check for libtirpc bye default.
* libpam/Makefile.am: Add support for libtirpc.
* modules/pam_access/Makefile.am: Likewise.
* modules/pam_unix/Makefile.am: Likewise.
* modules/pam_unix/pam_unix_passwd.c: Change ifdefs for
new libtirpc support.
* modules/pam_unix/yppasswd_xdr.c: Only compile if we have rpc/rpc.h.

13 years agoTest also whether the tty is in the /sys/class/tty/console/active file.
Tomas Mraz [Mon, 13 Jun 2011 18:27:18 +0000 (20:27 +0200)]
Test also whether the tty is in the /sys/class/tty/console/active file.

13 years agoDetect the shared / mount and enable private mounts based on that.
Tomas Mraz [Tue, 7 Jun 2011 15:22:30 +0000 (17:22 +0200)]
Detect the shared / mount and enable private mounts based on that.

13 years agoDefine the MS_PRIVATE and MS_REC flags if they are not in sys/mount.h.
Tomas Mraz [Mon, 6 Jun 2011 16:22:32 +0000 (18:22 +0200)]
Define the MS_PRIVATE and MS_REC flags if they are not in sys/mount.h.

13 years agoRewrite of the field parsing in pam_group and pam_time.
Tomas Mraz [Mon, 6 Jun 2011 10:22:02 +0000 (12:22 +0200)]
Rewrite of the field parsing in pam_group and pam_time.

13 years agoVietnamese translation added.
Tomas Mraz [Mon, 6 Jun 2011 06:23:42 +0000 (08:23 +0200)]
Vietnamese translation added.

13 years agopo: add Vietnamese translation
Nguyễn Thái Ngọc Duy [Sun, 5 Jun 2011 07:27:41 +0000 (14:27 +0700)]
po: add Vietnamese translation

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
13 years agoCheck for return value of pam_get_item() in pam_echo module.
Tomas Mraz [Thu, 2 Jun 2011 19:57:31 +0000 (21:57 +0200)]
Check for return value of pam_get_item() in pam_echo module.

13 years agoGuard for pam_get_user() error in pam_filter module.
Tomas Mraz [Thu, 2 Jun 2011 19:55:41 +0000 (21:55 +0200)]
Guard for pam_get_user() error in pam_filter module.

13 years agoGuards for memory allocation errors in pam_cracklib module.
Tomas Mraz [Thu, 2 Jun 2011 19:53:55 +0000 (21:53 +0200)]
Guards for memory allocation errors in pam_cracklib module.

13 years agoAdd support for the mount_private option to pam_namespace.
Tomas Mraz [Thu, 2 Jun 2011 19:50:11 +0000 (21:50 +0200)]
Add support for the mount_private option to pam_namespace.

13 years ago2011-05-30 Thorsten Kukuk <kukuk@thkukuk.de>
Thorsten Kukuk [Mon, 30 May 2011 17:36:56 +0000 (19:36 +0200)]
2011-05-30  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_timestamp/pam_timestamp.c (main): Remove unsused
        variable pretval.

        * modules/pam_stress/pam_stress.c (converse): **message is const.
        (stress_get_password): pmsg is const.
        (pam_sm_chauthtok): Likewise.
        * libpam/pam_item.c (pam_get_user): Make pmsg const and remove
        casts.

13 years ago2011-05-30 Thorsten Kukuk <kukuk@thkukuk.de>
Thorsten Kukuk [Mon, 30 May 2011 09:12:30 +0000 (11:12 +0200)]
2011-05-30  Thorsten Kukuk  <kukuk@thkukuk.de>

* modules/pam_env/pam_env.c (_pam_parse): Implement debug option.
Based on patch by Tomas Mraz.

13 years ago2011-05-24 Thorsten Kukuk <kukuk@thkukuk.de>
Thorsten Kukuk [Tue, 24 May 2011 14:48:11 +0000 (16:48 +0200)]
2011-05-24  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_listfile/pam_listfile.c (pam_sm_authenticate): quiet
        option has no argument, print no missing file if quiet is set
        [sf#3194930].

13 years ago2011-05-04 Thorsten Kukuk <kukuk@thkukuk.de>
kukuk [Wed, 4 May 2011 15:26:16 +0000 (17:26 +0200)]
2011-05-04  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_lastlog/pam_lastlog.c (last_login_failed): Don't
        abort with error if btmp file does not exist.

13 years agoClear the whole MD5 context.
Tomas Mraz [Mon, 21 Mar 2011 21:02:16 +0000 (22:02 +0100)]
Clear the whole MD5 context.

13 years agoRelevant BUGIDs:
Tomas Mraz [Fri, 18 Mar 2011 23:15:54 +0000 (23:15 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------
2011-03-18  Tomas Mraz  <tm@t8m.info>

        * modules/pam_namespace/md5.c (MD5Final): Clear the whole ctx.
        * modules/pam_namespace/pam_namespace.c (del_polydir): Guard for NULL poly.
        (protect_dir): Guard for -1 passing to close().
        (ns_setup): Likewise.
        (pam_sm_open_session): Correctly test for SELinux enabled flag.

13 years agoRelevant BUGIDs:
Tomas Mraz [Thu, 17 Mar 2011 17:04:34 +0000 (17:04 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------
2011-03-17  Tomas Mraz  <tm@t8m.info>

        * modules/pam_selinux/pam_selinux.c (config_context): Fix leak of type.
        (manual_context): Likewise.
        (context_from_env): Remove extraneous auditing in success case.

        * modules/pam_unix/support.c (_unix_run_helper_binary): Remove extra
        close() call.

13 years agoRelevant BUGIDs:
Tomas Mraz [Tue, 22 Feb 2011 22:44:39 +0000 (22:44 +0000)]
Relevant BUGIDs:

Purpose of commit: docfix

Commit summary:
---------------
2011-02-22  Tomas Mraz  <tm@t8m.info>

        * modules/pam_nologin/pam_nologin.8.xml: Add missing space.
        * modules/pam_limits/limits.conf.5.xml: Fix typo.

13 years agoRelevant BUGIDs:
Tomas Mraz [Tue, 21 Dec 2010 08:54:14 +0000 (08:54 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------
2010-12-21  Tomas Mraz  <tm@t8m.info>

        * modules/pam_selinux/pam_selinux.c (mls_range_allowed): Unhardcode
        values for security class and av permission bit.

13 years agoRelevant BUGIDs:
Tomas Mraz [Tue, 14 Dec 2010 08:40:40 +0000 (08:40 +0000)]
Relevant BUGIDs:

Purpose of commit: new feature

Commit summary:
---------------
2010-12-14  Tomas Mraz  <tm@t8m.info>

        * modules/pam_limits/pam_limits.c (parse_uid_range): New function
        to parse the range of uids or gids.
        (parse_config_file): Call parse_uid_range() and if uid/gid range
        is identified, setup the limits if the range matches. New parameters
        containing user's uid and primary gid.
        (pam_sm_open_session): Pass the user's uid and primary gid to
        parse_config_file().
        * modules/pam_limits/limits.conf.5.xml: Document the uid/gid ranges.

13 years agoRelevant BUGIDs:
Tomas Mraz [Tue, 14 Dec 2010 08:28:38 +0000 (08:28 +0000)]
Relevant BUGIDs:

Purpose of commit: translations

Commit summary:
---------------
2010-12-14  Bahadır Kandemir <bahadir@pardus.org.tr>

        * po/tr.po: Updated translations.

13 years agoRelevant BUGIDs:
Tomas Mraz [Thu, 25 Nov 2010 16:58:59 +0000 (16:58 +0000)]
Relevant BUGIDs:

Purpose of commit: docfix

Commit summary:
---------------
2010-11-25  Tomas Mraz  <tm@t8m.info>

        * modules/pam_securetty/pam_securetty.8.xml: Improve documentation
        of the kernel console feature and the noconsole option.

13 years agoRelevant BUGIDs:
Thorsten Kukuk [Wed, 24 Nov 2010 12:28:01 +0000 (12:28 +0000)]
Relevant BUGIDs:

Purpose of commit: new feature

Commit summary:
---------------

2010-11-24  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_securetty/pam_securetty.c: Parse console= kernel
        option, add noconsole option.
        * modules/pam_securetty/pam_securetty.8.xml: Document new behavior
        for serial console.
        Patch from Lennart Poettering.

13 years agoRelevant BUGIDs:
Tomas Mraz [Wed, 24 Nov 2010 08:49:30 +0000 (08:49 +0000)]
Relevant BUGIDs:

Purpose of commit: docfix

Commit summary:
---------------
2010-11-24  Tomas Mraz  <tm@t8m.info>

        * modules/pam_limits/limits.conf.5.xml: Document the %group syntax.

13 years agoRelevant BUGIDs:
Tomas Mraz [Thu, 18 Nov 2010 09:37:31 +0000 (09:37 +0000)]
Relevant BUGIDs:

Purpose of commit: cleanup

Commit summary:
---------------
2010-11-18  Tomas Mraz  <tm@t8m.info>

        * modules/pam_limits/pam_limits.c (pam_parse,pam_sm_open_session):
        Drop obsolete and broken option change_uid.
        * modules/pam_limits/pam_limits.8.xml: Likewise.

13 years agoRelevant BUGIDs: Linux-PAM-1_1-branch
Tomas Mraz [Tue, 16 Nov 2010 09:51:50 +0000 (09:51 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------
2010-11-16  Tomas Mraz  <tm@t8m.info>

        * modules/pam_pwhistory/pam_pwhistory.c (pam_sm_chauthtok): Remove
        dead and duplicate code. Return PAM_INCOMPLETE instead of
        PAM_CONV_AGAIN.

13 years agoRelevant BUGIDs:
Tomas Mraz [Thu, 11 Nov 2010 16:15:52 +0000 (16:15 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------
2010-11-11  Tomas Mraz  <tm@t8m.info>

        * modules/pam_selinux/pam_selinux.c (pam_sm_open_session): Fix
        potential use after free in case SELinux is misconfigured.

        * modules/pam_namespace/pam_namespace.c (process_line): Fix memory
        leak when parsing empty config file lines.

13 years agoRelevant BUGIDs: Linux-PAM-1_1_3
Thorsten Kukuk [Thu, 28 Oct 2010 09:36:25 +0000 (09:36 +0000)]
Relevant BUGIDs:

Purpose of commit: release

Commit summary:
---------------

2010-10-28  Thorsten Kukuk  <kukuk@thkukuk.de>

        * release version 1.1.3

        * configure.in: Increase version to 1.1.3

        * NEWS: document visible changes

        * libpam/Makefile.am (libpam_la_LDFLAGS): Bump version number.

13 years agoRelevant BUGIDs:
Thorsten Kukuk [Wed, 27 Oct 2010 13:18:50 +0000 (13:18 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------

2010-10-27  Thorsten Kukuk <kukuk@thkukuk.de>

        * doc/adg/Makefile.am: Use UTF-8 for html docu.
        * doc/mwg/Makefile.am: Likewise.
        * doc/sag/Makefile.am: Likewise.

kernel.org webserver is using UTF-8

13 years agoRelevant BUGIDs:
Tomas Mraz [Fri, 22 Oct 2010 07:18:07 +0000 (07:18 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------
2010-10-22  Tomas Mraz  <tm@t8m.info>

        * modules/pam_namespace/pam_namespace.c (inst_init): Use execle()
        to execute the init script with clean environment. (CVE-2010-3853)
        (cleanup_tmpdirs): Likewise for executing rm.

13 years agoRelevant BUGIDs:
Dmitry V. Levin [Thu, 21 Oct 2010 15:00:12 +0000 (15:00 +0000)]
Relevant BUGIDs:

Purpose of commit: cleanup

Commit summary:
---------------
2010-10-21  Dmitry V. Levin  <ldv@altlinux.org>

* modules/pam_mkhomedir/mkhomedir_helper.c (rec_mkdir): Remove.
(create_homedir): Use mkdir() instead of rec_mkdir().
(make_parent_dirs): New function.
(main): Use make_parent_dirs() to create parent directories only
for the home directory itself.

13 years agoRelevant BUGIDs:
Thorsten Kukuk [Thu, 21 Oct 2010 13:24:31 +0000 (13:24 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------

2010-10-21  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_unix/support.c (_unix_getpwnam): Don't allocate
        unneeded buffer for uid/gid [sf#3059572].

13 years agoRelevant BUGIDs:
Thorsten Kukuk [Wed, 20 Oct 2010 13:21:52 +0000 (13:21 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------

2010-10-20  Thorsten Kukuk  <kukuk@thkukuk.de>

        * doc/man/pam_get_authtok.3.xml: Fix xml code.

13 years agoRelevant BUGIDs:
Thorsten Kukuk [Wed, 20 Oct 2010 13:11:30 +0000 (13:11 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------

2010-10-20  Thorsten Kukuk  <kukuk@thkukuk.de>

        * doc/man/Makefile.am: Fix build dependencys of pam_get_authtok.3.

        * xtests/Makefile.am: Only build xtests if we run xtests.

13 years agoRelevant BUGIDs:
Thorsten Kukuk [Wed, 20 Oct 2010 12:11:38 +0000 (12:11 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------

2010-10-20  Thorsten Kukuk  <kukuk@thkukuk.de>

        * configure.in: Check for libdb with symbol versions, too.
        Patch from Diego Elio Pettenò.

13 years agoRelevant BUGIDs:
Thorsten Kukuk [Wed, 20 Oct 2010 11:58:17 +0000 (11:58 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------

2010-10-20  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_mkhomedir/mkhomedir_helper.c (rec_mkdir): Create
        parent directories always with mode 0755.
        (create_homedir): Create main directory with mode 0700 at first.

13 years agoRelevant BUGIDs:
Dmitry V. Levin [Tue, 19 Oct 2010 23:33:02 +0000 (23:33 +0000)]
Relevant BUGIDs:

Purpose of commit: cleanup

Commit summary:
---------------
2010-10-19  Dmitry V. Levin  <ldv@altlinux.org>

* modules/pam_selinux/pam_selinux.c (verbose_message): Remove.
(pam_sm_open_session): Call send_text() instead of verbose_message().

13 years agoRelevant BUGIDs:
Dmitry V. Levin [Tue, 19 Oct 2010 16:48:32 +0000 (16:48 +0000)]
Relevant BUGIDs:

Purpose of commit: new feature

Commit summary:
---------------
2010-10-19  Dmitry V. Levin  <ldv@altlinux.org>

* m4/ld-no-undefined.m4: New file.
* configure.in: Use PAM_LD_NO_UNDEFINED.
* Makefile.am (M4_FILES): Add m4/ld-no-undefined.m4.

13 years agoRelevant BUGIDs:
Dmitry V. Levin [Tue, 19 Oct 2010 16:41:20 +0000 (16:41 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------
2010-10-19  Dmitry V. Levin  <ldv@altlinux.org>

* m4/ld-O1.m4 (PAM_LD_O1): Fix typo.

13 years agoRelevant BUGIDs:
Dmitry V. Levin [Tue, 19 Oct 2010 16:36:35 +0000 (16:36 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------
2010-10-19  Dmitry V. Levin  <ldv@altlinux.org>

* modules/pam_selinux/Makefile.am (pam_selinux_la_LIBADD): Add
@LIBAUDIT@.

13 years agoRelevant BUGIDs:
Thorsten Kukuk [Tue, 19 Oct 2010 15:24:34 +0000 (15:24 +0000)]
Relevant BUGIDs:

Purpose of commit: documentation

Commit summary:
---------------

2010-10-19  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_env/pam_env.8.xml: Document side effects of
        environment variables in the stack.
        * modules/pam_exec/pam_exec.8.xml: Document that user can
        have controll over the environment.

13 years agorevert preceding patch; under discussion, no consensus
Steve Langasek [Mon, 11 Oct 2010 19:33:44 +0000 (19:33 +0000)]
revert preceding patch; under discussion, no consensus

13 years agoRelevant BUGIDs:
Tomas Mraz [Mon, 11 Oct 2010 14:24:30 +0000 (14:24 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------
2010-10-11  Tomas Mraz  <t8m@centrum.cz>

        * modules/pam_env/pam_env.c: Change default for user_readenv to 0.
        * modules/pam_env/pam_env.8.xml: Document the new default for user_readenv.

13 years agoRelevant BUGIDs:
Dmitry V. Levin [Fri, 8 Oct 2010 11:53:38 +0000 (11:53 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------
2010-10-07  Dmitry V. Levin  <ldv@altlinux.org>

* modules/pam_selinux/pam_selinux.c (verbose_message): Fix format
string.

13 years agoRelevant BUGIDs:
Dmitry V. Levin [Sun, 3 Oct 2010 21:00:53 +0000 (21:00 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------
2010-10-04  Dmitry V. Levin  <ldv@altlinux.org>

* libpam/pam_modutil_priv.c: New file.
* libpam/Makefile.am (libpam_la_SOURCES): Add it.
* libpam/include/security/pam_modutil.h (struct pam_modutil_privs,
PAM_MODUTIL_DEF_PRIVS, pam_modutil_drop_priv,
pam_modutil_regain_priv): New declarations.
* libpam/libpam.map (LIBPAM_MODUTIL_1.1.3): New interface.
* modules/pam_env/pam_env.c (handle_env): Use new pam_modutil interface.
* modules/pam_mail/pam_mail.c (_do_mail): Likewise.
* modules/pam_xauth/pam_xauth.c (check_acl, pam_sm_open_session,
pam_sm_close_session): Likewise.
(pam_sm_open_session): Remove redundant fchown call.
Fixes CVE-2010-3430, CVE-2010-3431.

13 years agoRelevant BUGIDs: #3078936
Thorsten Kukuk [Fri, 1 Oct 2010 11:05:45 +0000 (11:05 +0000)]
Relevant BUGIDs: #3078936

Purpose of commit: bugfix

Commit summary:
---------------

2010-10-01  Thorsten Kukuk  <kukuk@thkukuk.de>

        * configure.in: Extend cross compiling check.
        * doc/specs/Makefile.am: Set CFLAGS and LDFLAGS to BUILD_CFLAGS
        and BUILD_LDFLAGS.
        Bug #3078936 / gentoo #339174

13 years agoRelevant BUGIDs:
Thorsten Kukuk [Thu, 30 Sep 2010 13:47:14 +0000 (13:47 +0000)]
Relevant BUGIDs:

Purpose of commit: cleanup

Commit summary:
---------------

2010-09-30  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_xauth/pam_xauth.c (pam_sm_close_session): Warn if
        unlink() fails.

13 years agoRelevant BUGIDs:
Dmitry V. Levin [Tue, 28 Sep 2010 17:19:42 +0000 (17:19 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------
2010-09-27  Dmitry V. Levin  <ldv@altlinux.org>

* modules/pam_xauth/pam_xauth.c (pam_sm_close_session): Return
PAM_SUCCESS immediately if no cookie file is defined.  Return
PAM_SESSION_ERR if cookie file is defined but target uid cannot be
determined.  Do not modify cookiefile string returned by pam_get_data.

13 years agoRelevant BUGIDs:
Dmitry V. Levin [Tue, 28 Sep 2010 17:11:36 +0000 (17:11 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------
2010-09-27  Dmitry V. Levin  <ldv@altlinux.org>

* modules/pam_xauth/pam_xauth.c (check_acl): Check that the given
access control file is a regular file.

13 years agoRelevant BUGIDs:
Dmitry V. Levin [Mon, 20 Sep 2010 20:16:30 +0000 (20:16 +0000)]
Relevant BUGIDs:

Purpose of commit: cleanup

Commit summary:
---------------

2010-09-16  Dmitry V. Levin  <ldv@altlinux.org>

* modules/pam_env/pam_env.c (handle_env): Use setfsuid() return code.
* modules/pam_mail/pam_mail.c (_do_mail): Likewise.
* modules/pam_xauth/pam_xauth.c (check_acl, pam_sm_open_session,
pam_sm_close_session): Likewise.

13 years agoRelevant BUGIDs: Linux-PAM-1_1_2
Thorsten Kukuk [Tue, 31 Aug 2010 11:20:59 +0000 (11:20 +0000)]
Relevant BUGIDs:

Purpose of commit: new release

Commit summary:
---------------

2010-08-31  Thorsten Kukuk  <kukuk@thkukuk.de>

        * release version 1.1.2

        * configure.in: Bump version number.
        * NEWS: Document changes since 1.1.1.
        * doc/adg/Linux-PAM_ADG.xml: Bump version number.
        * doc/mwg/Linux-PAM_MWG.xml: Likewise.
        * doc/sag/Linux-PAM_SAG.xml: Likewise.
        * libpam/Makefile.am: Bump revision of shared library.
        * po/*.po: Regenerate.

13 years agoRelevant BUGIDs:
Tomas Mraz [Thu, 26 Aug 2010 19:16:18 +0000 (19:16 +0000)]
Relevant BUGIDs:

Purpose of commit: new feature

Commit summary:
---------------
2010-08-26  Tomas Mraz  <t8m@centrum.cz>

        * modules/pam_nologin/pam_nologin.c (perform_check): Try first
         /var/run/nologin if the nologin file is not explicitly specified.
        * modules/pam_nologin/pam_nologin.8.xml: Document that /var/run/nologin
        is tried first.

13 years agoRelevant BUGIDs:
Tomas Mraz [Thu, 26 Aug 2010 19:11:51 +0000 (19:11 +0000)]
Relevant BUGIDs:

Purpose of commit: translation

Commit summary:
---------------
2010-08-26  Sweta Kothari  <swkothar@redhat.com>

        * po/gu.po: Updated translations.

2010-08-26  Geert Warrink  <geert.warrink@onsnet.nu>

        * po/nl.po: Updated translations.

13 years agoRelevant BUGIDs: #2315432, debian#284854#42.
Thorsten Kukuk [Thu, 26 Aug 2010 13:49:33 +0000 (13:49 +0000)]
Relevant BUGIDs: #2315432, debian#284854#42.

Purpose of commit: bugfix

Commit summary:
---------------

2010-08-26  Thorsten Kukuk  <kukuk@thkukuk.de>

* doc/specs/Makefile.am: Use CC_FOR_BUILD as compiler (cross
compile support).
* configure.in: Check for host compiler if cross compiling.
Bug #2315432, debian#284854#42.

13 years agoRelevant BUGIDs:
Thorsten Kukuk [Tue, 17 Aug 2010 11:15:32 +0000 (11:15 +0000)]
Relevant BUGIDs:

Purpose of commit: new feature

Commit summary:
---------------

2010-08-17  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_unix/pam_unix_passwd.c: Implement minlen option.
        * modules/pam_unix/support.c: Likewise.
        * modules/pam_unix/support.h: Likewise.

        * modules/pam_unix/pam_unix_acct.c (pam_sm_acct_mgmt): Adjust
        arguments for _set_ctrl call.
        * modules/pam_unix/pam_unix_auth.c (pam_sm_authenticate): Likewise.
        * modules/pam_unix/pam_unix_session.c: Likewise.

        * modules/pam_unix/pam_unix.8.xml: Document minlen option.
        Based on patch by Steve Langasek.

13 years agoRelevant BUGIDs:
Thorsten Kukuk [Fri, 13 Aug 2010 08:59:53 +0000 (08:59 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------

2010-08-12  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_mail/pam_mail.c: Check for mail only with user
        privilegs.

        * modules/pam_xauth/pam_xauth.c (run_coprocess): Check return
        value of setgid, setgroups and setuid.

        * modules/pam_xauth/pam_xauth.c (check_acl): Save errno for
        later usage.

        * modules/pam_env/pam_env.c (handle_env): Check if user exists,
        read local user config only with user privilegs.`

13 years agoRelevant BUGIDs:
Thorsten Kukuk [Mon, 9 Aug 2010 15:36:48 +0000 (15:36 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix/cleanup

Commit summary:
---------------

2010-08-09  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_tally/pam_tally.8.xml: Document that pam_tally is
        deprecated.

        * modules/pam_tty_audit/Makefile.am (EXTRA_DIST): Fix make dist.

13 years agoRelevant BUGIDs: 2923437
Thorsten Kukuk [Mon, 9 Aug 2010 14:16:25 +0000 (14:16 +0000)]
Relevant BUGIDs: 2923437

Purpose of commit: bugfix

Commit summary:
---------------

2010-08-09  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_unix/passverify.c (check_shadow_expiry): Correct
        check for expired date.

        * modules/pam_unix/pam_unix_passwd.c (_pam_unix_approve_pass): Remove
        check for password length. Bug #2923437.

13 years agoRelevant BUGIDs:
Thorsten Kukuk [Wed, 4 Aug 2010 14:51:45 +0000 (14:51 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------

2010-08-04  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_tally2/pam_tally2.c (get_tally): Create file
        with correct permissions. Patch by Diego Elio "Flameeyes" Pettenò.

13 years agoRelevant BUGIDs: 2730965
Thorsten Kukuk [Wed, 4 Aug 2010 13:54:02 +0000 (13:54 +0000)]
Relevant BUGIDs: 2730965

Purpose of commit: workaround

Commit summary:
---------------

2010-08-04  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_unix/passverify.c (PAMH_ARG_DECL): Don't request
        password change if time is not yet set (1.1.1970). Bug #2730965.

13 years agoRelevant BUGIDs: #3035919, #3002340, #3037155
Thorsten Kukuk [Wed, 4 Aug 2010 13:00:59 +0000 (13:00 +0000)]
Relevant BUGIDs: #3035919, #3002340, #3037155

Purpose of commit: bugfix

Commit summary:
---------------

2010-08-04  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_access/pam_access.c (user_match): Make sure
        that user@host will not match @@netgroup. Bug #3035919.

        * modules/pam_group/pam_group.c (check_account): Add '%' for
        UNIX groups.
        * modules/pam_group/group.conf: Add example for '%'.
        * modules/pam_group/group.conf.5.xml: Document '%' syntax.
        Bug #3002340, #3037155.

13 years agoRelevant BUGIDs: Debian bug #582362
Steve Langasek [Mon, 2 Aug 2010 13:59:02 +0000 (13:59 +0000)]
Relevant BUGIDs: Debian bug #582362

Purpose of commit: bugfix

Commit summary:
---------------
Don't pass --version-script options when linking executables, only when
linking libraries
Patch from Julien Cristau <jcristau@debian.org>

13 years agoRelevant BUGIDs: 2917257
Thorsten Kukuk [Mon, 12 Jul 2010 14:47:11 +0000 (14:47 +0000)]
Relevant BUGIDs: 2917257

Purpose of commit: enhancement

Commit summary:
---------------

2010-07-12  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_succeed_if/pam_succeed_if.c (pam_sm_authenticate): Add
        audit flag to enable logging about unknown user (#2917257).
        * modules/pam_succeed_if/pam_succeed_if.8.xml: Document audit.
        * modules/pam_succeed_if/pam_succeed_if.8: Regenerated from xml.
        * modules/pam_succeed_if/README: Regenerated from xml.