]> granicus.if.org Git - linux-pam/log
linux-pam
15 years agoRelevant BUGIDs:
Tomas Mraz [Mon, 24 Nov 2008 14:06:15 +0000 (14:06 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------
2008-11-24  Tomas Mraz <t8m@centrum.cz>

        * modules/pam_cracklib/pam_cracklib.c(pam_sm_chauthtok): Fix leaks
        in error path.
        * modules/pam_env/pam_env.c(_parse_env_file): Remove superfluous
        condition.
        * modules/pam_group/pam_group.c(check_account): Fix leak
        in error path.
        * modules/pam_listfile/pam_listfile.c(pam_sm_authenticate): Fix leak
        in error path.
        * modules/pam_securetty/pam_securetty.c(securetty_perform_check): Remove
        superfluous condition.
        * modules/pam_stress/pam_stress.c(stress_get_password,pam_sm_authenticate):
        Remove superfluous conditions.
        (pam_sm_chauthtok): Fix mistaken && for &.
        * modules/pam_unix/pam_unix_auth.c(pam_sm_authenticate): Remove
        superfluous condition.
        All the problems fixed in this commit were found by Steve Grubb.

15 years agoRelevant BUGIDs: rhbz#471762
Tomas Mraz [Mon, 24 Nov 2008 13:56:29 +0000 (13:56 +0000)]
Relevant BUGIDs: rhbz#471762

Purpose of commit: new feature

Commit summary:
---------------
2008-11-24  Tomas Mraz <t8m@centrum.cz>

        * libpam/pam_handlers.c (_pam_parse_conf_file): '-' at
        beginning of type token marks silent module.
        (_pam_load_module): Add handler_type parameter. Do not log
        module load error if module is silent.
        (_pam_add_handler): Pass handler_type to _pam_load_module().
        * libpam/pam_private.h: Add PAM_HT_SILENT_MODULE.
        * doc/man/pam.conf-syntax.xml: Document the '-' at beginning
        of type.

15 years agoRelevant BUGIDs:
Tomas Mraz [Thu, 20 Nov 2008 14:10:17 +0000 (14:10 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------
2008-11-20  Tomas Mraz <t8m@centrum.cz>

        * modules/pam_sepermit/pam_sepermit.c (sepermit_match): Do not
        call sepermit_lock() if sense is deny. Do not crash on NULL seuser
        match.
        (pam_sm_authenticate): Try to call getseuserbyname() even if
        SELinux is disabled.

15 years agoRelevant BUGIDs:
Thorsten Kukuk [Wed, 19 Nov 2008 15:03:53 +0000 (15:03 +0000)]
Relevant BUGIDs:

Purpose of commit: fix

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

Revert wrong commitment

15 years agoRelevant BUGIDs:
Thorsten Kukuk [Wed, 19 Nov 2008 15:01:13 +0000 (15:01 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

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

2008-11-19  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_xauth/pam_xauth.c (pam_sm_open_session):
        Preserve XAUTHLOCALHOSTNAME environment variable.

15 years agoRelevant BUGIDs:
Thorsten Kukuk [Wed, 19 Nov 2008 14:24:47 +0000 (14:24 +0000)]
Relevant BUGIDs:

Purpose of commit: missing part of new feature

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

2008-11-19  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_pwhistory/pam_pwhistory.c (pam_sm_chauthtok): Finish
        implementation of type=STRING option.

        * modules/pam_pwhistory/pam_pwhistory.8.xml: Document
        "type=STRING" option.

15 years agoRelevant BUGIDs:
Thorsten Kukuk [Mon, 27 Oct 2008 06:46:50 +0000 (06:46 +0000)]
Relevant BUGIDs:

Purpose of commit:

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

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

        * doc/man/pam_setcred.3.xml: Document when credentials
        should be deleted.
        * po/ja.po: Fix syntax error.
        * po/de.po: Update translations.
        * po/*.po: Regenerate with pam_tally2 added.

15 years agoRelevant BUGIDs:
Tomas Mraz [Thu, 23 Oct 2008 13:06:04 +0000 (13:06 +0000)]
Relevant BUGIDs:

Purpose of commit: translations

Commit summary:
---------------
2008-10-23  Taylon Silmer Lacerda Silva <taylonsilva@gmail.com>

        * po/pt_BR.po: Updated translations.

2008-10-23  Krishna Babu K <kkrothap@redhat.com>

        * po/LINGUAS: New language.
        * po/te.po: New translation to Telugu.

2008-10-23  Manoj Kumar Giri <mgiri@redhat.com>

        * po/or.po: Updated translations.

15 years agoRelevant BUGIDs:
Tomas Mraz [Tue, 21 Oct 2008 11:50:19 +0000 (11:50 +0000)]
Relevant BUGIDs:

Purpose of commit: translations

Commit summary:
---------------
2008-10-21  Amitakhya Phukan <aphukan@redhat.com>

        * po/as.po: Updated translations.

2008-10-21  Ondrej Sulek <feonsu@gmail.com>

        * po/sk.po: Updated translations.

2008-10-21  Terry Chuang <tchuang@redhat.com>

        * po/zh_TW.po: Updated translations.

2008-10-21  Kiyoto Hashida <khashida@redhat.com>

        * po/ja.po: Updated translations.

2008-10-21  Francesco Valente <fvalen@redhat.com>

        * po/it.po: Updated translations.

2008-10-21  Peter van Egdom <p.van.egdom@gmail.com>

        * po/nl.po: Updated translations.

15 years agoRelevant BUGIDs:
Tomas Mraz [Mon, 20 Oct 2008 19:42:13 +0000 (19:42 +0000)]
Relevant BUGIDs:

Purpose of commit: translations

Commit summary:
---------------
2008-10-20  Ani Peter <apeter@redhat.com>

        * po/ml.po: Updated translations.

15 years agoRelevant BUGIDs:
Tomas Mraz [Mon, 20 Oct 2008 19:40:07 +0000 (19:40 +0000)]
Relevant BUGIDs:

Purpose of commit: translations

Commit summary:
---------------
2008-10-20  Pablo Martin-Gomez <pablo.martin-gomez@laposte.net>

        * po/fr.po: Updated translations.

15 years agoRelevant BUGIDs:
Tomas Mraz [Mon, 20 Oct 2008 07:22:34 +0000 (07:22 +0000)]
Relevant BUGIDs:

Purpose of commit: translations

Commit summary:
---------------
2008-10-20  Runa Bhattacharjee <runab@redhat.com>

        * po/bn_IN.po: Updated translations.

15 years agoRelevant BUGIDs:
Tomas Mraz [Mon, 20 Oct 2008 07:21:44 +0000 (07:21 +0000)]
Relevant BUGIDs:

Purpose of commit: translations

Commit summary:
---------------
2008-10-20  Shankar Prasad <svenkate@redhat.com>

        * po/kn.po: Updated translations.

15 years agoRelevant BUGIDs:
Tomas Mraz [Mon, 20 Oct 2008 06:58:25 +0000 (06:58 +0000)]
Relevant BUGIDs:

Purpose of commit: translations

Commit summary:
---------------
2008-10-20  Leah Liu <lliu@redhat.com>

        * po/zh_CN.po: Updated translations.

15 years agoRelevant BUGIDs:
Tomas Mraz [Mon, 20 Oct 2008 06:56:01 +0000 (06:56 +0000)]
Relevant BUGIDs:

Purpose of commit: translations

Commit summary:
---------------
2008-10-20  Ondrej Sulek <feonsu@gmail.com>

        * po/LINGUAS: New language.
        * po/sk.po: New translation to Slovak.

15 years agoRelevant BUGIDs:
Tomas Mraz [Fri, 17 Oct 2008 11:29:55 +0000 (11:29 +0000)]
Relevant BUGIDs:

Purpose of commit: new feature

Commit summary:
---------------
2008-10-17  Tomas Mraz <t8m@centrum.cz>

        * configure.in: Add modules/pam_tally2/Makefile.
        * doc/sag/Linux-PAM_SAG.xml: Include pam_tally2.xml.
        * doc/sag/pam_tally2.xml: New.
        * libpam/pam_static_modules.h: Add pam_tally2 static struct.
        * modules/Makefile.am: Add pam_tally2 directory.
        * modules/pam_tally2/Makefile.am: New.
        * modules/pam_tally2/README.xml: New.
        * modules/pam_tally2/tallylog.h: New.
        * modules/pam_tally2/pam_tally2.8.xml: New.
        * modules/pam_tally2/pam_tally2.c: New.
        * modules/pam_tally2/pam_tally2_app.c: New.
        * modules/pam_tally2/tst-pam_tally2: New.
        * po/POTFILES.in: Add pam_tally2 sources.

15 years agoRelevant BUGIDs:
Tomas Mraz [Fri, 17 Oct 2008 11:09:25 +0000 (11:09 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------
2008-10-15  Tomas Mraz <t8m@centrum.cz>

        * modules/pam_keyinit/pam_keyinit.c (kill_keyrings): Save the old
        euid to suid to be able to restore it.

15 years agoRelevant BUGIDs:
Tomas Mraz [Fri, 17 Oct 2008 10:56:31 +0000 (10:56 +0000)]
Relevant BUGIDs:

Purpose of commit: translations

Commit summary:
---------------
2008-10-17  Xavier Queralt Mateu <xqueralt@gmail.com>

        * po/ca.po: Updated translations.

15 years agoRelevant BUGIDs:
Tomas Mraz [Wed, 15 Oct 2008 06:42:52 +0000 (06:42 +0000)]
Relevant BUGIDs:

Purpose of commit: translations

Commit summary:
---------------
2008-10-15  Piotr Drąg <piotrdrag@gmail.com>

        * po/pl.po: Updated translations.

15 years agoRelevant BUGIDs:
Tomas Mraz [Mon, 13 Oct 2008 20:08:51 +0000 (20:08 +0000)]
Relevant BUGIDs:

Purpose of commit: translations

Commit summary:
---------------
Missed from the last commit.

15 years agoRelevant BUGIDs:
Tomas Mraz [Mon, 13 Oct 2008 20:00:29 +0000 (20:00 +0000)]
Relevant BUGIDs:

Purpose of commit: translations

Commit summary:
---------------
2008-10-13  Tomas Mraz <t8m@centrum.cz>

        * po/LINGUAS: New languages.
        * po/cs.po: Updated translations.

2008-10-13  Amitakhya Phukan <aphukan@redhat.com>

        * po/as.po: Updated translations.

2008-10-13  Shankar Prasad <svenkate@redhat.com>

        * po/kn.po: Updated translations.

2008-10-13  Sandeep Sheshrao Shedmake <sshedmak@redhat.com>

        * po/mr.po: New translation to Marathi.

2008-10-13  Runa Bhattacharjee <runab@redhat.com>

        * po/bn_IN.po: Updated translations.

2008-10-13  Sharuzzaman Ahmat Raslan <sharuzzaman@gmail.com>

        * po/ms.po: New translation to Malay.

15 years agoRelevant BUGIDs:
Thorsten Kukuk [Sun, 12 Oct 2008 17:06:04 +0000 (17:06 +0000)]
Relevant BUGIDs:

Purpose of commit:

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

2008-10-10  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_cracklib/pam_cracklib.c (_pam_unix_approve_pass):
        Remove check for re-used passwords.
        * modules/pam_cracklib/pam_cracklib.8.xml: Remove documentation
        of re-used password check.

15 years agoRelevant BUGIDs:
Thorsten Kukuk [Fri, 10 Oct 2008 06:53:45 +0000 (06:53 +0000)]
Relevant BUGIDs:

Purpose of commit: new feature

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

2008-10-10  Thorsten Kukuk  <kukuk@thkukuk.de>

        * configure.in: add modules/pam_pwhistory/Makefile.
        * doc/sag/Linux-PAM_SAG.xml: Include pam_pwhistory.xml.
        * doc/sag/pam_pwhistory.xml: New.
        * libpam/pam_static_modules.h: Add pam_pwhistory data.
        * modules/Makefile.am: Add pam_pwhistory directory.
        * modules/pam_pwhistory/Makefile.am: New.
        * modules/pam_pwhistory/README.xml: New.
        * modules/pam_pwhistory/opasswd.c: New.
        * modules/pam_pwhistory/opasswd.h: New.
        * modules/pam_pwhistory/pam_pwhistory.8.xml: New.
        * modules/pam_pwhistory/pam_pwhistory.c: New.
        * modules/pam_pwhistory/tst-pam_pwhistory: New.
        * xtests/Makefile.am: New.
        * xtests/run-xtests.sh: New.
        * xtests/tst-pam_pwhistory1.c: New.
        * xtests/tst-pam_pwhistory1.pamd: New.
        * xtests/tst-pam_pwhistory1.sh: New.
        * po/POTFILES.in: Add modules/pam_pwhistory/.
        * po/de.po: Update translations.

15 years agoRelevant BUGIDs:
Thorsten Kukuk [Thu, 2 Oct 2008 07:37:43 +0000 (07:37 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

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

2008-10-02  Thorsten Kukuk  <kukuk@thkukuk.de>

        * po/de.po: Update translations.

15 years agoRelevant BUGIDs:
Tomas Mraz [Tue, 30 Sep 2008 14:54:30 +0000 (14:54 +0000)]
Relevant BUGIDs:

Purpose of commit: translations

Commit summary:
---------------
2008-09-30  Manoj Kumar Giri <mgiri@redhat.com>

        * po/or.po: Updated translations.

2008-09-30  Sharuzzaman Ahmat Raslan <sharuzzaman@gmail.com>

        * po/ms.po: New translation to Malay.

2008-09-30  Taylon Silmer Lacerda Silva <taylonsilva@gmail.com>

        * po/pt_BR.po: Updated translations.

2008-09-30  Tomas Mraz <t8m@centrum.cz>

        * po/Linux-pam.pot: Updated strings to translate.
        * po/*.po: Likewise.

15 years agoRelevant BUGIDs:
Tomas Mraz [Tue, 30 Sep 2008 14:40:39 +0000 (14:40 +0000)]
Relevant BUGIDs:

Purpose of commit: new feature

Commit summary:
---------------
2008-09-30  Tomas Mraz <t8m@centrum.cz>

        * modules/pam_lastlog/pam_lastlog.8.xml: Document new options
        noupdate and showfailed.
        * modules/pam_lastlog/pam_lastlog.c(pam_parse): Recognize the new
        options.
        (last_login_read): New output parameter lltime. Do not display
        the last login message if it would be empty.
        (last_login_date): New output parameter lltime. Do not write the
        last login info when LASTLOG_UPDATE is not set.
        (last_login_failed): New function to display the last bad login
        attempt from btmp.
        (pam_sm_open_session): Obtain lltime from last_login_date() and
        call last_login_failed() when appropriate.

15 years agoRelevant BUGIDs:
Thorsten Kukuk [Mon, 29 Sep 2008 12:11:50 +0000 (12:11 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

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

2008-09-29  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_echo/pam_echo.8.xml: Fix format error.

15 years agoRelevant BUGIDs:
Tomas Mraz [Thu, 25 Sep 2008 18:58:10 +0000 (18:58 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------
2008-09-25  Tomas Mraz <t8m@centrum.cz>

        * modules/pam_tally/pam_tally.c(get_tally): Fix syslog message.
        (tally_check): Open faillog read only. Close file descriptor.
        Fix typos in messages.

15 years agoRelevant BUGIDs: http://bugs.debian.org/439268
Thorsten Kukuk [Thu, 25 Sep 2008 11:53:02 +0000 (11:53 +0000)]
Relevant BUGIDs: http://bugs.debian.org/439268

Purpose of commit: bugfix

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

2008-09-25  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_mail/pam_mail.c (report_mail): Fix logic of
        "quiet" option (Patch from Andreas Henriksson <andreas@fatal.se>)

        * modules/pam_mail/pam_mail.8.xml: Fix typo.

15 years agoRelevant BUGIDs:
Tomas Mraz [Tue, 23 Sep 2008 13:27:50 +0000 (13:27 +0000)]
Relevant BUGIDs:

Purpose of commit: cleanup

Commit summary:
---------------
2008-09-23  Tomas Mraz <t8m@centrum.cz>

        * modules/pam_limits/limits.conf.5.xml: Comment that rss limit is
        ignored.

15 years agoRelevant BUGIDs:
Tomas Mraz [Fri, 19 Sep 2008 13:38:32 +0000 (13:38 +0000)]
Relevant BUGIDs:

Purpose of commit: new feature

Commit summary:
---------------
2008-09-19  Tomas Mraz <t8m@centrum.cz>

        * modules/pam_cracklib/pam_cracklib.8.xml: Fix description
        of the palindrome test. Document new options maxrepeat and
        reject_username.
        * modules/pam_cracklib/pam_cracklib.c(_pam_parse): Parse
        the maxrepeat and reject_username options.
        (password_check): Call the new tests usercheck() and
        consecutive().
        (_pam_unix_approve_pass): Pass user name to the password_check().

15 years agoRelevant BUGIDs:
Thorsten Kukuk [Tue, 16 Sep 2008 14:47:45 +0000 (14:47 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

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

2008-09-16  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_cracklib/pam_cracklib.8.xml: Fix typo.

15 years agoRelevant BUGIDs:
Thorsten Kukuk [Tue, 16 Sep 2008 14:44:02 +0000 (14:44 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

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

2008-09-16  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_unix/pam_unix.8.xml: Fix typo.

16 years agoRelevant BUGIDs:
Thorsten Kukuk [Wed, 3 Sep 2008 13:06:22 +0000 (13:06 +0000)]
Relevant BUGIDs:

Purpose of commit: new feature

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

2008-09-03  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_exec/pam_exec.c: Expose authtok if requested,
        provide environment variable containing service type.
        * modules/pam_exec/pam_exec.8.xml: Document new option.

16 years agoRelevant BUGIDs: rhbz#460241
Tomas Mraz [Fri, 29 Aug 2008 07:33:20 +0000 (07:33 +0000)]
Relevant BUGIDs: rhbz#460241

Purpose of commit: bugfix

Commit summary:
---------------
2008-08-29  Tomas Mraz <t8m@centrum.cz>

        * modules/pam_loginuid/pam_loginuid.c(set_loginuid): Uids
        are unsigned.

16 years agoRelevant BUGIDs:
Thorsten Kukuk [Wed, 20 Aug 2008 19:34:45 +0000 (19:34 +0000)]
Relevant BUGIDs:

Purpose of commit: cleanup

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

Remove duplicate entry

16 years agoRelevant BUGIDs:
Thorsten Kukuk [Mon, 18 Aug 2008 13:29:21 +0000 (13:29 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

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

2008-08-18  Thorsten Kukuk  <kukuk@thkukuk.de>

        * Makefile.am (M4_FILES): Adjust list.

        * modules/pam_access/pam_access.8.xml: Fix module service
        vs. module type.
        * modules/pam_cracklib/pam_cracklib.8.xml: Likewise.
        * modules/pam_debug/pam_debug.8.xml: Likewise.
        * modules/pam_deny/pam_deny.8.xml: Likewise.
        * modules/pam_echo/pam_echo.8.xml: Likewise.
        * modules/pam_env/pam_env.8.xml: Likewise.
        * modules/pam_exec/pam_exec.8.xml: Likewise.
        * modules/pam_faildelay/pam_faildelay.8.xml: Likewise.
        * modules/pam_filter/pam_filter.8.xml: Likewise.
        * modules/pam_ftp/pam_ftp.8.xml: Likewise.
        * modules/pam_group/pam_group.8.xml: Likewise.
        * modules/pam_issue/pam_issue.8.xml: Likewise.
        * modules/pam_keyinit/pam_keyinit.8.xml: Likewise.
        * modules/pam_lastlog/pam_lastlog.8.xml: Likewise.
        * modules/pam_limits/pam_limits.8.xml: Likewise.
        * modules/pam_listfile/pam_listfile.8.xml: Likewise.
        * modules/pam_localuser/pam_localuser.8.xml: Likewise.
        * modules/pam_loginuid/pam_loginuid.8.xml: Likewise.
        * modules/pam_mail/pam_mail.8.xml: Likewise.
        * modules/pam_mkhomedir/pam_mkhomedir.8.xml: Likewise.
        * modules/pam_motd/pam_motd.8.xml: Likewise.
        * modules/pam_namespace/pam_namespace.8.xml: Likewise.
        * modules/pam_nologin/pam_nologin.8.xml: Likewise.
        * modules/pam_permit/pam_permit.8.xml: Likewise.
        * modules/pam_rhosts/pam_rhosts.8.xml: Likewise.
        * modules/pam_rootok/pam_rootok.8.xml: Likewise.
        * modules/pam_securetty/pam_securetty.8.xml: Likewise.
        * modules/pam_selinux/pam_selinux.8.xml: Likewise.
        * modules/pam_sepermit/pam_sepermit.8.xml: Likewise.
        * modules/pam_shells/pam_shells.8.xml: Likewise.
        * modules/pam_succeed_if/pam_succeed_if.8.xml: Likewise.
        * modules/pam_tally/pam_tally.8.xml: Likewise.
        * modules/pam_time/pam_time.8.xml: Likewise.
        * modules/pam_tty_audit/pam_tty_audit.8.xml: Likewise.
        * modules/pam_umask/pam_umask.8.xml: Likewise.
        * modules/pam_unix/pam_unix.8.xml: Likewise.
        * modules/pam_userdb/pam_userdb.8.xml: Likewise.
        * modules/pam_warn/pam_warn.8.xml: Likewise.
        * modules/pam_wheel/pam_wheel.8.xml: Likewise.
        * modules/pam_xauth/pam_xauth.8.xml: Likewise.

16 years agoRelevant BUGIDs:
Thorsten Kukuk [Sat, 2 Aug 2008 02:03:19 +0000 (02:03 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

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

2008-08-01  Thorsten Kukuk  <kukuk@thkukuk.de>

        * configure.in: Add version for gettext, add search path
        for m4 directory, fix handling of --disable-* options.
        Patches from Diego Pettenò <flameeyes@gmail.com>.

        * configure.in: Run autoupdate on it.

16 years agoRelevant BUGIDs:
Thorsten Kukuk [Fri, 1 Aug 2008 21:44:16 +0000 (21:44 +0000)]
Relevant BUGIDs:

Purpose of commit: cleanup

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

2008-08-01  Thorsten Kukuk  <kukuk@thkukuk.de>

        * acincludde.m4: Rename to ...
        * m4/jh_path_xml_catalog.m4: ... this.

        * m4/*.m4: Remove all autoconf m4 files.

Remove old autoconf m4 files from CVS, autogen.sh will now copy current
versions from the system. (Avoid having old buggy versions forever).

16 years agoRelevant BUGIDs: Ubuntu bug #175686
Steve Langasek [Tue, 29 Jul 2008 22:33:37 +0000 (22:33 +0000)]
Relevant BUGIDs: Ubuntu bug #175686

Purpose of commit: grammar fix

Commit summary:
---------------
2008-07-29  Steve Langasek <vorlon@debian.org>

        * modules/pam_cracklib/pam_cracklib.8.xml: correct a typo,
        "Only he" -> "Only the"

16 years agoRelevant BUGIDs:
Steve Langasek [Mon, 28 Jul 2008 20:51:56 +0000 (20:51 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix (thread safety)

Commit summary:
---------------
2008-07-28  Steve Langasek <vorlon@debian.org>

        * modules/pam_unix/passverify.c: make save_old_password()
        thread-safe by using pam_modutil_getpwnam() instead of getpwnam()
        * modules/pam_unix/passverify.c, modules/pam_unix/passverify.h,
        modules/pam_unix/pam_unix_passwd.c: add pamh argument to
        save_old_password()

16 years agoRelevant BUGIDs:
Steve Langasek [Mon, 28 Jul 2008 18:27:19 +0000 (18:27 +0000)]
Relevant BUGIDs:

Purpose of commit: cleanup

Commit summary:
---------------
2008-07-28  Steve Langasek <vorlon@debian.org>

        * libpamc/test/regress/test.libpamc.c: use standard u_int8_t
        type instead of __u8, as elsewhere.
        Patch from Roger Leigh <rleigh@debian.org>.

16 years agoRelevant BUGIDs: Debian bug #488690
Steve Langasek [Sun, 27 Jul 2008 21:59:42 +0000 (21:59 +0000)]
Relevant BUGIDs: Debian bug #488690

Purpose of commit: bugfix

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

2008-07-27  Steve Langasek <vorlon@debian.org>

        * modules/pam_env/environment, modules/pam_env/pam_env.8.xml:
        spelling fix, seperate -> separate

16 years agoRelevant BUGIDs: Debian bug #470137
Steve Langasek [Sun, 27 Jul 2008 09:11:48 +0000 (09:11 +0000)]
Relevant BUGIDs: Debian bug #470137

Purpose of commit: bugfix

Commit summary:
---------------
2008-07-27  Steve Langasek <vorlon@debian.org>

        * modules/pam_*/pam_*.8.xml: fix up the references to pam.d,
        which is in manpage section 5, not 8.

16 years agoRelevant BUGIDs: Debian bug #439984
Steve Langasek [Sun, 27 Jul 2008 04:47:54 +0000 (04:47 +0000)]
Relevant BUGIDs: Debian bug #439984

Purpose of commit: bugfix

Commit summary:
---------------
2008-07-26  Steve Langasek  <vorlon@debian.org>

        * modules/pam_env/pam_env.c: Fix module to skip over
        non-alphanumeric variable names, and to handle the case when
        asked to delete a non-existent variable.

16 years agoRelevant BUGIDs: #1980773
Tomas Mraz [Sun, 13 Jul 2008 17:14:13 +0000 (17:14 +0000)]
Relevant BUGIDs: #1980773

Purpose of commit: bugfix

Commit summary:
---------------
2008-07-13  Tomas Mraz <t8m@centrum.cz>

        * modules/pam_mail/pam_mail.8.xml: Module supports session and
        not account service (#1980773).

16 years agoRelevant BUGIDs:
Tomas Mraz [Fri, 11 Jul 2008 15:37:28 +0000 (15:37 +0000)]
Relevant BUGIDs:

Purpose of commit: new feature

Commit summary:
---------------
2008-07-11  Tomas Mraz <t8m@centrum.cz>

        * modules/pam_selinux/pam_selinux.c (config_context): Do not
        ask for the level if use_current_range is set.
        (context_from_env): New function to obtain the context from
        PAM environment variables.
        (pam_sm_open_session): Call context_from_env() if env_params option
        is present. use_current_range now modifies behavior of the
        context_from_env and config_context options.
        * modules/pam_selinux/pam_selinux.8.xml: Describe the env_params
        option. Adjust description of use_current_range option.

16 years agoRelevant BUGIDs: #2009766
Tomas Mraz [Fri, 11 Jul 2008 15:29:00 +0000 (15:29 +0000)]
Relevant BUGIDs: #2009766

Purpose of commit: bugfix

Commit summary:
---------------
2008-07-11  Tomas Mraz <t8m@centrum.cz>

        * modules/pam_unix/pam_unix_acct.c (_unix_run_verify_binary): Do
        not close the pipe descriptor in borderline case (#2009766)
        * modules/pam_unix/pam_unix_passwd.c (_unix_run_update_binary):
        Likewise.
        * modules/pam_unix/support.c (_unix_run_helper_binary): Likewise.
        * modules/pam_unix/support.h: Define upper limit of fds we will
        attempt to close.

16 years agoRelevant BUGIDs: 1976310
Thorsten Kukuk [Wed, 9 Jul 2008 14:37:51 +0000 (14:37 +0000)]
Relevant BUGIDs: 1976310

Purpose of commit: feature

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

2008-07-09  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_exec/pam_exec.c (call_exec): Move all variable
        declaration to begin of a block (#1976310).

        * xtests/tst-pam_group1.c (run_test): Move no_grps declaration
        to begin of function (#1976310).

16 years agoRelevant BUGIDs: 1994330
Thorsten Kukuk [Wed, 9 Jul 2008 13:09:10 +0000 (13:09 +0000)]
Relevant BUGIDs: 1994330

Purpose of commit: bugfix

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

2008-07-09  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_securetty/pam_securetty.8.xml: Replace
        PAM_IGNORE with PAM_USER_UNKNOWN (#1994330)

16 years agoRelevant BUGIDs:
Thorsten Kukuk [Wed, 9 Jul 2008 12:23:23 +0000 (12:23 +0000)]
Relevant BUGIDs:

Purpose of commit: new feature

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

2008-07-09  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_tally/pam_tally.c: Add support for silent and
        no_log_info options.
        * modules/pam_tally/pam_tally.8.xml: Document silent and
        no_log_info options.

16 years agoRelevant BUGIDs:
Thorsten Kukuk [Tue, 8 Jul 2008 11:20:25 +0000 (11:20 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

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

2008-07-08  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_unix/passverify.c (verify_pwd_hash): Adjust debug
        statement.

16 years agoRelevant BUGIDs:
Thorsten Kukuk [Sun, 22 Jun 2008 09:13:39 +0000 (09:13 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

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

2008-06-22  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_unix/unix_chkpwd.c (main): Fix compiling without
        audit support.

        * modules/pam_cracklib/pam_cracklib.8.xml: Fix typo in ucredit
        description (reported by Wayne Pollock <pollock@acm.org>)

16 years agoRelevant BUGIDs:
Tomas Mraz [Thu, 19 Jun 2008 12:15:57 +0000 (12:15 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------
2008-06-19  Tomas Mraz <t8m@centrum.cz>

        * modules/pam_succeed_if/pam_succeed_if.c (pam_sm_authenticate):
        Detect configuration errors. Fail on incomplete condition.

16 years agoRelevant BUGIDs:
Tomas Mraz [Tue, 20 May 2008 15:09:30 +0000 (15:09 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------
2008-05-20  Tomas Mraz <t8m@centrum.cz>

        * configure.in: Work correctly with autoconf-2.62.

16 years agoRelevant BUGIDs:
Tomas Mraz [Mon, 19 May 2008 15:37:35 +0000 (15:37 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------
2008-05-19  Tomas Mraz <t8m@centrum.cz>

        * doc/man/pam_getenv.3.xml: Correct the pam_getenv documentation.

        * doc/man/pam_prompt.3.xml: Add missing description.

16 years agoRelevant BUGIDs:
Tomas Mraz [Wed, 14 May 2008 13:54:20 +0000 (13:54 +0000)]
Relevant BUGIDs:

Purpose of commit: translation

Commit summary:
---------------
2008-05-14  Kjartan Maraas <kmaraas@gnome.org>

        * po/nb.po: Updated translation.

2008-05-14  Sulyok Péter <peti@sulyok.hu>

        * po/hu.po: Updated translation.

16 years agoRelevant BUGIDs:
Tomas Mraz [Wed, 14 May 2008 13:03:39 +0000 (13:03 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------
2008-05-14  Tomas Mraz <t8m@centrum.cz>

        * modules/pam_unix/pam_unix_passwd.c(pam_sm_chauthtok): Unset authtok
        item when password is not approved.
        * modules/pam_unix/support.c(_unix_read_password): UNIX_USE_FIRST_PASS
        is always set when UNIX_AUTHTOK is set, change order of conditions.

16 years agoRelevant BUGIDs:
Tomas Mraz [Wed, 14 May 2008 12:55:02 +0000 (12:55 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------
2008-05-14  Tomas Mraz <t8m@centrum.cz>

        * libpam/pam_modutil_getgrgid.c: Replace hardcoded constant with
        define PWD_LENGTH_SHIFT.
        * libpam/pam_modutil_getgrnam.c: Likewise.
        * libpam/pam_modutil_getpwnam.c: Likewise.
        * libpam/pam_modutil_getpwuid.c: Likewise.
        * libpam/pam_modutil_getspnam.c: Likewise.
        * libpam/pam_modutil_private.h: Adjust values for PWD_ constants.

16 years agoRelevant BUGIDs:
Tomas Mraz [Fri, 2 May 2008 12:41:32 +0000 (12:41 +0000)]
Relevant BUGIDs:

Purpose of commit: cleanup

Commit summary:
---------------
2008-05-02  Tomas Mraz <t8m@centrum.cz>

        * modules/pam_selinux/pam_selinux.c(query_response): Add handling
        for NULL response.
        (manual_context): Handle failed query_response() properly. Rename
        variable responses to response which is more correct name.
        (config_context): Likewise.
        (pam_sm_open_session): Do not base decision on whether there is a tty.

16 years agoRelevant BUGIDs: rhbz#443667
Tomas Mraz [Tue, 22 Apr 2008 19:21:37 +0000 (19:21 +0000)]
Relevant BUGIDs: rhbz#443667

Purpose of commit: bugfix

Commit summary:
---------------
2008-04-22  Tomas Mraz <t8m@centrum.cz>

        * modules/pam_selinux/pam_selinux.c(pam_sm_close_sesion): Fix
        regression from the change from 2008-03-20. setexeccon() must be
        called also with NULL prev_context.

16 years agoRelevant BUGIDs:
Thorsten Kukuk [Mon, 21 Apr 2008 11:21:12 +0000 (11:21 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

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

2008-04-21  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_access/access.conf.5.xml: Document changed behavior
        of LOCAL keyword.
        * modules/pam_access/pam_access.c: Add from_remote_host to
        struct login_info to change behavior of LOCAL keyword: if
        PAM_RHOST is not set, LOCAL will be true.

16 years agoRelevant BUGIDs:
Tomas Mraz [Fri, 18 Apr 2008 12:53:38 +0000 (12:53 +0000)]
Relevant BUGIDs:

Purpose of commit: new feature

Commit summary:
---------------
2008-04-18  Tomas Mraz <t8m@centrum.cz>

        * modules/pam_namespace/pam_namespace.c: New functions
        unprotect_dirs(), cleanup_protect_data(), protect_mount(),
        protect_dir() to protect directory by bind mount.
        (cleanup_data): Renamed to cleanup_polydir_data().
        (parse_create_params): Allow missing specification of mode
        or owner.
        (check_inst_parent): Call protect_dir() on the instance parent
        directory. The directory is created when it doesn't exist.
        (create_polydir): Protect and make the polydir by protect_dir(),
        remove potential races.
        (create_dirs): Renamed to create_instance(), remove call to
        inst_init().
        (ns_setup): Call protect_dir() on the polydir if it already exists.
        Call inst_init() after the polydir is mounted.
        (setup_namespace): Set the namespace protect data to be cleaned up
        on pam_close_session()/pam_end().
        (pam_sm_open_session): Initialize the protect_dirs.
        (pam_sm_close_session): Cleanup namespace protect data.
        * modules/pam_namespace/pam_namespace.h: Define struct for the
        stack of protected dirs.
        * modules/pam_namespace/pam_namespace.8.xml: Document when the
        instance init script is called.
        * modules/pam_namespace/namespace.conf.5.xml: Likewise.

16 years agoRelevant BUGIDs:
Tomas Mraz [Thu, 17 Apr 2008 14:29:02 +0000 (14:29 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------
2008-04-17  Tomas Mraz <t8m@centrum.cz>

        * modules/pam_sepermit/pam_sepermit.c(sepermit_match): Do not try
        to lock if euid != 0.

16 years agoRelevant BUGIDs:
Tomas Mraz [Thu, 17 Apr 2008 12:52:25 +0000 (12:52 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------
2008-04-17  Tomas Mraz <t8m@centrum.cz>

        * modules/pam_access/pam_access.c(myhostname): Removed function.
        (user_match): Supply hostname of the machine to the netgroup_match().
        Use hostname from the loginfo instead of calling myhostname().
        (pam_sm_authenticate): Call gethostname() to fill hostname in the
        loginfo.

16 years agoRelevant BUGIDs:
Tomas Mraz [Wed, 16 Apr 2008 08:21:05 +0000 (08:21 +0000)]
Relevant BUGIDs:

Purpose of commit: new feature

Commit summary:
---------------
2008-04-16  Tomas Mraz <t8m@centrum.cz>

        * modules/pam_cracklib/pam_cracklib.c(_pam_parse): Recognize also
        try_first_pass and use_first_pass options.
        (pam_sm_chauthtok): Implement the new options.

16 years agoRelevant BUGIDs:
Tomas Mraz [Wed, 16 Apr 2008 07:50:09 +0000 (07:50 +0000)]
Relevant BUGIDs:

Purpose of commit: new feature

Commit summary:
---------------
2008-04-16  Tomas Mraz <t8m@centrum.cz>

        * modules/pam_unix/Makefile.am: Link unix_chkpwd with libaudit.

        * modules/pam_unix/unix_chkpwd.c(_audit_log): New function for audit.
        (main): Call _audit_log() when appropriate.

16 years agoRelevant BUGIDs:
Tomas Mraz [Tue, 8 Apr 2008 08:56:32 +0000 (08:56 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------
2008-04-08  Tomas Mraz <t8m@centrum.cz>

        * libpam/pam_item.c (TRY_SET): Do not set when destination
        is identical to source.
        (pam_set_item): Do not overwrite destination when it
        is identical to source.

16 years agoRelevant BUGIDs:
Tomas Mraz [Tue, 8 Apr 2008 07:01:41 +0000 (07:01 +0000)]
Relevant BUGIDs:

Purpose of commit: cleanup

Commit summary:
---------------
2008-04-08  Tomas Mraz <t8m@centrum.cz>

        * modules/pam_xauth/pam_xauth.c(run_coprocess): Avoid multiple
        calls to sysconf() (based on patch by Sami Farin).

16 years agoRelevant BUGIDs:
Tomas Mraz [Mon, 7 Apr 2008 17:14:09 +0000 (17:14 +0000)]
Relevant BUGIDs:

Purpose of commit: translation

Commit summary:
---------------
2008-04-07  Miloš Komarčević <kmilos@gmail.com>

        * po/sr.po: New file with translation.
        * po/sr@latin.po: Likewise.
        * po/LINGUAS: Add sr and sr@latin.

16 years agoRelevant BUGIDs: Linux-PAM-1_0_0
Thorsten Kukuk [Fri, 4 Apr 2008 10:22:59 +0000 (10:22 +0000)]
Relevant BUGIDs:

Purpose of commit: release

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

Release Version 1.0.0

2008-04-03  Thorsten Kukuk  <kukuk@thkukuk.de>

        * release version 1.0.0

        * configure.in: Set version number to 1.0.0.
        * libpam/Makefile.am: Bump patchlevel of libpam.
        * doc/adg/Linux-PAM_ADG.xml: Update version/date.
        * doc/mwg/Linux-PAM_MWG.xml: Likewise.
        * doc/sag/Linux-PAM_SAG.xml: Likewise.

16 years agoRelevant BUGIDs:
Tomas Mraz [Mon, 31 Mar 2008 10:31:50 +0000 (10:31 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------
2008-03-31  Dan Walsh <dwalsh@redhat.com>

        * modules/pam_sepermit/pam_sepermit.c(sepermit_lock): Mark lock fd to
        be closed on exec.

16 years agoRelevant BUGIDs:
Tomas Mraz [Tue, 25 Mar 2008 12:02:15 +0000 (12:02 +0000)]
Relevant BUGIDs:

Purpose of commit: translations

Commit summary:
---------------
2008-03-25  Leah Liu <lliu@redhat.com>

        * po/zh_CN.po: Updated translation.

16 years agoRelevant BUGIDs: rhbz#438338, rhbz#438264
Tomas Mraz [Thu, 20 Mar 2008 17:06:32 +0000 (17:06 +0000)]
Relevant BUGIDs: rhbz#438338, rhbz#438264

Purpose of commit: bugfix

Commit summary:
---------------
2008-03-20  Tomas Mraz <t8m@centrum.cz>

        * modules/pam_namespace/pam_namespace.c(poly_name): Switch to USER
        method only when appropriate.
        (setup_namespace): Do not umount when not mounted with RUSER.

        * modules/pam_selinux/pam_selinux.c(pam_sm_close_session): Call
        freecontext() after the context is logged not before.

16 years agoRelevant BUGIDs:
Tomas Mraz [Tue, 18 Mar 2008 08:24:33 +0000 (08:24 +0000)]
Relevant BUGIDs:

Purpose of commit: translation

Commit summary:
---------------
2008-03-18  Canniot Thomas <thomas.canniot@mrtomlinux.org>

        * po/fr.po: Updated translation.

16 years agoRelevant BUGIDs:
Tomas Mraz [Thu, 13 Mar 2008 09:18:47 +0000 (09:18 +0000)]
Relevant BUGIDs:

Purpose of commit: translation

Commit summary:
---------------
2008-03-13  Ankit Patel <ankit@redhat.com>

        * po/gu.po: Updated translation.

16 years agoRelevant BUGIDs:
Tomas Mraz [Wed, 5 Mar 2008 20:21:38 +0000 (20:21 +0000)]
Relevant BUGIDs:

Purpose of commit: cleanup

Commit summary:
---------------
2008-03-05  Tomas Mraz <t8m@centrum.cz>

        * modules/pam_cracklib/pam_cracklib.c(pam_sm_chauthtok): Avoid
        unnecessary x_strdup() of resp.
        * modules/pam_ftp/pam_ftp(pam_sm_authenticate): Call _pam_overwrite()
        before dropping password resp.

16 years agoRelevant BUGIDs:
Tomas Mraz [Mon, 3 Mar 2008 21:09:58 +0000 (21:09 +0000)]
Relevant BUGIDs:

Purpose of commit: cleanup

Commit summary:
---------------
Just cleanup of obsolete translations.

16 years agoRelevant BUGIDs:
Tomas Mraz [Mon, 3 Mar 2008 13:23:45 +0000 (13:23 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------
2008-03-03  Tomas Mraz <t8m@centrum.cz>

        * libpam/pam_item.c(RESET): Rename to TRY_SET, handle strdup failure.
        (pam_set_item): Use TRY_SET() also for PAM_AUTHTOK and PAM_OLDAUTHTOK.
        Handle allocation failure for PAM_XAUTHDATA.
        (pam_get_user): Return error when conversation returns NULL user.
        Call pam_set_item() instead of RESET().

16 years agoRelevant BUGIDs:
Tomas Mraz [Mon, 3 Mar 2008 08:09:10 +0000 (08:09 +0000)]
Relevant BUGIDs:

Purpose of commit: translations

Commit summary:
---------------
2008-03-03  Tomas Mraz <t8m@centrum.cz>

        * modules/pam_selinux/pam_selinux.c: Do not translate syslog messages.
        * po/Linux-PAM.pot: Update.

16 years agoRelevant BUGIDs:
Tomas Mraz [Fri, 29 Feb 2008 15:22:03 +0000 (15:22 +0000)]
Relevant BUGIDs:

Purpose of commit: cleanup

Commit summary:
---------------
2008-02-26  Tomas Mraz <t8m@centrum.cz>

        * modules/pam_unix/Makefile.am: Do not link to cracklib.
        * modules/pam_unix/pam_unix_passwd.c(_pam_unix_approve_pass):
        Do not call FascistCheck() from cracklib.

16 years agoRelevant BUGIDs:
Tomas Mraz [Fri, 29 Feb 2008 15:09:12 +0000 (15:09 +0000)]
Relevant BUGIDs:

Purpose of commit: translations

Commit summary:
---------------
Updated de translation.

16 years agoRelevant BUGIDs:
Tomas Mraz [Thu, 28 Feb 2008 11:59:32 +0000 (11:59 +0000)]
Relevant BUGIDs:

Purpose of commit: translations

Commit summary:
---------------
po/pl.po: Updated translation.

16 years agoRelevant BUGIDs:
Tomas Mraz [Tue, 26 Feb 2008 13:23:22 +0000 (13:23 +0000)]
Relevant BUGIDs:

Purpose of commit: translations

Commit summary:
---------------
2008-02-26  Tomas Mraz <t8m@centrum.cz>

        * po/LINUGAS: New languages added.
        * po/es.po: Updated translations.
        * po/fr.po: Likewise.
        * po/it.po: Likewise.
        * po/ja.po: Likewise.
        * po/nl.po: Likewise.
        * po/pl.po: Likewise.
        * po/pt_BR.po: Likewise.
        * po/ru.po: Likewise.
        * po/zh_CN.po: Likewise.
        * po/as.po: New file.
        * po/gu.po: Likewise.
        * po/hi.po: Likewise.
        * po/kn.po: Likewise.
        * po/ko.po: Likewise.
        * po/ml.po: Likewise.
        * po/or.po: Likewise.
        * po/si.po: Likewise.
        * po/ta.po: Likewise.

16 years agoRelevant BUGIDs: rhbz#433459
Tomas Mraz [Thu, 21 Feb 2008 21:12:30 +0000 (21:12 +0000)]
Relevant BUGIDs: rhbz#433459

Purpose of commit: bugfix

Commit summary:
---------------
2008-02-21  Tomas Mraz <t8m@centrum.cz>

        * libpam/pam_audit.c (_pam_audit_writelog): Silence syslog
        message on non-error return.

        * modules/pam_unix/unix_chkpwd.c (main): Proceed as unprivileged
        user when checking password of another user.
        * modules/pam_unix/unix_update.c: Fix comment.

16 years agoRelevant BUGIDs:
Dmitry V. Levin [Mon, 18 Feb 2008 17:57:34 +0000 (17:57 +0000)]
Relevant BUGIDs:

Purpose of commit: cleanup

Commit summary:
---------------
Rename tst-pam_assemble_line to tst-pam_assemble_line1

16 years agoRelevant BUGIDs:
Dmitry V. Levin [Mon, 18 Feb 2008 15:25:09 +0000 (15:25 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------
2008-02-18  Dmitry V. Levin  <ldv@altlinux.org>

* xtests/Makefile.am (EXTRA_DIST): Add tst-pam_assemble_line.pamd
and tst-pam_assemble_line.sh

16 years agoRelevant BUGIDs:
Dmitry V. Levin [Mon, 18 Feb 2008 13:37:46 +0000 (13:37 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------
2008-02-18  Dmitry V. Levin  <ldv@altlinux.org>

* libpam/pam_handlers.c (_pam_assemble_line): Fix potential
buffer overflow.
* xtests/tst-pam_assemble_line.pamd: New test for
_pam_assemble_line.
* xtests/tst-pam_assemble_line.sh: New script for
tst-pam_assemble_line.
* xtests/Makefile.am (NOSRCTESTS): Add tst-pam_assemble_line.

16 years agoRelevant BUGIDs:
Dmitry V. Levin [Mon, 18 Feb 2008 13:18:43 +0000 (13:18 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------
2008-02-18  Dmitry V. Levin  <ldv@altlinux.org>

* modules/pam_exec/pam_exec.c (call_exec): Fix asprintf return
code check.

16 years agoRelevant BUGIDs: Linux-PAM-0_99_10_0
Thorsten Kukuk [Wed, 13 Feb 2008 15:19:16 +0000 (15:19 +0000)]
Relevant BUGIDs:

Purpose of commit: prepare release

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

Missing pieces for a 0.99.10.0 release

2008-02-13  Thorsten Kukuk  <kukuk@thkukuk.de>

        * release version 0.99.10.0

        * configure.in: set version number.

16 years agoRelevant BUGIDs:
Thorsten Kukuk [Wed, 13 Feb 2008 14:39:41 +0000 (14:39 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

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

2008-02-13  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_rhosts/Makefile.am: Remove pam_rhosts_auth.
        * modules/pam_rhosts/pam_rhosts_auth.c: Removed.
        * modules/pam_rhosts/tst-pam_rhosts_auth: Removed.

        * modules/pam_namespace/Makefile.am (noinst_HEADERS): Add
        pam_namespace.h.

16 years agoRelevant BUGIDs:
Tomas Mraz [Wed, 13 Feb 2008 12:49:43 +0000 (12:49 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix, new feature

Commit summary:
---------------
2008-02-13  Tomas Mraz  <t8m@centrum.cz>

        * modules/pam_namespace/Makefile.am: Add argv_parse files and namespace.d
        dir.
        * modules/pam_namespace/argv_parse.c: New file.
        * modules/pam_namespace/argv_parse.h: New file.
        * modules/pam_namespace/namespace.conf.5.xml: Document new features.
        * modules/pam_namespace/pam_namespace.8.xml: Likewise.
        * modules/pam_namespace/pam_namespace.h: Use SECURECONF_DIR define.
        Define NAMESPACE_D_DIR and NAMESPACE_D_GLOB. Define new option flags
        and polydir flags.
        (polydir_s): Add rdir, replace exclusive with flags, add init_script,
        owner, group, and mode.
        (instance_data): Add ruser, gid, and ruid.
        * modules/pam_namespace/pam_namespace.c: Remove now unused copy_ent().
        (add_polydir_entry): Add the entry directly, no copy.
        (del_polydir): New function.
        (del_polydir_list): Call del_polydir().
        (expand_variables, parse_create_params, parse_iscript_params,
        parse_method): New functions.
        (process_line): Call expand_variables() on polydir and instance prefix.
        Call argv_parse() instead of strtok_r(). Allocate struct polydir_s on heap.
        (parse_config_file): Parse .conf files from namespace.d dir after
        namespace.conf.
        (form_context): Call getcon() or get_default_context_with_level() when
        appropriate flags are set.
        (poly_name): Handle shared polydir flag.
        (inst_init): Execute non-default init script when specified.
        (create_polydir): New function.
        (create_dirs): Remove the code which checks the polydir. Do not call
        inst_init() when noinit flag is set.
        (ns_setup): Check the polydir and eventually create it if the create flag
        is set.
        (setup_namespace): Use ruser uid from idata. Set the namespace polydir
        pam data only when namespace was set up correctly. Unmount polydir
        based on ruser.
        (get_user_data): New function.
        (pam_sm_open_session): Check for use_current_context and
        use_default_context options. Call get_user_data().
        (pam_sm_close_session): Call get_user_data().

16 years agoRelevant BUGIDs:
Thorsten Kukuk [Mon, 4 Feb 2008 15:27:31 +0000 (15:27 +0000)]
Relevant BUGIDs:

Purpose of commit: new feature

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

2008-02-04  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_exec/pam_exec.c: Set PAM environment variables and
        add 'quiet' option.
        * modules/pam_exec/pam_exec.8.xml: Document new behavior.
        Patch from Julien Lecomte <julien@lecomte.at>.

16 years agoRelevant BUGIDs:
Thorsten Kukuk [Mon, 4 Feb 2008 15:05:51 +0000 (15:05 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfixes

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

2008-02-04  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_sepermit/Makefile.am: Install config file only
        if we build the module.

        * doc/Makefile.am: Fix build out of source directory.

        * po/POTFILES.in: Add pam_sepermit.c.

16 years agoRelevant BUGIDs:
Thorsten Kukuk [Mon, 4 Feb 2008 14:00:20 +0000 (14:00 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

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

2008-02-04  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/Makefile.am: Add pam_sepermit.

16 years agoRelevant BUGIDs:
Thorsten Kukuk [Mon, 4 Feb 2008 13:37:35 +0000 (13:37 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfixes

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

2008-02-04  Thorsten Kukuk  <kukuk@thkukuk.de>

        * libpam/pam_static_modules.h: Add _pam_sepermit_modstruct.
        * modules/pam_sepermit/pam_sepermit.c: Fix typo.

        * README: Add --disable-pie to configure options for static library.

        * doc/man/Makefile.am: Fix building outside of src directory.

16 years agoRelevant BUGIDs:
Tomas Mraz [Fri, 1 Feb 2008 16:22:23 +0000 (16:22 +0000)]
Relevant BUGIDs:

Purpose of commit: new feature

Commit summary:
---------------
2008-02-01  Tomas Mraz  <t8m@centrum.cz>

        * modules/pam_namespace/namespace.conf.5.xml: Add documentation for
        tmpfs and tmpdir polyinst and for ~ user list modifier.
        * modules/pam_namespace/namespace.init: Add documentation for the
        new init parameter. Add home directory initialization script.
        * modules/pam_namespace/pam_namespace.8.xml: Document the new
        init parameter of the namespace.init script.
        * modules/pam_namespace/pam_namespace.c(copy_ent): Copy exclusive flag.
        (cleanup_data): New function.
        (process_line): Set exclusive flag. Add tmpfs and tmpdir methods.
        (ns_override): Change behavior on the exclusive flag.
        (poly_name): Process tmpfs and tmpdir methods.
        (inst_init): Add flag for new directory initialization.
        (create_dirs): Process the tmpdir method, add the new directory
        flag.
        (ns_setup): Remove unused code. Process the tmpfs method.
        (cleanup_tmpdirs): New function.
        (setup_namespace): Set data for proper cleanup. Cleanup the tmpdirs
        on failures.
        (pam_sm_close_session): Instead of parsing the config file again use
        the previously set data for cleanup.
        * modules/pam_namespace/pam_namespace.h: Add TMPFS and TMPDIR methods
        and exclusive flag.

16 years agoRelevant BUGIDs:
Tomas Mraz [Tue, 29 Jan 2008 15:38:34 +0000 (15:38 +0000)]
Relevant BUGIDs:

Purpose of commit: new feature

Commit summary:
---------------
2008-01-29  Tomas Mraz  <t8m@centrum.cz>

        * configure.in: Test for setkeycreatecon needs libselinux.
        Add new module pam_sepermit.
        * modules/Makefile.am: Add new module pam_sepermit.
        * modules/pam_sepermit/.cvsignore: New file.
        * modules/pam_sepermit/Makefile.am: Likewise.
        * modules/pam_sepermit/README.xml: Likewise.
        * modules/pam_sepermit/pam_sepermit.8.xml: Likewise.
        * modules/pam_sepermit/pam_sepermit.c: Likewise.
        * modules/pam_sepermit/sepermit.conf: Likewise.
        * modules/pam_sepermit/tst-pam_sepermit: Likewise.
        * doc/sag/pam_sepermit.xml: Likewise.

        * doc/sag/pam_tty_audit.xml: Add pam_tty_audit to SAG.

16 years agoRelevant BUGIDs:
Tomas Mraz [Tue, 29 Jan 2008 15:09:29 +0000 (15:09 +0000)]
Relevant BUGIDs:

Purpose of commit: new feature

Commit summary:
---------------
2008-01-29  Miloslav Trmac  <mitr@redhat.com>

        * modules/pam_tty_audit/README.xml: Add notes section.
        * modules/pam_tty_audit/pam_tty_audit.8.xml: Describe patterns
        support and open_only option. Add notes.
        * modules/pam_tty_audit/pam_tty_audit.c(pam_sm_open_session): Add
        support for pattern matching and the open_only option.

16 years agoRelevant BUGIDs:
Thorsten Kukuk [Mon, 28 Jan 2008 14:50:21 +0000 (14:50 +0000)]
Relevant BUGIDs:

Purpose of commit: cleanup

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

2008-01-28  Thorsten Kukuk  <kukuk@thkukuk.de>

        * libpam/pam_audit.c: Include pam_modutil_private.h.

        * libpam/pam_item.c (pam_set_item): Fix compiler warning.

        * libpam/pam_end.c (pam_end): Cast to correct pointer type.
        * libpam/include/security/_pam_macros.h (_pam_overwrite_n): Use
        unsigned int.