1 2010-06-22 Thorsten Kukuk <kukuk@thkukuk.de>
3 * configure.in: Don't check for libxcrypt if no xcrypt.h exists,
4 fix typo introduced with 1.1.1.
5 Reported by Diego Elio “Flameeyes” Pettenò.
7 2010-06-15 Thorsten Kukuk <kukuk@thkukuk.de>
9 * modules/pam_xauth/pam_xauth.c (pam_sm_close_session): Call
10 setfsuid to be allowed to remove temporary files (#3010705).
11 (pam_sm_open_session): Call fchown with correct permissions.
13 2010-06-09 Thorsten Kukuk <kukuk@thkukuk.de>
15 * modules/pam_tty_audit/Makefile.am (TESTS): Add tst-pam_tty_audit.
16 * modules/pam_tty_audit/tst-pam_tty_audit: New.
18 2010-06-07 Steve Langasek <vorlon@debian.org>
20 * modules/pam_tty_audit/Makefile.am: If we don't have the libraries
21 required for building pam_tty_audit, we shouldn't install the manpage
24 2010-05-27 Thorsten Kukuk <kukuk@thkukuk.de>
26 * modules/pam_userdb/pam_userdb.c: Define HAVE_DBM
27 for BerkDB 5.0 support. Patch by Diego Elio Pettenò.
29 2010-04-15 Thorsten Kukuk <kukuk@thkukuk.de>
31 * modules/pam_exec/pam_exec.8.xml: Fix example.
33 2010-04-13 Thorsten Kukuk <kukuk@thkukuk.de>
35 * modules/pam_pwhistory/opasswd.c: Fix compilation if
36 cyprt_r() is not available.
37 * configure.in: check for getutent_r.
38 * modules/pam_timestamp/pam_timestamp.c: Use getutent()
39 if getutent_r() does not exist.
40 Patch from Diego Elio “Flameeyes” Pettenò.
42 2010-04-12 Thorsten Kukuk <kukuk@thkukuk.de>
44 * doc/man/pam.conf-syntax.xml: Better documentation of
45 "actionN". Patch from Michal Soltys <soltys@ziu.info>.
47 2010-04-06 Thorsten Kukuk <kukuk@thkukuk.de>
49 * modules/pam_rootok/pam_rootok.c: Add support for acct_mgmt
51 * modules/pam_rootok/pam_rootok.8.xml: Document new module
54 2010-03-29 Thorsten Kukuk <kukuk@thkukuk.de>
56 * po/ar.po: Add missing Plural-Forms entry to header.
58 2010-03-25 Daniel Nylander <po@danielnylander.se>
60 * po/sv.po: Updated translations.
62 2010-03-24 Ani Peter <anipeter@fedoraproject.org>
64 * po/ml.po: Updated translations.
66 2010-03-08 Yuri Chornoivan <yurchor@ukr.net>
68 * po/uk.po: Updated translations.
70 2010-02-09 Tomas Mraz <t8m@centrum.cz>
72 * libpam/pam_get_authtok.c (pam_get_authtok_internal): Fix
73 regression in the new password prompt.
75 2010-01-04 Elad <el.il@doom.co.il>
77 * po/he.po: New translation to Hebrew.
78 * po/LINGUAS: Add Hebrew to the list.
80 2009-12-16 Thorsten Kukuk <kukuk@suse.de>
82 * release version 1.1.1
84 * NEWS: Adjust for 1.1.1
85 * configure.in: Likewise.
86 * doc/adg/Linux-PAM_ADG.xml: Likewise.
87 * doc/mwg/Linux-PAM_MWG.xml: Likewise.
88 * doc/sag/Linux-PAM_SAG.xml: Likewise.
89 * po/*.po: Regenerated.
91 2009-12-08 Thorsten Kukuk <kukuk@thkukuk.de>
93 * configure.in: Rename DEBUG to PAM_DEBUG.
94 * libpam/pam_env.c: Likewise
95 * libpam/pam_handlers.c: Likewise
96 * libpam/pam_miscc.c: Likewise
97 * libpam/pam_password.c: Likewise
98 * libpam/include/security/_pam_macros.h: Likewise
99 * libpamc/test/modules/pam_secret.c: Likewise
100 * modules/pam_group/pam_group.c: Likewise
101 * modules/pam_listfile/pam_listfile.c: Likewise
102 * modules/pam_unix/pam_unix_auth.c: Likewise
103 * modules/pam_unix/pam_unix_passwd.c: Likewise
105 2009-12-08 Tomas Mraz <t8m@centrum.cz>
107 * modules/pam_unix/passverify.c(unix_update_shadow): Create a shadow
108 entry if not present in the file.
110 * modules/pam_listfile/pam_listfile.c(pam_sm_authenticate): Remove
111 unused function and variable.
113 2009-11-19 Tomas Mraz <t8m@centrum.cz>
115 * modules/pam_sepermit/pam_sepermit.c(sepermit_match): Return
116 PAM_AUTH_ERR from the module if sepermit_lock() fails.
118 2009-11-18 Tomas Mraz <t8m@centrum.cz>
120 * modules/pam_access/pam_access.c(user_match): Revert the netgroup
121 match to the original behavior, add new syntax for adding the local
123 * modules/pam_access/access.conf.5.xml: Document the new syntax
124 for adding the local hostname to the netgroup match.
126 2009-11-10 Thorsten Kukuk <kukuk@suse.de>
128 * doc/man/pam_get_authtok.3.xml: Document pam_get_authtok_noverify
129 and pam_get_authtok_verify.
131 * libpam/Makefile.am (libpam_la_LDFLAGS): Bump revesion of libpam.
133 * libpam/pam_get_authtok.c (pam_get_authtok_internal): Renamed
134 from pam_get_authtok, add flags argument, always check return
137 * modules/pam_cracklib/pam_cracklib.c (pam_sm_chauthtok): Use
138 pam_get_authtok_noverify and pam_get_authtok_verify.
140 * libpam/include/security/pam_ext.h: Add prototypes for
141 pam_get_authtok_noverify and pam_get_authtok_verify.
143 * libpam/libpam.map: Add new pam_get_authtok_* functions.
145 2009-11-02 Ani Peter <anipeter@fedoraproject.org>
147 * po/ml.po: Updated translations.
149 2009-11-02 Tomas Mraz <t8m@centrum.cz>
151 * modules/pam_sepermit/Makefile.am: Add sepermit.conf(5) manual page.
152 * modules/pam_sepermit/pam_sepermit.8.xml: Add reference to
153 sepermit.conf(5). Drop some redundant text.
154 * modules/pam_sepermit/sepermit.conf.5.xml: New file.
156 * modules/pam_sepermit/pam_sepermit.c(sepermit_match): Implement the ignore
157 option in sepermit.conf.
159 2009-10-29 Tomas Mraz <t8m@centrum.cz>
161 * modules/pam_xauth/Makefile.am: Link with libselinux.
162 * modules/pam_xauth/pam_xauth.c(pam_sm_open_session): Call
163 setfscreatecon() if selinux is enabled to create the .xauth file
164 with the right label. Original idea by Dan Walsh.
166 2009-10-08 Tomas Mraz <t8m@centrum.cz>
168 * modules/pam_tty_audit/pam_tty_audit.8.xml: Add notice about aureport
169 add SEE ALSO section.
171 2009-10-06 Tomas Mraz <t8m@centrum.cz>
173 * modules/pam_listfile/pam_listfile.c(pam_sm_authenticate): Just
174 call pam_modutil_user_in_group_nam_nam() instead of reimplementation
177 2009-10-05 Kris Thomsen <lakristho@gmail.com>
179 * po/da.po: Updated translations.
181 2009-09-29 Piotr Drąg <piotrdrag@gmail.com>
183 * po/pl.po: Updated translations.
185 2009-09-21 Yulia Poyarkova <yulia.poyarkova@redhat.com>
187 * po/ru.po: Updated translations.
189 2009-09-17 Kiyoto Hashida <khashida@redhat.com>
191 * po/ja.po: Updated translations.
193 2009-09-17 Eunju Kim <eukim@redhat.com>
195 * po/ko.po: Updated translations.
197 2009-09-17 Yulia Poyarkova <yulia.poyarkova@redhat.com>
199 * po/ru.po: Updated translations.
201 2009-09-10 Steve Langasek <vorlon@debian.org>
203 * modules/pam_securetty/pam_securetty.c: pam_securetty should not
204 return PAM_USER_UNKNOWN when the tty is secure, regardless of what
205 was entered as a username.
206 Patch from Nicolas François <nicolas.francois@centraliens.net>.
208 2009-08-31 Steve Langasek <vorlon@debian.org>
210 * modules/pam_namespace/namespace.init: make this portable to POSIX
211 awk, instead of using GNU awk extensions.
213 2009-08-25 Steve Langasek <vorlon@debian.org>
215 * modules/pam_sepermit/pam_sepermit.8.xml: fix up one reference
216 to pam.d(8) left behind because I've forgotten how CVS works
217 * po/es.po: fix missing whitespace in password prompts.
219 2009-08-24 Steve Langasek <vorlon@debian.org>
221 * doc/pam_get_authtok.3.xml: grammar fix.
222 * doc/adg/Linux-PAM-ADG.xml: Likewise.
223 * doc/mwg/Linux-PAM_MWG.xml: Likewise.
224 * doc/man/pam_setcred.3.xml: fix a typo.
226 2009-07-21 Thorsten Kukuk <kukuk@thkukuk.de>
228 * modules/pam_cracklib/pam_cracklib.c (pam_sm_chauthtok): Delete
229 new token if it does not match strength criteria.
231 2009-06-29 Thorsten Kukuk <kukuk@thkukuk.de>
233 * modules/pam_unix/yppasswd_xdr.c: Remove unnecessary header files.
235 * modules/pam_unix/support.c (_unix_getpwnam): Only compile in NIS
236 support if all necessary functions exist.
238 * modules/pam_unix/pam_unix_passwd.c (getNISserver): Add debug
239 option, handle correct if OS has no NIS support.
241 * modules/pam_access/pam_access.c (netgroup_match): Check if
242 yp_get_default_domain and innetgr are available at compile time.
244 * configure.in: Check for functions: innetgr, getdomainname
245 check for headers: rpcsvc/ypclnt.h, rpcsvc/yp_prot.h.
247 2009-06-29 Thorsten Kukuk <kukuk@thkukuk.de>
249 * modules/pam_unix/pam_unix.8.xml: Fix blowfish description.
250 Reported by Diego E. “Flameeyes” Pettenò.
252 2009-06-26 Thorsten Kukuk <kukuk@thkukuk.de>
254 * modules/pam_namespace/Makefile.am: Fix make maintainer-clean,
255 fix docu dependencies.
257 * modules/pam_xauth/Makefile.am: Fix make maintainer-clean.
258 * modules/pam_access/Makefile.am: Likewise.
259 * modules/pam_debug/Makefile.am: Likewise.
260 * modules/pam_deny/Makefile.am: Likewise.
261 * modules/pam_echo/Makefile.am: Likewise.
262 * modules/pam_env/Makefile.am: Likewise.
263 * modules/pam_faildelay/Makefile.am: Likewise.
264 * modules/pam_ftp/Makefile.am: Likewise.
265 * modules/pam_group/Makefile.am: Likewise.
266 * modules/pam_issue/Makefile.am: Likewise.
267 * modules/pam_keyinit/Makefile.am: Likewise.
268 * modules/pam_lastlog/Makefile.am: Likewise.
269 * modules/pam_limits/Makefile.am: Likewise.
270 * modules/pam_listfile/Makefile.am: Likewise.
271 * modules/pam_localuser/Makefile.am: Likewise.
272 * modules/pam_loginuid/Makefile.am: Likewise.
273 * modules/pam_mail/Makefile.am: Likewise.
274 * modules/pam_mkhomedir/Makefile.am: Likewise.
275 * modules/pam_motd/Makefile.am: Likewise.
276 * modules/pam_nologin/Makefile.am: Likewise.
277 * modules/pam_pwhistory/Makefile.am: Likewise.
278 * modules/pam_rhosts/Makefile.am: Likewise.
279 * modules/pam_rootok/Makefile.am: Likewise.
280 * modules/pam_securetty/Makefile.am: Likewise.
281 * modules/pam_shells/Makefile.am: Likewise.
282 * modules/pam_succeed_if/Makefile.am: Likewise.
283 * modules/pam_tally2/Makefile.am: Likewise.
284 * modules/pam_tally/Makefile.am: Likewise.
285 * modules/pam_time/Makefile.am: Likewise.
286 * modules/pam_timestamp/Makefile.am: Likewise.
287 * modules/pam_tty_audit/Makefile.am: Likewise.
288 * modules/pam_umask/Makefile.am: Likewise.
289 * modules/pam_unix/Makefile.am: Likewise.
290 * modules/pam_warn/Makefile.am: Likewise.
291 * modules/pam_wheel/Makefile.am: Likewise.
292 * modules/pam_filter/Makefile.am: Likewise.
294 * configure.in: Make regeneration of docu configureable,
295 rename enable_man to enable_docu.
297 * modules/pam_env/pam_env.c (_pam_parse): Fix typo in debug
300 * modules/pam_cracklib/Makefile.am: Don't install docu if
301 module is disabled for building.
302 * modules/pam_userdb/Makefile.am: Likewise.
304 * modules/pam_unix/pam_unix_passwd.c: Remove dead SELinux
307 * modules/pam_lastlog/pam_lastlog.c (last_login_failed): Fix
308 usage of wrong variable [bug#2809661].
310 2009-06-25 Thorsten Kukuk <kukuk@thkukuk.de>
312 * configure.in: Rename crypt_gensalt_rn to crypt_gensalt_r
313 * modules/pam_unix/passverify.c: Likewise.
315 2009-06-19 Thorsten Kukuk <kukuk@thkukuk.de>
317 * release version 1.1.0
319 2009-06-16 Thorsten Kukuk <kukuk@thkukuk.de>
321 * doc/sag/Linux-PAM_SAG.xml: Fix typos.
322 * doc/adg/Linux-PAM_ADG.xml: Likewise.
323 * doc/mwg/Linux-PAM_MWG.xml: Likewise.
325 2009-06-08 Rajesh Ranjan <rajesh672@gmail.com>
327 * po/hi.po: Updated translations.
329 2009-06-01 Jaswinder Singh <jsingh@redhat.com>
331 * po/pa.po: Updated translations.
333 2009-06-01 Tomáš Mráz <t8m@centrum.cz>
335 * modules/pam_pwhistory/opasswd.c (save_old_password): Don't
336 call fclose() on NULL descriptor. Found by Steve Grubb.
338 2009-06-01 Ville Skyttä <ville.skytta@iki.fi>
340 * modules/pam_limits/pam_limits.8.xml: Only *.conf
341 files are parsed. Spelling fixes.
342 * modules/pam_access/pam_access.8.xml: Spelling fixes.
343 * modules/pam_cracklib/pam_cracklib.8.xml: Likewise.
344 * modules/pam_echo/pam_echo.8.xml: Likewise.
345 * modules/pam_env/pam_env.8.xml: Likewise.
346 * modules/pam_exec/pam_exec.8.xml: Likewise.
347 * modules/pam_filter/pam_filter.8.xml: Likewise.
348 * modules/pam_ftp/pam_ftp.8.xml: Likewise.
349 * modules/pam_group/pam_group.8.xml: Likewise.
350 * modules/pam_issue/pam_issue.8.xml: Likewise.
351 * modules/pam_lastlog/pam_lastlog.8.xml: Likewise.
352 * modules/pam_listfile/pam_listfile.8.xml: Likewise.
353 * modules/pam_localuser/pam_localuser.8.xml: Likewise.
354 * modules/pam_loginuid/pam_loginuid.8.xml: Likewise.
355 * modules/pam_mkhomedir/pam_mkhomedir.8.xml: Likewise.
356 * modules/pam_motd/pam_motd.8.xml: Likewise.
357 * modules/pam_namespace/pam_namespace.8.xml: Likewise.
358 * modules/pam_pwhistory/pam_pwhistory.8.xml: Likewise.
359 * modules/pam_selinux/pam_selinux.8.xml: Likewise.
360 * modules/pam_succeed_if/pam_succeed_if.8.xml: Likewise.
361 * modules/pam_tally/pam_tally.8.xml: Likewise.
362 * modules/pam_tally2/pam_tally2.8.xml: Likewise.
363 * modules/pam_time/pam_time.8.xml: Likewise.
364 * modules/pam_timestamp/pam_timestamp.8.xml: Likewise.
365 * modules/pam_timestamp/pam_timestamp_check.8.xml: Likewise.
366 * modules/pam_tty_audit/pam_tty_audit.8.xml: Likewise.
367 * modules/pam_umask/pam_umask.8.xml: Likewise.
368 * modules/pam_unix/pam_unix.8.xml: Likewise.
369 * modules/pam_xauth/pam_xauth.8.xml: Likewise.
371 2009-05-28 Jaswinder Singh <jsingh@redhat.com>
373 * po/pa.po: Updated translations.
375 2009-05-21 Albert Carabasa Giribet <albertc@asic.udl.cat>
377 * po/ca.po: Updated translations.
379 2009-05-11 Ani Peter <anipeter@fedoraproject.org>
381 * po/ml.po: Updated translations.
383 2009-05-11 Charles-Antoine Couret <cacouret@wanadoo.fr>
385 * po/fr.po: Updated translations.
387 2009-05-11 Tomáš Mráz <t8m@centrum.cz>
389 * modules/pam_unix/pam_unix_passwd.c (_unix_run_update_binary): Remove
390 unnecessary setuid() call.
392 2009-05-05 Thorsten Kukuk <kukuk@thkukuk.de>
394 * release version 1.0.92
395 * libpamc/Makefile.am (libpamc_la_LDFLAGS): Increase revesion.
396 * configure.in: Increase version to 1.0.92.
398 2009-04-20 Mario Santagiuliana <mario@marionline.it>
400 * po/it.po: Updated translations.
402 2009-04-17 Fabian Affolter <fab@fedoraproject.org>
404 * po/de.po: Updated translations.
406 2009-04-16 Tomáš Mráz <t8m@centrum.cz>
408 * modules/pam_succeed_if/pam_succeed_if.c (evaluate): Add user
409 parameter. Use user instead of pwd->pw_name in comparsions.
410 (pam_sm_authenticate): Pass the original user to evaluate().
412 2009-04-14 Amitakhya Phukan <aphukan@fedoraproject.org>
414 * po/as.po: Updated translations.
416 2009-04-14 Runa Bhattacharjee <runab@fedoraproject.org>
418 * po/bn_IN.po: Updated translations.
420 2009-04-14 Sweta Kothari <swkothar@redhat.com>
422 * po/gu.po: Updated translations.
424 2009-04-14 Sandeep Shedmake <sandeep.shedmake@gmail.com>
426 * po/mr.po: Updated translations.
428 2009-04-14 Rui Gouveia <rui.gouveia@globaltek.pt>
430 * po/pt.po: Updated translations.
432 2009-04-14 I. Felix <ifelix@redhat.com>
434 * po/ta.po: Updated translations.
436 2009-04-14 Krishna Babu K <kkrothap@redhat.com>
438 * po/te.po: Updated translations.
440 2009-04-09 Thorsten Kukuk <kukuk@thkukuk.de>
442 * modules/pam_unix/yppasswd.h: Update license to GPLv2 or later
443 on request of Olaf Kirch (Author).
444 * modules/pam_unix/yppasswd_xdr.c: Likewise.
446 2009-04-06 R.E. van der Luit <nippur@fedoraproject.org>
448 * po/nl.po: Updated translations.
450 2009-04-06 Terry Chuang <tchuang@redhat.com>
452 * po/zh_TW.po: Updated translations.
454 2009-04-03 Shankar Prasad <svenkate@redhat.com>
456 * po/kn.po: Updated translations.
458 2009-04-03 Manoj Kumar Giri <mgiri@redhat.com>
460 * po/or.po: Updated translations.
462 2009-04-03 Miloš Komarčević <kmilos@gmail.com>
464 * po/sr.po: Updated translations.
465 * po/sr@latin.po: Updated translations.
467 2009-04-03 Leah Liu <lliu@redhat.com>
469 * po/zh_CN.po: Updated translations.
471 2009-04-03 Dmitry V. Levin <ldv@altlinux.org>
473 * libpamc/pamc_load.c (__pamc_exec_agent): Replace call to exit(3)
474 in child process with call to _exit(2).
475 * modules/pam_mkhomedir/pam_mkhomedir.c (create_homedir): Likewise.
476 * modules/pam_unix/pam_unix_acct.c (_unix_run_verify_binary):
478 * modules/pam_unix/pam_unix_passwd.c (_unix_run_update_binary):
480 * modules/pam_unix/support.c (_unix_run_helper_binary): Likewise.
481 * modules/pam_xauth/pam_xauth.c (run_coprocess): Likewise.
482 * modules/pam_exec/pam_exec.c (call_exec): Replace all calls to
483 exit(3) in child process with calls to _exit(2).
484 * modules/pam_filter/pam_filter.c (set_filter): Likewise.
485 * modules/pam_namespace/pam_namespace.c (inst_init,
486 cleanup_tmpdirs): Likewise.
488 2009-03-27 Thorsten Kukuk <kukuk@thkukuk.de>
490 * modules/pam_unix/support.c (_unix_run_helper_binary): Don't
491 ignore return value of write().
493 * libpamc/include/security/pam_client.h (PAM_BP_ASSERT): Honour
495 * modules/pam_timestamp/pam_timestamp.c: don't ignore return
496 values of lchown and fchown.
498 2009-03-25 Thorsten Kukuk <kukuk@thkukuk.de>
500 * modules/pam_mkhomedir/pam_mkhomedir.c: Make option handling
502 (_pam_parse): Fix umask option.
504 * modules/pam_unix/passverify.c: Fix typo.
506 * modules/pam_issue/pam_issue.c: Fix compiler warning.
507 * modules/pam_ftp/pam_ftp.c: Likewise.
509 2009-03-25 Pavol Šimo <palo.simo@gmail.com>
511 * po/sk.po: Updated translations.
513 2009-03-24 Sulyok Péter <peti@sulyok.hu>
515 * po/hu.po: Updated translations.
517 2009-03-24 Domingo Becker <domingobecker@gmail.com>
519 * po/es.po: Updated translations.
521 2009-03-24 Diego Búrigo Zacarão <diegobz@projetofedora.org>
523 * po/pt_BR.po: Updated translations.
525 2009-03-24 Piotr Drąg <piotrdrag@gmail.com>
527 * po/pl.po: Updated translations.
529 2009-03-24 Tomas Mraz <t8m@centrum.cz>
531 * modules/pam_unix/passverify.c(save_old_password): Call fflush() and
533 (unix_update_passwd, unix_update_shadow): Likewise.
534 * modules/pam_pwhistory/opasswd.c(save_old_password): Likewise.
536 * po/cs.po: Updated translations.
538 2009-03-09 Thorsten Kukuk <kukuk@thkukuk.de>
540 * release version 1.0.91
542 * libpam/Makefile.am (libpam_la_LDFLAGS): Bump version number.
543 * xtests/Makefile.am: Add tst-pam_unix4.pamd, tst-pam_unix4.sh
546 2009-03-03 Dmitry V. Levin <ldv@altlinux.org>
548 * tests/tst-pam_mkargv.c (main): Fix for non-64bit architectures.
550 2009-03-03 Tomas Mraz <t8m@centrum.cz>
552 * modules/pam_unix/pam_unix_acct.c(_unix_run_verify_binary): Test
553 for abnormal exit of the helper binary.
554 * modules/pam_unix/pam_unix_passwd.c(_unix_run_update_binary): Likewise.
555 * modules/pam_unix/support.c(_unix_run_helper_binary): Likewise.
556 * modules/pam_mkhomedir/pam_mkhomedir.c(create_homedir): Likewise.
558 2009-02-27 Tomas Mraz <t8m@centrum.cz>
560 * modules/pam_mkhomedir/pam_mkhomedir.c(create_homedir): Replace
561 signal() with sigaction().
562 * modules/pam_namespace/pam_namespace.c(inst_init, cleanup_tmpdirs):
564 * modules/pam_unix/pam_unix_acct.c(_unix_run_verify_binary): Likewise.
565 * modules/pam_unix/pam_unix_passwd.c(_unix_run_update_binary):
567 * modules/pam_unix/passverify.c(su_sighandler): Likewise.
568 * modules/pam_unix/support.c(_unix_run_helper_binary): Likewise.
570 * modules/pam_tally2/Makefile.am: Link the pam_tally2 app to libpam
571 for auxiliary functions.
572 * modules/pam_tally2/pam_tally2.8.xml: Drop non-existing no_reset
573 option. Document new serialize option.
574 * modules/pam_tally2/pam_tally2.c: Add support for the new serialize
576 (_cleanup, tally_set_data, tally_get_data): Add tally file handle to
577 tally PAM data. Needed for fcntl() locking.
578 (get_tally): Use low level file access instead of stdio buffered FILE.
579 If serialize option is used lock the tally file access.
580 (set_tally, tally_bump, tally_reset): Use low level file access instead
581 of stdio buffered FILE. Close the file handle only when it is not owned
583 (pam_sm_authenticate, pam_sm_setcred, pam_sm_acct_mgmt): Pass the tally
584 file handle to tally_set_data(). Get it from tally_get_data().
585 (main): Use low level file access instead of stdio buffered FILE.
587 2009-02-26 Tomas Mraz <t8m@centrum.cz>
589 * xtests/Makefile.am: Add tst-pam_unix4.
590 * xtests/tst-pam_unix4.c: New test for password change
591 and shadow min days limit.
592 * xtests/tst-pam_unix4.pamd: Likewise.
593 * xtests/tst-pam_unix4.sh: Likewise.
595 * modules/pam_unix/pam_unix_acct.c (pam_sm_acct_mgmt): Ignore
596 PAM_AUTHTOK_ERR on shadow verification.
597 * modules/pam_unix/passverify.c (check_shadow_expiry): Return
598 PAM_AUTHTOK_ERR if sp_min limit for password change is defied.
600 2009-02-26 Timur Birsh <taem@linukz.org>
602 * po/LINGUAS: New Kazakh translation.
603 * po/kk.po: New Kazakh translation.
605 2009-02-25 Thorsten Kukuk <kukuk@thkukuk.de>
607 * libpam/pam_misc.c (_pam_StrTok): Use unsigned char
608 instead of int. Reported by Marcus Granado.
609 * tests/Makefile.am (TESTS): Add tst-pam_mkargv.
610 * tests/tst-pam_mkargv.c (main): Test case for
613 * po/de.po: Update fuzzy translations.
615 2009-02-25 Tomas Mraz <t8m@centrum.cz>
617 * xtests/access.conf: Add a line for name resolution test case.
618 * xtests/tst-pam_access4.c (main): Set PAM_RHOST for testing the LOCAL
619 keyword. Add a test case for name resolution.
621 * modules/pam_access/pam_access.c (from_match): Move name resolution
622 to network_netmask_match().
623 (network_netmask_match): Do a name resolution of the origin only if
624 matching against a real network/netmask.
626 2009-02-25 Fabian Affolter <fabian@bernewireless.net>
628 * po/de.po: Updated translations.
630 2009-02-25 Taylon Silmer Lacerda Silva <taylonsilva@gmail.com>
632 * po/pt_BR.po: Updated translations.
634 2009-02-25 Domingo Becker <domingobecker@gmail.com>
636 * po/es.po: Updated translations.
638 2009-02-20 Thorsten Kukuk <kukuk@thkukuk.de>
640 * modules/pam_limits/limits.conf.5.xml: Document that the kernel
641 can refuse values out of range for the local system.
642 * modules/pam_limits/pam_limits.c (setup_limits): Log if setrlimit
645 2009-02-18 Thorsten Kukuk <kukuk@thkukuk.de>
647 * libpam/pam_password.c (pam_chauthtok): Make sure applications
648 don't set internal flags.
650 2009-02-17 Thorsten Kukuk <kukuk@thkukuk.de>
652 * doc/man/pam_sm_chauthtok.3.xml: Document that sufficient
653 can break the PRELIM_CHECK chain.
655 * libpam/pam_dispatch.c: Don't freeze chain for chauthtok
656 [bugzilla.novell.com#470337]
658 2009-02-11 Daniel Nylander <po@danielnylander.se>
660 * po/sv.po: Updated translations.
662 2009-01-29 Thorsten Kukuk <kukuk@thkukuk.de>
664 * doc/man/pam_sm_setcred.3.xml: Document PAM_ESTABLISH_CRED.
666 2009-01-19 Tomas Mraz <t8m@centrum.cz>
668 * modules/pam_mkhomedir/Makefile.am: Add mkhomedir_helper.
669 * modules/pam_mkhomedir/mkhomedir_helper.8.xml: New file. Manual page
670 for mkhomedir_helper.
671 * modules/pam_mkhomedir/mkhomedir_helper.c: New file. Source
672 for mkhomedir_helper. Most of the code moved from pam_mkhomedir.c.
673 * modules/pam_mkhomedir/pam_mkhomedir.c (_pam_parse): Do not convert umask
675 (rec_mkdir): Moved to mkhomedir_helper.c.
676 (create_homedir): Just exec the helper.
677 (pam_sm_open_session): Improve logging.
679 2009-01-19 Daniel Cabrera <h.daniel.cabrera@gmail.com>
681 * po/es.po: Updated translations.
683 2009-01-14 Thorsten Kukuk <kukuk@thkukuk.de>
685 * po/de.po: Updated translations.
687 2009-01-07 Piotr Drąg <piotrdrag@gmail.com>
689 * po/pl.po: Updated translations.
691 2008-12-23 Piotr Drąg <piotrdrag@gmail.com>
693 * po/pl.po: Updated translations.
695 2008-12-18 Thorsten Kukuk <kukuk@thkukuk.de>
697 * modules/pam_pwhistory/pam_pwhistory.c (parse_option): Rename
698 type= option to authtok_type= (because of pam_get_authtok).
699 * modules/pam_pwhistory/pam_pwhistory.8.xml: Likewise.
701 2008-12-17 Tomas Mraz <t8m@centrum.cz>
703 * modules/pam_tty_audit/pam_tty_audit.c (pam_sm_open_session): Do
704 not abort on unknown option. Avoid double free of old_status.
705 (pam_sm_close_session): Use LOG_DEBUG for restored status message.
707 * configure.in: Test for getseuser().
708 * modules/pam_selinux/pam_selinux.c (pam_sm_open_session): Call getseuser()
709 instead of getseuserbyname() if the function is available.
711 2008-12-12 Thorsten Kukuk <kukuk@thkukuk.de>
713 * release version 1.0.90
715 * libpam_misc/Makefile.am: Increase version number of shared library.
716 * libpamc/Makefile.am: Likewise.
718 2008-12-12 Tomas Mraz <t8m@centrum.cz>
720 * modules/pam_tally2/pam_tally2.c (get_tally): Test for EACCES
722 * modules/pam_tally2/pam_tally2.8.xml: Fix documentation.
724 2008-12-10 Thorsten Kukuk <kukuk@thkukuk.de>
726 * doc/man/pam_item_types_ext.inc.xml: Document PAM_AUTHTOK_TYPE.
727 * libpam/pam_end.c (pam_end): Free authtok_type.
728 * tests/tst-pam_get_item.c: Add PAM_AUTHTOK_TYPE
730 * tests/tst-pam_set_item.c: Likewise.
731 * libpam/pam_start.c (pam_start): Initialize xdisplay,
732 xauth and authtok_type.
733 * libpam/pam_get_authtok.c (pam_get_authtok): Rename "type"
735 * modules/pam_cracklib/pam_cracklib.8.xml: Replace "type=" with
737 * doc/man/pam_get_authtok.3.xml: Document authtok_type argument.
738 * modules/pam_cracklib/pam_cracklib.c (pam_sm_chauthtok): Set
739 type= argument as PAM_AUTHTOK_TYPE item.
740 * libpam/pam_get_authtok.c (pam_get_authtok): If no type
741 argument given, use PAM_AUTHTOK_TYPE item.
742 * libpam/pam_item.c (pam_get_item): Fetch PAM_AUTHTOK_TYPE item.
743 (pam_set_item): Store PAM_AUTHTOK_TYPE item.
744 * libpam/pam_private.h: Add authtok_type to pam_handle.
745 * libpam/include/security/_pam_types.h (PAM_AUTHTOK_TYPE): New.
747 2008-12-03 Thorsten Kukuk <kukuk@thkukuk.de>
749 * modules/pam_access/access.conf.5.xml: Replace
750 2001:4ca0 with 2001:db8:: [bug#2356400].
752 * doc/man/Makefile.am: Add pam_get_authtok.3.xml.
753 * doc/man/pam_get_authtok.3.xml: New.
754 * libpam/Makefile.am: Add pam_get_authtok.c.
755 * libpam/libpam.map: Export pam_get_authtok.
756 * libpam/pam_get_authtok.c: New.
757 * libpam/pam_private.h: Add mod_argc and mod_argv to pam_handle.
758 * libpam_include/security/pam_ext.h: Add pam_get_authtok
760 * modules/pam_cracklib/pam_cracklib.c: Use pam_get_authtok.
761 * modules/pam_pwhistory/pam_pwhistory.c: Likewise.
762 * po/POTFILES.in: Add libpam/pam_get_authtok.c.
763 * xtests/tst-pam_cracklib1.c: Adjust error codes.
765 * modules/pam_timestamp/Makefile.am: Remove hmactest.c from
768 * po/*.po: Regenerated.
770 2008-12-02 Michael Calmer <mc@suse.de>
772 * modules/pam_limits/limits.conf.5.xml: Document valid values
773 for limits (bnc#448314).
775 2008-12-02 Thorsten Kukuk <kukuk@thkukuk.de>
777 * modules/pam_env/pam_env.c: Add support for user specific
778 environment file. Based on a patch from Ubuntu.
779 * modules/pam_env/pam_env.8.xml: Document new options.
781 2008-12-02 Olivier Fourdan <ofourdan@redhat.com>
783 * modules/pam_filter/pam_filter.c (master): Use /dev/ptmx
784 instead of the old BSD pseudoterminal API.
785 (set_filter): Call grantpt(), unlockpt() and ptsname(). Do not
786 close pseudoterminal handle in filter child.
787 * modules/pam_filter/upperLOWER/upperLOWER.c (main): Use
788 regular read() instead of pam_modutil_read() to allow for
791 2008-12-02 Tomas Mraz <t8m@centrum.cz>
793 * modules/pam_timestamp/Makefile.am: Add hmacfile to tests.
794 * modules/pam_timestamp/hmacfile.c: Do not try the short key
797 2008-12-01 Tomas Mraz <t8m@centrum.cz>
799 * modules/pam_unix/support.h: Fix masks for cipher algorithm
802 2008-12-01 Thorsten Kukuk <kukuk@thkukuk.de>
804 * modules/pam_unix/pam_unix.8.xml: Document blowfish option.
806 * configure.in: Check for crypt_gensalt_rn.
807 * modules/pam_unix/pam_unix_passwd.c: Pass pamh to
808 create_password_hash function.
809 * modules/pam_unix/passverify.c (create_password_hash): Add
811 * modules/pam_unix/passverify.h: Adjust create_password_hash
813 * modules/pam_unix/support.c: Add support for blowfish option.
814 * modules/pam_unix/support.h: Add defines for blowfish option.
815 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
817 2008-12-01 Tomas Mraz <t8m@centrum.cz>
819 * modules/pam_access/pam_access.8.xml: Fix description of nodefgroup
822 * modules/pam_group/pam_group.c (is_same): Fix check for correct
825 2008-11-29 Thorsten Kukuk <kukuk@thkukuk.de>
827 * configure.in: Check for xcrypt.h, fix typo in libaudit check.
828 * modules/pam_cracklib/pam_cracklib.c: Include xcrypt.h if
830 * modules/pam_unix/bigcrypt.c: Likewise.
831 * modules/pam_unix/passverify.c: Likewise.
832 * modules/pam_userdb/pam_userdb.c: Likewise.
833 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
835 * doc/man/pam_getenv.3.xml: Document that application should
836 not free return value.
838 * doc/man/pam.3.xml: Add Note about thread-safeness of libpam
841 2008-11-28 Tomas Mraz <t8m@centrum.cz>
843 * modules/pam_unix/unix_update.c (set_password): Allow root to change
844 passwords without verification of the old ones.
846 * modules/pam_tally2/pam_tally2.c (tally_check): Fix info format
847 to be the same as in pam_tally.
849 * configure.in: Add modules/pam_timestamp/Makefile.
850 * doc/sag/Linux-PAM_SAG.xml: Include pam_timestamp.xml.
851 * doc/sag/pam_timestamp.xml: New.
852 * libpam/pam_static_modules.h: Add pam_timestamp static struct.
853 * modules/Makefile.am: Add pam_timestamp directory.
854 * modules/pam_timestamp/Makefile.am: New.
855 * modules/pam_timestamp/README.xml: New.
856 * modules/pam_timestamp/hmacsha1.h: New.
857 * modules/pam_timestamp/sha1.h: New.
858 * modules/pam_timestamp/pam_timestamp.8.xml: New.
859 * modules/pam_timestamp/pam_timestamp_check.8.xml: New.
860 * modules/pam_timestamp/pam_timestamp.c: New.
861 * modules/pam_timestamp/pam_timestamp_check.c: New.
862 * modules/pam_timestamp/hmacfile.c: New.
863 * modules/pam_timestamp/hmacsha1.c: New.
864 * modules/pam_timestamp/sha1.c: New.
865 * modules/pam_timestamp/tst-pam_timestamp: New.
866 * po/POTFILES.in: Add pam_timestamp sources.
867 * po/*.po: Regenerate.
868 * po/cs.po: Updated translations.
870 2008-11-25 Thorsten Kukuk <kukuk@thkukuk.de>
872 * modules/pam_pwhistory/opasswd.c (save_old_password): Fix typo.
874 * modules/pam_time/pam_time.c (is_same): Fix check
875 of correct string length (debian bug #326407).
877 2008-11-24 Thorsten Kukuk <kukuk@thkukuk.de>
879 * xtests/Makefile.am: Add pam_time1 tests.
880 * xtests/tst-pam_time1.c: New test case.
881 * xtests/tst-pam_time1.pamd: New.
882 * xtests/time.conf: New.
883 * xtests/run-xtests.sh: Copy time.conf.
885 2008-11-24 Tomas Mraz <t8m@centrum.cz>
887 * libpam/pam_handlers.c (_pam_parse_conf_file): '-' at
888 beginning of type token marks silent module.
889 (_pam_load_module): Add handler_type parameter. Do not log
890 module load error if module is silent.
891 (_pam_add_handler): Pass handler_type to _pam_load_module().
892 * libpam/pam_private.h: Add PAM_HT_SILENT_MODULE.
893 * doc/man/pam.conf-syntax.xml: Document the '-' at beginning
896 * modules/pam_cracklib/pam_cracklib.c (pam_sm_chauthtok): Fix leaks
898 * modules/pam_env/pam_env.c (_parse_env_file): Remove superfluous
900 * modules/pam_group/pam_group.c (check_account): Fix leak
902 * modules/pam_listfile/pam_listfile.c (pam_sm_authenticate): Fix leak
904 * modules/pam_securetty/pam_securetty.c (securetty_perform_check): Remove
905 superfluous condition.
906 * modules/pam_stress/pam_stress.c (stress_get_password,pam_sm_authenticate):
907 Remove superfluous conditions.
908 (pam_sm_chauthtok): Fix mistaken && for &.
909 * modules/pam_unix/pam_unix_auth.c (pam_sm_authenticate): Remove
910 superfluous condition.
911 All the problems fixed in this commit were found by Steve Grubb.
913 2008-11-20 Tomas Mraz <t8m@centrum.cz>
915 * modules/pam_sepermit/pam_sepermit.c (sepermit_match): Do not
916 call sepermit_lock() if sense is deny. Do not crash on NULL seuser
918 (pam_sm_authenticate): Try to call getseuserbyname() even if
921 2008-11-19 Thorsten Kukuk <kukuk@thkukuk.de>
923 * modules/pam_xauth/pam_xauth.c (pam_sm_open_session):
924 Preserve XAUTHLOCALHOSTNAME environment variable.
926 * modules/pam_pwhistory/pam_pwhistory.c (pam_sm_chauthtok): Finish
927 implementation of type=STRING option.
929 * modules/pam_pwhistory/pam_pwhistory.8.xml: Document
930 "type=STRING" option.
932 2008-10-27 Thorsten Kukuk <kukuk@thkukuk.de>
934 * doc/man/pam_setcred.3.xml: Document when credentials
936 * po/ja.po: Fix syntax error.
937 * po/de.po: Update translations.
938 * po/*.po: Regenerate with pam_tally2 added.
940 2008-10-23 Taylon Silmer Lacerda Silva <taylonsilva@gmail.com>
942 * po/pt_BR.po: Updated translations.
944 2008-10-23 Krishna Babu K <kkrothap@redhat.com>
946 * po/LINGUAS: New language.
947 * po/te.po: New translation to Telugu.
949 2008-10-23 Manoj Kumar Giri <mgiri@redhat.com>
951 * po/or.po: Updated translations.
953 2008-10-21 Amitakhya Phukan <aphukan@redhat.com>
955 * po/as.po: Updated translations.
957 2008-10-21 Ondrej Sulek <feonsu@gmail.com>
959 * po/sk.po: Updated translations.
961 2008-10-21 Terry Chuang <tchuang@redhat.com>
963 * po/zh_TW.po: Updated translations.
965 2008-10-21 Kiyoto Hashida <khashida@redhat.com>
967 * po/ja.po: Updated translations.
969 2008-10-21 Francesco Valente <fvalen@redhat.com>
971 * po/it.po: Updated translations.
973 2008-10-21 Peter van Egdom <p.van.egdom@gmail.com>
975 * po/nl.po: Updated translations.
977 2008-10-20 Ani Peter <apeter@redhat.com>
979 * po/ml.po: Updated translations.
981 2008-10-20 Pablo Martin-Gomez <pablo.martin-gomez@laposte.net>
983 * po/fr.po: Updated translations.
985 2008-10-20 Runa Bhattacharjee <runab@redhat.com>
987 * po/bn_IN.po: Updated translations.
989 2008-10-20 Shankar Prasad <svenkate@redhat.com>
991 * po/kn.po: Updated translations.
993 2008-10-20 Leah Liu <lliu@redhat.com>
995 * po/zh_CN.po: Updated translations.
997 2008-10-20 Ondrej Sulek <feonsu@gmail.com>
999 * po/LINGUAS: New language.
1000 * po/sk.po: New translation to Slovak.
1002 2008-10-17 Tomas Mraz <t8m@centrum.cz>
1004 * configure.in: Add modules/pam_tally2/Makefile.
1005 * doc/sag/Linux-PAM_SAG.xml: Include pam_tally2.xml.
1006 * doc/sag/pam_tally2.xml: New.
1007 * libpam/pam_static_modules.h: Add pam_tally2 static struct.
1008 * modules/Makefile.am: Add pam_tally2 directory.
1009 * modules/pam_tally2/Makefile.am: New.
1010 * modules/pam_tally2/README.xml: New.
1011 * modules/pam_tally2/tallylog.h: New.
1012 * modules/pam_tally2/pam_tally2.8.xml: New.
1013 * modules/pam_tally2/pam_tally2.c: New.
1014 * modules/pam_tally2/pam_tally2_app.c: New.
1015 * modules/pam_tally2/tst-pam_tally2: New.
1016 * po/POTFILES.in: Add pam_tally2 sources.
1018 2008-10-17 Xavier Queralt Mateu <xqueralt@gmail.com>
1020 * po/ca.po: Updated translations.
1022 2008-10-15 Tomas Mraz <t8m@centrum.cz>
1024 * modules/pam_keyinit/pam_keyinit.c (kill_keyrings): Save the old
1025 euid to suid to be able to restore it.
1027 2008-10-15 Piotr Drąg <piotrdrag@gmail.com>
1029 * po/pl.po: Updated translations.
1031 2008-10-13 Tomas Mraz <t8m@centrum.cz>
1033 * po/LINGUAS: New languages.
1034 * po/cs.po: Updated translations.
1036 2008-10-13 Amitakhya Phukan <aphukan@redhat.com>
1038 * po/as.po: Updated translations.
1040 2008-10-13 Shankar Prasad <svenkate@redhat.com>
1042 * po/kn.po: Updated translations.
1044 2008-10-13 Sandeep Sheshrao Shedmake <sshedmak@redhat.com>
1046 * po/mr.po: New translation to Marathi.
1048 2008-10-13 Runa Bhattacharjee <runab@redhat.com>
1050 * po/bn_IN.po: Updated translations.
1052 2008-10-13 Sharuzzaman Ahmat Raslan <sharuzzaman@gmail.com>
1054 * po/ms.po: New translation to Malay.
1056 2008-10-10 Thorsten Kukuk <kukuk@thkukuk.de>
1058 * modules/pam_cracklib/pam_cracklib.c (_pam_unix_approve_pass):
1059 Remove check for re-used passwords.
1060 * modules/pam_cracklib/pam_cracklib.8.xml: Remove documentation
1061 of re-used password check.
1063 * configure.in: add modules/pam_pwhistory/Makefile.
1064 * doc/sag/Linux-PAM_SAG.xml: Include pam_pwhistory.xml.
1065 * doc/sag/pam_pwhistory.xml: New.
1066 * libpam/pam_static_modules.h: Add pam_pwhistory data.
1067 * modules/Makefile.am: Add pam_pwhistory directory.
1068 * modules/pam_pwhistory/Makefile.am: New.
1069 * modules/pam_pwhistory/README.xml: New.
1070 * modules/pam_pwhistory/opasswd.c: New.
1071 * modules/pam_pwhistory/opasswd.h: New.
1072 * modules/pam_pwhistory/pam_pwhistory.8.xml: New.
1073 * modules/pam_pwhistory/pam_pwhistory.c: New.
1074 * modules/pam_pwhistory/tst-pam_pwhistory: New.
1075 * xtests/Makefile.am: New.
1076 * xtests/run-xtests.sh: New.
1077 * xtests/tst-pam_pwhistory1.c: New.
1078 * xtests/tst-pam_pwhistory1.pamd: New.
1079 * xtests/tst-pam_pwhistory1.sh: New.
1080 * po/POTFILES.in: Add modules/pam_pwhistory/.
1081 * po/de.po: Update translations.
1083 2008-10-02 Thorsten Kukuk <kukuk@thkukuk.de>
1085 * po/de.po: Update translations.
1087 2008-09-30 Manoj Kumar Giri <mgiri@redhat.com>
1089 * po/or.po: Updated translations.
1091 2008-09-30 Taylon Silmer Lacerda Silva <taylonsilva@gmail.com>
1093 * po/pt_BR.po: Updated translations.
1095 2008-09-30 Tomas Mraz <t8m@centrum.cz>
1097 * modules/pam_lastlog/pam_lastlog.8.xml: Document new options
1098 noupdate and showfailed.
1099 * modules/pam_lastlog/pam_lastlog.c(pam_parse): Recognize the new
1101 (last_login_read): New output parameter lltime. Do not display
1102 the last login message if it would be empty.
1103 (last_login_date): New output parameter lltime. Do not write the
1104 last login info when LASTLOG_UPDATE is not set.
1105 (last_login_failed): New function to display the last bad login
1107 (pam_sm_open_session): Obtain lltime from last_login_date() and
1108 call last_login_failed() when appropriate.
1110 * po/Linux-pam.pot: Updated strings to translate.
1111 * po/*.po: Likewise.
1113 2008-09-29 Thorsten Kukuk <kukuk@thkukuk.de>
1115 * modules/pam_echo/pam_echo.8.xml: Fix format error.
1117 2008-09-25 Tomas Mraz <t8m@centrum.cz>
1119 * modules/pam_tally/pam_tally.c(get_tally): Fix syslog message.
1120 (tally_check): Open faillog read only. Close file descriptor.
1121 Fix typos in messages.
1123 2008-09-25 Thorsten Kukuk <kukuk@thkukuk.de>
1125 * modules/pam_mail/pam_mail.c (report_mail): Fix logic of
1126 "quiet" option (Patch from Andreas Henriksson <andreas@fatal.se>)
1128 * modules/pam_mail/pam_mail.8.xml: Fix typo.
1130 2008-09-23 Tomas Mraz <t8m@centrum.cz>
1132 * modules/pam_limits/limits.conf.5.xml: Comment that rss limit is
1135 2008-09-19 Tomas Mraz <t8m@centrum.cz>
1137 * modules/pam_cracklib/pam_cracklib.8.xml: Fix description
1138 of the palindrome test. Document new options maxrepeat and
1140 * modules/pam_cracklib/pam_cracklib.c(_pam_parse): Parse
1141 the maxrepeat and reject_username options.
1142 (password_check): Call the new tests usercheck() and
1144 (_pam_unix_approve_pass): Pass user name to the password_check().
1146 2008-09-16 Thorsten Kukuk <kukuk@thkukuk.de>
1148 * modules/pam_cracklib/pam_cracklib.8.xml: Fix typo.
1150 * modules/pam_unix/pam_unix.8.xml: Fix typo.
1152 2008-09-03 Thorsten Kukuk <kukuk@thkukuk.de>
1154 * modules/pam_exec/pam_exec.c: Expose authtok if requested,
1155 provide environment variable containing service type.
1156 * modules/pam_exec/pam_exec.8.xml: Document new option.
1158 2008-08-29 Tomas Mraz <t8m@centrum.cz>
1160 * modules/pam_loginuid/pam_loginuid.c(set_loginuid): Uids
1163 2008-08-18 Thorsten Kukuk <kukuk@thkukuk.de>
1165 * Makefile.am (M4_FILES): Adjust list.
1167 * modules/pam_access/pam_access.8.xml: Fix module service
1169 * modules/pam_cracklib/pam_cracklib.8.xml: Likewise.
1170 * modules/pam_debug/pam_debug.8.xml: Likewise.
1171 * modules/pam_deny/pam_deny.8.xml: Likewise.
1172 * modules/pam_echo/pam_echo.8.xml: Likewise.
1173 * modules/pam_env/pam_env.8.xml: Likewise.
1174 * modules/pam_exec/pam_exec.8.xml: Likewise.
1175 * modules/pam_faildelay/pam_faildelay.8.xml: Likewise.
1176 * modules/pam_filter/pam_filter.8.xml: Likewise.
1177 * modules/pam_ftp/pam_ftp.8.xml: Likewise.
1178 * modules/pam_group/pam_group.8.xml: Likewise.
1179 * modules/pam_issue/pam_issue.8.xml: Likewise.
1180 * modules/pam_keyinit/pam_keyinit.8.xml: Likewise.
1181 * modules/pam_lastlog/pam_lastlog.8.xml: Likewise.
1182 * modules/pam_limits/pam_limits.8.xml: Likewise.
1183 * modules/pam_listfile/pam_listfile.8.xml: Likewise.
1184 * modules/pam_localuser/pam_localuser.8.xml: Likewise.
1185 * modules/pam_loginuid/pam_loginuid.8.xml: Likewise.
1186 * modules/pam_mail/pam_mail.8.xml: Likewise.
1187 * modules/pam_mkhomedir/pam_mkhomedir.8.xml: Likewise.
1188 * modules/pam_motd/pam_motd.8.xml: Likewise.
1189 * modules/pam_namespace/pam_namespace.8.xml: Likewise.
1190 * modules/pam_nologin/pam_nologin.8.xml: Likewise.
1191 * modules/pam_permit/pam_permit.8.xml: Likewise.
1192 * modules/pam_rhosts/pam_rhosts.8.xml: Likewise.
1193 * modules/pam_rootok/pam_rootok.8.xml: Likewise.
1194 * modules/pam_securetty/pam_securetty.8.xml: Likewise.
1195 * modules/pam_selinux/pam_selinux.8.xml: Likewise.
1196 * modules/pam_sepermit/pam_sepermit.8.xml: Likewise.
1197 * modules/pam_shells/pam_shells.8.xml: Likewise.
1198 * modules/pam_succeed_if/pam_succeed_if.8.xml: Likewise.
1199 * modules/pam_tally/pam_tally.8.xml: Likewise.
1200 * modules/pam_time/pam_time.8.xml: Likewise.
1201 * modules/pam_tty_audit/pam_tty_audit.8.xml: Likewise.
1202 * modules/pam_umask/pam_umask.8.xml: Likewise.
1203 * modules/pam_unix/pam_unix.8.xml: Likewise.
1204 * modules/pam_userdb/pam_userdb.8.xml: Likewise.
1205 * modules/pam_warn/pam_warn.8.xml: Likewise.
1206 * modules/pam_wheel/pam_wheel.8.xml: Likewise.
1207 * modules/pam_xauth/pam_xauth.8.xml: Likewise.
1209 2008-08-01 Thorsten Kukuk <kukuk@thkukuk.de>
1211 * configure.in: Add version for gettext, add search path
1212 for m4 directory, fix handling of --disable-* options.
1213 Patches from Diego Pettenò <flameeyes@gmail.com>.
1215 * configure.in: Run autoupdate on it.
1217 * acincludde.m4: Rename to ...
1218 * m4/jh_path_xml_catalog.m4: ... this.
1220 * m4/*.m4: Remove all autoconf m4 files.
1222 2008-07-29 Steve Langasek <vorlon@debian.org>
1224 * modules/pam_cracklib/pam_cracklib.8.xml: correct a typo,
1225 "Only he" -> "Only the"
1227 2008-07-28 Steve Langasek <vorlon@debian.org>
1229 * libpamc/test/regress/test.libpamc.c: use standard u_int8_t
1230 type instead of __u8, as elsewhere.
1231 Patch from Roger Leigh <rleigh@debian.org>.
1232 * modules/pam_unix/passverify.c: make save_old_password()
1233 thread-safe by using pam_modutil_getpwnam() instead of getpwnam()
1234 * modules/pam_unix/passverify.c, modules/pam_unix/passverify.h,
1235 modules/pam_unix/pam_unix_passwd.c: add pamh argument to
1238 2008-07-27 Steve Langasek <vorlon@debian.org>
1240 * modules/pam_*/pam_*.8.xml: fix up the references to pam.d,
1241 which is in manpage section 5, not 8.
1242 * modules/pam_env/environment, modules/pam_env/pam_env.8.xml:
1243 spelling fix, seperate -> separate
1245 2008-07-26 Steve Langasek <vorlon@debian.org>
1247 * modules/pam_env/pam_env.c: Fix module to skip over
1248 non-alphanumeric variable names, and to handle the case when
1249 asked to delete a non-existent variable.
1251 2008-07-13 Tomas Mraz <t8m@centrum.cz>
1253 * modules/pam_mail/pam_mail.8.xml: Module supports session and
1254 not account service (#1980773).
1256 2008-07-11 Tomas Mraz <t8m@centrum.cz>
1258 * modules/pam_unix/pam_unix_acct.c (_unix_run_verify_binary): Do
1259 not close the pipe descriptor in borderline case (#2009766).
1260 * modules/pam_unix/pam_unix_passwd.c (_unix_run_update_binary):
1262 * modules/pam_unix/support.c (_unix_run_helper_binary): Likewise.
1263 * modules/pam_unix/support.h: Define upper limit of fds we will
1266 * modules/pam_selinux/pam_selinux.c (config_context): Do not
1267 ask for the level if use_current_range is set.
1268 (context_from_env): New function to obtain the context from
1269 PAM environment variables.
1270 (pam_sm_open_session): Call context_from_env() if env_params option
1271 is present. use_current_range now modifies behavior of the
1272 context_from_env and config_context options.
1273 * modules/pam_selinux/pam_selinux.8.xml: Describe the env_params
1274 option. Adjust description of use_current_range option.
1276 2008-07-09 Thorsten Kukuk <kukuk@thkukuk.de>
1278 * modules/pam_exec/pam_exec.c (call_exec): Move all variable
1279 declaration to begin of a block (#1976310).
1281 * xtests/tst-pam_group1.c (run_test): Move no_grps declaration
1282 to begin of function (#1976310).
1284 * modules/pam_securetty/pam_securetty.8.xml: Replace
1285 PAM_IGNORE with PAM_USER_UNKNOWN (#1994330).
1287 * modules/pam_tally/pam_tally.c: Add support for silent and
1288 no_log_info options.
1289 * modules/pam_tally/pam_tally.8.xml: Document silent and
1290 no_log_info options.
1292 2008-07-08 Thorsten Kukuk <kukuk@thkukuk.de>
1294 * modules/pam_unix/passverify.c (verify_pwd_hash): Adjust debug
1297 2008-06-22 Thorsten Kukuk <kukuk@thkukuk.de>
1299 * modules/pam_unix/unix_chkpwd.c (main): Fix compiling without
1302 * modules/pam_cracklib/pam_cracklib.8.xml: Fix typo in ucredit
1303 description (reported by Wayne Pollock <pollock@acm.org>)
1305 2008-06-19 Tomas Mraz <t8m@centrum.cz>
1307 * modules/pam_succeed_if/pam_succeed_if.c (pam_sm_authenticate):
1308 Detect configuration errors. Fail on incomplete condition.
1310 2008-05-20 Tomas Mraz <t8m@centrum.cz>
1312 * configure.in: Work correctly with autoconf-2.62.
1314 2008-05-19 Tomas Mraz <t8m@centrum.cz>
1316 * doc/man/pam_getenv.3.xml: Correct the pam_getenv documentation.
1318 * doc/man/pam_prompt.3.xml: Add missing description.
1320 2008-05-14 Kjartan Maraas <kmaraas@gnome.org>
1322 * po/nb.po: Updated translation.
1324 2008-05-14 Sulyok Péter <peti@sulyok.hu>
1326 * po/hu.po: Updated translation.
1328 2008-05-14 Tomas Mraz <t8m@centrum.cz>
1330 * libpam/pam_modutil_getgrgid.c: Replace hardcoded constant with
1331 define PWD_LENGTH_SHIFT.
1332 * libpam/pam_modutil_getgrnam.c: Likewise.
1333 * libpam/pam_modutil_getpwnam.c: Likewise.
1334 * libpam/pam_modutil_getpwuid.c: Likewise.
1335 * libpam/pam_modutil_getspnam.c: Likewise.
1336 * libpam/pam_modutil_private.h: Adjust values for PWD_ constants.
1338 * modules/pam_unix/pam_unix_passwd.c(pam_sm_chauthtok): Unset authtok
1339 item when password is not approved.
1340 * modules/pam_unix/support.c(_unix_read_password): UNIX_USE_FIRST_PASS
1341 is always set when UNIX_AUTHTOK is set, change order of conditions.
1343 2008-05-02 Tomas Mraz <t8m@centrum.cz>
1345 * modules/pam_selinux/pam_selinux.c(query_response): Add handling
1347 (manual_context): Handle failed query_response() properly. Rename
1348 variable responses to response which is more correct name.
1349 (config_context): Likewise.
1350 (pam_sm_open_session): Do not base decision on whether there is a tty.
1352 2008-04-22 Tomas Mraz <t8m@centrum.cz>
1354 * modules/pam_selinux/pam_selinux.c(pam_sm_close_sesion): Fix
1355 regression from the change from 2008-03-20. setexeccon() must be
1356 called also with NULL prev_context.
1358 2008-04-21 Thorsten Kukuk <kukuk@thkukuk.de>
1360 * modules/pam_access/access.conf.5.xml: Document changed behavior
1362 * modules/pam_access/pam_access.c: Add from_remote_host to
1363 struct login_info to change behavior of LOCAL keyword: if
1364 PAM_RHOST is not set, LOCAL will be true.
1366 2008-04-18 Tomas Mraz <t8m@centrum.cz>
1368 * modules/pam_namespace/pam_namespace.c: New functions
1369 unprotect_dirs(), cleanup_protect_data(), protect_mount(),
1370 protect_dir() to protect directory by bind mount.
1371 (cleanup_data): Renamed to cleanup_polydir_data().
1372 (parse_create_params): Allow missing specification of mode
1374 (check_inst_parent): Call protect_dir() on the instance parent
1375 directory. The directory is created when it doesn't exist.
1376 (create_polydir): Protect and make the polydir by protect_dir(),
1377 remove potential races.
1378 (create_dirs): Renamed to create_instance(), remove call to
1380 (ns_setup): Call protect_dir() on the polydir if it already exists.
1381 Call inst_init() after the polydir is mounted.
1382 (setup_namespace): Set the namespace protect data to be cleaned up
1383 on pam_close_session()/pam_end().
1384 (pam_sm_open_session): Initialize the protect_dirs.
1385 (pam_sm_close_session): Cleanup namespace protect data.
1386 * modules/pam_namespace/pam_namespace.h: Define struct for the
1387 stack of protected dirs.
1388 * modules/pam_namespace/pam_namespace.8.xml: Document when the
1389 instance init script is called.
1390 * modules/pam_namespace/namespace.conf.5.xml: Likewise.
1392 2008-04-17 Tomas Mraz <t8m@centrum.cz>
1394 * modules/pam_access/pam_access.c(myhostname): Removed function.
1395 (user_match): Supply hostname of the machine to the netgroup_match().
1396 Use hostname from the loginfo instead of calling myhostname().
1397 (pam_sm_authenticate): Call gethostname() to fill hostname in the
1400 * modules/pam_sepermit/pam_sepermit.c(sepermit_match): Do not try
1401 to lock if euid != 0.
1403 2008-04-16 Tomas Mraz <t8m@centrum.cz>
1405 * modules/pam_unix/Makefile.am: Link unix_chkpwd with libaudit.
1406 * modules/pam_unix/unix_chkpwd.c(_audit_log): New function for audit.
1407 (main): Call _audit_log() when appropriate.
1409 * modules/pam_cracklib/pam_cracklib.c(_pam_parse): Recognize also
1410 try_first_pass and use_first_pass options.
1411 (pam_sm_chauthtok): Implement the new options.
1413 2008-04-08 Tomas Mraz <t8m@centrum.cz>
1415 * modules/pam_xauth/pam_xauth.c(run_coprocess): Avoid multiple
1416 calls to sysconf() (based on patch by Sami Farin).
1418 * libpam/pam_item.c (TRY_SET): Do not set when destination
1419 is identical to source.
1420 (pam_set_item): Do not overwrite destination when it
1421 is identical to source.
1423 2008-04-07 Miloš Komarčević <kmilos@gmail.com>
1425 * po/sr.po: New file with translation.
1426 * po/sr@latin.po: Likewise.
1427 * po/LINGUAS: Add sr and sr@latin.
1429 2008-04-03 Thorsten Kukuk <kukuk@thkukuk.de>
1431 * release version 1.0.0
1433 * configure.in: Set version number to 1.0.0.
1434 * libpam/Makefile.am: Bump patchlevel of libpam.
1435 * doc/adg/Linux-PAM_ADG.xml: Update version/date.
1436 * doc/mwg/Linux-PAM_MWG.xml: Likewise.
1437 * doc/sag/Linux-PAM_SAG.xml: Likewise.
1439 2008-03-31 Dan Walsh <dwalsh@redhat.com>
1441 * modules/pam_sepermit/pam_sepermit.c(sepermit_lock): Mark lock fd to
1444 2008-03-25 Leah Liu <lliu@redhat.com>
1446 * po/zh_CN.po: Updated translation.
1448 2008-03-20 Tomas Mraz <t8m@centrum.cz>
1450 * modules/pam_namespace/pam_namespace.c(poly_name): Switch to USER
1451 method only when appropriate.
1452 (setup_namespace): Do not umount when not mounted with RUSER.
1454 * modules/pam_selinux/pam_selinux.c(pam_sm_close_session): Call
1455 freecontext() after the context is logged not before.
1457 2008-03-18 Canniot Thomas <thomas.canniot@mrtomlinux.org>
1459 * po/fr.po: Updated translation.
1461 2008-03-13 Ankit Patel <ankit@redhat.com>
1463 * po/gu.po: Updated translation.
1465 2008-03-05 Tomas Mraz <t8m@centrum.cz>
1467 * modules/pam_cracklib/pam_cracklib.c(pam_sm_chauthtok): Avoid
1468 unnecessary x_strdup() of resp.
1469 * modules/pam_ftp/pam_ftp(pam_sm_authenticate): Call _pam_overwrite()
1470 before dropping password resp.
1472 2008-03-03 Tomas Mraz <t8m@centrum.cz>
1474 * modules/pam_selinux/pam_selinux.c: Do not translate syslog messages.
1475 * po/Linux-PAM.pot: Update.
1477 * libpam/pam_item.c(RESET): Rename to TRY_SET, handle strdup failure.
1478 (pam_set_item): Use TRY_SET() also for PAM_AUTHTOK and PAM_OLDAUTHTOK.
1479 Handle allocation failure for PAM_XAUTHDATA.
1480 (pam_get_user): Return error when conversation returns NULL user.
1481 Call pam_set_item() instead of RESET().
1483 2008-02-26 Tomas Mraz <t8m@centrum.cz>
1485 * modules/pam_unix/Makefile.am: Do not link to cracklib.
1486 * modules/pam_unix/pam_unix_passwd.c(_pam_unix_approve_pass):
1487 Do not call FascistCheck() from cracklib.
1489 2008-02-29 Fabian Affolter <fab@fedoraproject.org>
1491 * po/de.po: Updated translation.
1493 2008-02-28 Piotr Drąg <piotrdrag@gmail.com>
1495 * po/pl.po: Updated translation.
1497 2008-02-26 Tomas Mraz <t8m@centrum.cz>
1499 * po/LINUGAS: New languages added.
1500 * po/es.po: Updated translations.
1501 * po/fr.po: Likewise.
1502 * po/it.po: Likewise.
1503 * po/ja.po: Likewise.
1504 * po/nl.po: Likewise.
1505 * po/pl.po: Likewise.
1506 * po/pt_BR.po: Likewise.
1507 * po/ru.po: Likewise.
1508 * po/zh_CN.po: Likewise.
1509 * po/as.po: New file.
1510 * po/gu.po: Likewise.
1511 * po/hi.po: Likewise.
1512 * po/kn.po: Likewise.
1513 * po/ko.po: Likewise.
1514 * po/ml.po: Likewise.
1515 * po/or.po: Likewise.
1516 * po/si.po: Likewise.
1517 * po/ta.po: Likewise.
1519 2008-02-21 Tomas Mraz <t8m@centrum.cz>
1521 * libpam/pam_audit.c (_pam_audit_writelog): Silence syslog
1522 message on non-error return.
1524 * modules/pam_unix/unix_chkpwd.c (main): Proceed as unprivileged
1525 user when checking password of another user.
1526 * modules/pam_unix/unix_update.c: Fix comment.
1528 2008-02-18 Dmitry V. Levin <ldv@altlinux.org>
1530 * libpam/pam_handlers.c (_pam_assemble_line): Fix potential
1532 * xtests/tst-pam_assemble_line1.pamd: New test for
1534 * xtests/tst-pam_assemble_line1.sh: New script for
1535 tst-pam_assemble_line1.
1536 * xtests/Makefile.am (NOSRCTESTS): Add tst-pam_assemble_line1.
1537 (EXTRA_DIST): Add tst-pam_assemble_line1.pamd and
1538 tst-pam_assemble_line1.sh
1540 * modules/pam_exec/pam_exec.c (call_exec): Fix asprintf return
1543 2008-02-13 Thorsten Kukuk <kukuk@thkukuk.de>
1545 * release version 0.99.10.0
1547 * configure.in: set version number.
1549 * modules/pam_rhosts/Makefile.am: Remove pam_rhosts_auth.
1550 * modules/pam_rhosts/pam_rhosts_auth.c: Removed.
1551 * modules/pam_rhosts/tst-pam_rhosts_auth: Removed.
1553 * modules/pam_namespace/Makefile.am (noinst_HEADERS): Add
1556 2008-02-13 Tomas Mraz <t8m@centrum.cz>
1558 * modules/pam_namespace/Makefile.am: Add argv_parse files and namespace.d
1560 * modules/pam_namespace/argv_parse.c: New file.
1561 * modules/pam_namespace/argv_parse.h: New file.
1562 * modules/pam_namespace/namespace.conf.5.xml: Document new features.
1563 * modules/pam_namespace/pam_namespace.8.xml: Likewise.
1564 * modules/pam_namespace/pam_namespace.h: Use SECURECONF_DIR define.
1565 Define NAMESPACE_D_DIR and NAMESPACE_D_GLOB. Define new option flags
1567 (polydir_s): Add rdir, replace exclusive with flags, add init_script,
1568 owner, group, and mode.
1569 (instance_data): Add ruser, gid, and ruid.
1570 * modules/pam_namespace/pam_namespace.c: Remove now unused copy_ent().
1571 (add_polydir_entry): Add the entry directly, no copy.
1572 (del_polydir): New function.
1573 (del_polydir_list): Call del_polydir().
1574 (expand_variables, parse_create_params, parse_iscript_params,
1575 parse_method): New functions.
1576 (process_line): Call expand_variables() on polydir and instance prefix.
1577 Call argv_parse() instead of strtok_r(). Allocate struct polydir_s on heap.
1578 (parse_config_file): Parse .conf files from namespace.d dir after
1580 (form_context): Call getcon() or get_default_context_with_level() when
1581 appropriate flags are set.
1582 (poly_name): Handle shared polydir flag.
1583 (inst_init): Execute non-default init script when specified.
1584 (create_polydir): New function.
1585 (create_dirs): Remove the code which checks the polydir. Do not call
1586 inst_init() when noinit flag is set.
1587 (ns_setup): Check the polydir and eventually create it if the create flag
1589 (setup_namespace): Use ruser uid from idata. Set the namespace polydir
1590 pam data only when namespace was set up correctly. Unmount polydir
1592 (get_user_data): New function.
1593 (pam_sm_open_session): Check for use_current_context and
1594 use_default_context options. Call get_user_data().
1595 (pam_sm_close_session): Call get_user_data().
1597 2008-02-06 Thorsten Kukuk <kukuk@thkukuk.de>
1599 * po/de.po: Translate some more strings.
1601 2008-02-05 Thorsten Kukuk <kukuk@thkukuk.de>
1603 * modules/pam_unix/unix_update.c: Remove unused declarations.
1605 2008-02-04 Thorsten Kukuk <kukuk@thkukuk.de>
1607 * libpam/pam_static_modules.h: Add _pam_sepermit_modstruct.
1608 * modules/pam_sepermit/pam_sepermit.c: Fix typo.
1609 * modules/pam_sepermit/Makefile.am: Install config file only
1610 if we build the module.
1612 * README: Add --disable-pie to configure options for static library.
1614 * doc/man/Makefile.am: Fix building outside of src directory.
1616 * libpam/Makefile.am: Bump version number of libpam.
1618 * modules/Makefile.am: Add pam_sepermit.
1620 * doc/Makefile.am: Fix build out of source directory.
1622 * po/POTFILES.in: Add pam_sepermit.c.
1624 * modules/pam_exec/pam_exec.c: Set PAM environment variables and
1626 * modules/pam_exec/pam_exec.8.xml: Document new behavior.
1627 Patch from Julien Lecomte <julien@lecomte.at>.
1629 2008-02-01 Tomas Mraz <t8m@centrum.cz>
1631 * modules/pam_namespace/namespace.conf.5.xml: Add documentation for
1632 tmpfs and tmpdir polyinst and for ~ user list modifier.
1633 * modules/pam_namespace/namespace.init: Add documentation for the
1634 new init parameter. Add home directory initialization script.
1635 * modules/pam_namespace/pam_namespace.8.xml: Document the new
1636 init parameter of the namespace.init script.
1637 * modules/pam_namespace/pam_namespace.c(copy_ent): Copy exclusive flag.
1638 (cleanup_data): New function.
1639 (process_line): Set exclusive flag. Add tmpfs and tmpdir methods.
1640 (ns_override): Change behavior on the exclusive flag.
1641 (poly_name): Process tmpfs and tmpdir methods.
1642 (inst_init): Add flag for new directory initialization.
1643 (create_dirs): Process the tmpdir method, add the new directory
1645 (ns_setup): Remove unused code. Process the tmpfs method.
1646 (cleanup_tmpdirs): New function.
1647 (setup_namespace): Set data for proper cleanup. Cleanup the tmpdirs
1649 (pam_sm_close_session): Instead of parsing the config file again use
1650 the previously set data for cleanup.
1651 * modules/pam_namespace/pam_namespace.h: Add TMPFS and TMPDIR methods
1654 2008-01-29 Tomas Mraz <t8m@centrum.cz>
1656 * configure.in: Test for setkeycreatecon needs libselinux.
1657 Add new module pam_sepermit.
1658 * modules/Makefile.am: Add new module pam_sepermit.
1659 * modules/pam_sepermit/.cvsignore: New file.
1660 * modules/pam_sepermit/Makefile.am: Likewise.
1661 * modules/pam_sepermit/README.xml: Likewise.
1662 * modules/pam_sepermit/pam_sepermit.8.xml: Likewise.
1663 * modules/pam_sepermit/pam_sepermit.c: Likewise.
1664 * modules/pam_sepermit/sepermit.conf: Likewise.
1665 * modules/pam_sepermit/tst-pam_sepermit: Likewise.
1666 * doc/sag/pam_sepermit.xml: Likewise.
1668 * doc/sag/pam_tty_audit.xml: Add pam_tty_audit to SAG.
1670 2008-01-29 Miloslav Trmac <mitr@redhat.com>
1672 * modules/pam_tty_audit/README.xml: Add notes section.
1673 * modules/pam_tty_audit/pam_tty_audit.8.xml: Describe patterns
1674 support and open_only option. Add notes.
1675 * modules/pam_tty_audit/pam_tty_audit.c(pam_sm_open_session): Add
1676 support for pattern matching and the open_only option.
1678 2008-01-28 Thorsten Kukuk <kukuk@thkukuk.de>
1680 * libpam/pam_audit.c: Include pam_modutil_private.h.
1682 * libpam/pam_item.c (pam_set_item): Fix compiler warning.
1684 * libpam/pam_end.c (pam_end): Cast to correct pointer type.
1685 * libpam/include/security/_pam_macros.h (_pam_overwrite_n): Use
1688 * modules/pam_unix/passverify.c: Fix compiling without SELinux
1691 2008-01-24 Tomas Mraz <t8m@centrum.cz>
1693 * modules/pam_unix/bigcrypt.c (bigcrypt): Use crypt_r() when
1695 * modules/pam_unix/passverify.c (strip_hpux_aging): New function
1696 to strip HP/UX aging info from password hash.
1697 (verify_pwd_hash): Call strip_hpux_aging(), use crypt_r() when
1700 2008-01-23 Tomas Mraz <t8m@centrum.cz>
1702 * configure.in: Add test for crypt_r(). Add setting/disabling random
1705 * modules/pam_unix/Makefile.am: Add unix_update.8 manpage generated from
1706 XML, generate also unix_chkpwd.8 from XML.
1707 * modules/pam_unix/pam_unix_acct.c: Add rounds parameter to _set_ctrl().
1708 * modules/pam_unix/pam_unix_auth.c: Likewise.
1709 * modules/pam_unix/pam_unix_sess.c: Likewise.
1710 * modules/pam_unix/pam_unix_passwd.c: Likewise.
1711 * modules/pam_unix/support.c(_set_ctrl): Likewise.
1712 * modules/pam_unix/support.h: Likewise. Add UNIX_SHA256_PASS,
1713 UNIX_SHA512_PASS, and UNIX_ALGO_ROUNDS ctrls.
1714 (pam_sm_chauthtok): Refactor out new password encryption.
1715 * modules/pam_unix/passverify.c(crypt_make_salt): New function.
1716 (crypt_md5_wrapper): Call crypt_make_salt().
1717 (create_password_hash): New function refactored out of
1718 pam_sm_chauthtok(). Support for new password hashes.
1719 * modules/pam_unix/passverify.h: Drop ascii_to_bin() and bin_to_ascii()
1720 macros. Add prototype for create_password_hash().
1721 * modules/pam_unix/unix_update.8.xml: New file.
1722 * modules/pam_unix/unix_chkpwd.8.xml: Likewise.
1724 * modules/pam_unix/Makefile.am: Add unix_update helper.
1725 * modules/pam_unix/pam_unix_passwd.c: Move functions i64c(),
1726 crypt_md5_wrapper(), save_old_password(), _update_passwd() and
1727 _update_shadow() to passverify.c file. Rename _unix_run_shadow_binary()
1728 to _unix_run_update_binary(), which also verifies old password and
1730 (_do_setpass, pam_sm_chauthtok): lckpwdf()->lock_pwdf(), the same for unlock.
1731 Call _unix_run_update_binary() appropriately.
1732 _update_passwd()->unix_update_passwd(), the same for shadow.
1733 * modules/pam_unix/passverify.c: Add new functions moved from
1734 pam_unix_passwd.c and unix_chkpwd.c.
1735 * modules/pam_unix/passverify.h: Likewise.
1736 * modules/pam_unix/unix_chkpwd.c: Remove SELinux checks. Move
1737 su_sighandler(), setup_signals(), getuidname() to passverify.c.
1738 (main): Remove 'shadow' option. Refactor out read_passwords() and
1739 call it. More strict checking how the binary is called.
1740 * modules/pam_unix/unix_update.c: New helper binary - non-setuid,
1741 called from SELinux confined apps only.
1743 * modules/pam_unix/pam_unix_acct.c (_unix_run_verify_binary): Return
1744 status and daysleft instead of fake shadow entry.
1745 (pam_sm_acct_mgmt): Call _unix_run_verify_binary() appropriately.
1746 * modules/pam_unix/pam_unix_passwd.c (_unix_verify_shadow): Call
1747 get_account_info() and check_shadow_expiry().
1748 * modules/pam_unix/support.h: Adjust _unix_run_verify_binary()
1750 * modules/pam_unix/support.c (_unix_run_helper_binary): Remove check
1751 on selinux enabled/disabled.
1752 * modules/pam_unix/unix_chkpwd.c (_verify_account): Rename to
1753 _check_expiry(), now checks shadow expiry info.
1754 (main): Remove check on selinux enabled/disabled. Check shadow
1755 expiry through _check_expiry().
1757 * modules/pam_unix/pam_unix_acct.c (pam_sm_acct_mgmt): Call
1758 get_account_info() and check_shadow_expiry().
1759 * modules/pam_unix/passverify.c: Add get_account_info() to
1760 obtain shadow and passwd entry. Add check_shadow_expiry() to
1761 for shadow password expiry check.
1762 (get_pwd_hash): Call get_account_info().
1763 * modules/pam_unix/passverify.h: Add prototypes for get_account_info()
1764 and check_shadow_expiry().
1766 2008-01-08 Thorsten Kukuk <kukuk@thkukuk.de>
1768 * doc/man/Makefile.am: Fix manual page dependencies,
1769 add hack for bug in xsl stylestheets.
1771 2008-01-07 Thorsten Kukuk <kukuk@thkukuk.de>
1773 * po/it.po: Fix typos.
1774 * po/de.po: Few new translations.
1775 * po/POTFILES.in: Add pam_tty_audit.c and passverify.c.
1776 * doc/man/pam_xauth_data.3.xml: Added to CVS.
1777 * doc/man/pam_xauth_data.3: Likewise.
1778 * modules/pam_tty_audit/README: Likewise.
1779 * modules/pam_tty_audit/pam_tty_audit.8: Likewise.
1780 * po/sv.po: Update swedish translation [#1857531].
1781 * modules/pam_succeed_if/pam_succeed_if.8.xml: Fix
1782 cut & paste error [#1863490].
1784 2008-01-02 Petteri Räty <betelgeuse@gentoo.org>
1785 * modules/pam_limits/limits.conf: document allowed values for
1787 * modules/pam_limits/limits.conf.5.xml: Likewise.
1789 2007-12-18 Thorsten Kukuk <kukuk@thkukuk.de>
1791 * README: Document how to run make check with static modules
1794 2007-12-18 Peter Breitenlohner <peb@mppmu.mpg.de>
1795 * README: Document that "make check" requires a file
1796 /etc/pam.d/other (SF#1822764).
1798 2007-12-12 Eamon Walsh <ewalsh@tycho.nsa.gov>
1800 * doc/man/pam_item_types_ext.inc.xml: More appropriate wording
1801 for PAM_XDISPLAY doc.
1803 2007-12-07 Tomas Mraz <t8m@centrum.cz>
1805 * po/cs.po: Updated translations.
1807 * libpam/libpam.map: Add LIBPAM_MODUTIL_1.1 version.
1808 * libpam/pam_audit.c: Add _pam_audit_open() and
1809 pam_modutil_audit_write().
1810 (_pam_auditlog): Call _pam_audit_open().
1811 * libpam/include/security/pam_modutil.h: Add pam_modutil_audit_write().
1812 * modules/pam_access/pam_access.8.xml: Add noaudit option.
1814 * modules/pam_access/pam_access.c: Move fs, sep, pam_access_debug, and
1815 only_new_group_syntax variables to struct login_info. Add noaudit
1817 (_parse_args): Adjust for the move of variables and add support for
1819 (group_match): Add debug parameter.
1820 (string_match): Likewise.
1821 (network_netmask_match): Likewise.
1822 (login_access): Adjust for the move of variables. Add nonall_match.
1823 Add call to pam_modutil_audit_write().
1824 (list_match): Adjust for the move of variables.
1825 (user_match): Likewise.
1826 (from_match): Likewise.
1827 (pam_sm_authenticate): Call _parse_args() earlier.
1828 * modules/pam_limits/pam_limits.8.xml: Add noaudit option.
1830 * modules/pam_limits/pam_limits.c (_pam_parse): Add noaudit option.
1831 (setup_limits): Call pam_modutil_audit_write().
1832 * modules/pam_time/pam_time.8.xml: Add debug and noaudit options.
1834 * modules/pam_time/pam_time.c: Add option parsing (_pam_parse()).
1835 (check_account): Call _pam_parse(). Call pam_modutil_audit_write()
1836 and pam_syslog() on login denials.
1838 2007-12-07 Luca Bruno <luca.br@uno.it>
1840 * po/it.po: Updated translations.
1842 2007-12-06 Eamon Walsh <ewalsh@tycho.nsa.gov>
1844 * libpam/include/security/_pam_macros.h: Add _pam_overwrite_n()
1846 * libpam/include/security/_pam_types.h: Add PAM_XDISPLAY,
1847 PAM_XAUTHDATA items, pam_xauth_data struct.
1848 * libpam/pam_item.c (pam_set_item, pam_get_item): Handle
1849 PAM_XDISPLAY and PAM_XAUTHDATA items.
1850 * libpam/pam_end.c (pam_end): Destroy the new items.
1851 * libpam/pam_private.h (pam_handle): Add data members for new
1852 items. Add prototype for _pam_memdup.
1853 * libpam/pam_misc.c: Add _pam_memdup.
1854 * doc/man/Makefile.am: Add pam_xauth_data.3. Replace
1855 pam_item_types.inc.xml with pam_item_types_std.inc.xml and
1856 pam_item_types_ext.inc.xml.
1857 * doc/man/pam_get_item.3.xml: Replace pam_item_types.inc.xml
1858 with pam_item_types_std.inc.xml and pam_item_types_ext.inc.xml.
1859 * doc/man/pam_set_item.3.xml: Likewise.
1860 * doc/man/pam_item_types.inc.xml: Removed file.
1861 * doc/man/pam_item_types_ext.inc.xml: New file.
1862 * doc/man/pam_item_types_std.inc.xml: New file.
1864 2007-12-06 Tomas Mraz <t8m@centrum.cz>
1866 * modules/pam_tty_audit/pam_tty_audit.8.xml: Fix example.
1868 2007-12-05 Miloslav Trmac <mitr@redhat.com>
1870 * configure.in: Add test for audit_tty_status struct. Add
1871 pam_tty_audit module.
1872 * libpam/pam_static_modules.h: Add pam_tty_audit module.
1873 * modules/pam_tty_audit/Makefile.am: New file.
1874 * modules/pam_tty_audit/README.xml: Likewise.
1875 * modules/pam_tty_audit/pam_tty_audit.8.xml: Likewise.
1876 * modules/pam_tty_audit/pam_tty_audit.c: Likewise.
1878 2007-12-05 Tomas Mraz <t8m@centrum.cz>
1880 * modules/pam_unix/Makefile.am: Add passverify.h and passverify.c
1881 as first part of pam_unix refactorization.
1882 * modules/pam_unix/pam_unix/pam_unix_acct.c: Include passverify.h.
1883 * modules/pam_unix/pam_unix_passwd.c: Likewise.
1884 * modules/pam_unix/passverify.c: New file with common functions.
1885 * modules/pam_unix/passverify.h: Prototypes for the common functions.
1886 * modules/pam_unix/support.c: Include passverify.h, move
1887 _unix_shadowed() to passverify.c.
1888 (_unix_verify_password): Refactor out verify_pwd_hash() function.
1889 * modules/pam_unix/support.h: Move _unix_shadowed() prototype to
1891 * modules/pam_unix/unix_chkpwd.c: Use _unix_shadowed() and
1892 verify_pwd_hash() from passverify.c.
1894 2007-11-20 Thorsten Kukuk <kukuk@thkukuk.de>
1896 * modules/pam_unix/Makefile.am (unix_chkpwd_LDADD): Don't link
1897 unix_chkpwd unnecessary against libpam (#1822779).
1899 * modules/pam_tally/pam_tally.c (tally_log): Map
1900 pam_modutil_getpwnam to getpwnam if we don't compile
1902 * modules/pam_tally/Makefile.am: Don't link pam_tally_app
1903 against libpam (#1822779).
1905 2007-11-06 Thorsten Kukuk <kukuk@thkukuk.de>
1907 * xtests/tst-pam_group1.c: Include stdlib.h
1908 * xtests/tst-pam_succeed_if1.c: Likewise.
1909 * xtests/tst-pam_limits1.c: Likewise.
1910 * xtests/tst-pam_access1.c: Likewise.
1911 * xtests/tst-pam_access2.c: Likewise.
1912 * xtests/tst-pam_access3.c: Likewise.
1913 * xtests/tst-pam_access4.c: Likewise.
1914 * xtests/tst-pam_unix1.c: Likewise.
1915 * xtests/tst-pam_unix2.c: Likewise.
1916 * xtests/tst-pam_unix3.c: Likewise.
1917 * xtests/tst-pam_cracklib1.c: Likewise.
1918 * xtests/tst-pam_cracklib2.c: Likewise.
1920 * libpam/pam_static_modules.h: Fix name of pam_namespace variable.
1922 2007-11-01 Peter Breitenlohner <peb@mppmu.mpg.de>
1924 * doc/man/pam_conv.3.xml: Correct typo.
1926 2007-10-30 Peter Breitenlohner <peb@mppmu.mpg.de>
1928 * modules/pam_rhosts/pam_rhosts_auth.c (__icheckhost): Correct
1929 misplaced parenthesis.
1930 * modules/pam_unix/pam_unix_acct.c (pam_sm_acct_mgmt): Prevent use of
1931 dngettext() when NLS is disabled.
1932 * modules/pam_exec/pam_exec.c (call_exec): Avoid gcc warning.
1933 * doc/specs/parse_y.y (set_label, new_counter): Break trigraphs to
1935 * modules/pam_wheel/pam_wheel.c: Remove excessive initializer
1938 * modules/pam_cracklib/pam_cracklib.8.xml: Correct typo.
1939 * modules/pam_limits/limits.conf.5.xml: Likewise.
1940 * modules/pam_listfile/pam_listfile.8.xml: Likewise.
1941 * modules/pam_xauth/pam_xauth.8.xml: Likewise.
1943 * modules/pam_deny/pam_deny.8.xml: Correct spelling.
1944 * modules/pam_group/pam_group.8.xml: Likewise.
1945 * modules/pam_permit/pam_permit.8.xml: Likewise.
1946 * modules/pam_shells/pam_shells.8.xml: Likewise.
1947 * modules/pam_time/pam_time.8.xml: Likewise.
1948 * modules/pam_warn/pam_warn.8.xml: Likewise.
1950 * tests/tst-dlopen.c: Return 77 in case of static modules, such that
1951 all modules/pam_*/tst-pam_* tests yield SKIP instead of FAIL.
1952 * libpam/Makefile.am (libpam_la_LIBADD): Use "$(shell ls ...)" instead
1953 of "`ls ...`", to allow for static modules.
1954 * libpam/pam_static_modules.h: Make pam_keyinit module depend on
1955 HAVE_KEY_MANAGEMENT; correct name of pam_faildelay pam_module struct.
1956 * modules/pam_faildelay/pam_faildelay.c: Correct name of pam_module
1959 2007-10-25 Steve Langasek <vorlon@debian.org>
1961 * modules/pam_tally/pam_tally.c: fix the definition of OPT_AUDIT
1962 to be octal instead of decimal, so that it works properly in a
1963 bit field instead of forcing the "even_deny_root_account" and
1964 "no_reset" options to on.
1965 Patch from Corey Wright <undefined@pobox.com>.
1967 2007-10-19 Tomas Mraz <t8m@centrum.cz>
1969 * xtests/tst-pam_access1.c: Use different name for user and group.
1970 * xtests/tst-pam_access1.sh: Likewise.
1971 * xtests/tst-pam_access2.c: Likewise.
1972 * xtests/tst-pam_access2.sh: Likewise.
1973 * xtests/tst-pam_access4.c: Likewise.
1974 * xtests/tst-pam_access4.sh: Likewise.
1975 * xtests/group.conf: Likewise.
1976 * xtests/tst-pam_group1.c: Likewise.
1977 * xtests/tst-pam_group1.sh: Likewise.
1979 * libpam/pam_dispatch.c (_pam_dispatch_aux): Save states for substacks,
1980 record substack level, skip over virtual substack modules, implement
1981 evaluation of done, die, reset and jumps in substacks. Also fixes
1982 too far jumps in substacks.
1983 * libpam/pam_end.c (pam_end): Drop substack evaluation states.
1984 * libpam/pam_handlers.c (_pam_parse_conf_file): Add substack level
1985 parameter, instead of must_fail use handler_type needed for virtual
1987 (_pam_load_conf_file): Add substack level parameter.
1988 (_pam_init_handlers): Substack level parameter added to
1989 _pam_parse_conf_file() calls.
1990 (_pam_load_module): New function.
1991 (_pam_add_handler): Refactor code into the _pam_load_module(). Add
1992 support for virtual substack modules.
1993 * libpam/pam_private.h: Rename must_fail to handler_type, add stack_level
1994 to struct handler. Define handler type constants. Add struct
1995 for substack evaluation states. Define constant for maximum
1996 substack level. Add substack states pointer to former state struct.
1997 * libpam/pam_start.c (pam_start): Initialize pointer to substack states.
1998 * doc/man/pam.conf-syntax.xml: Document substack control.
1999 * xtests/Makefile.am: Add new tests for substack evaluation.
2000 * xtests/run_xtests.sh: Support multiple .pamd files in a test.
2001 * xtests/tst-pam_authfail.pamd: New tests for substack evaluation.
2002 * xtests/tst-pam_authsucceed.pamd: Likewise.
2003 * xtests/tst-pam_substack1.pamd: Likewise.
2004 * xtests/tst-pam_substack1a.pamd: Likewise.
2005 * xtests/tst-pam_substack1.sh: Likewise.
2006 * xtests/tst-pam_substack2.pamd: Likewise.
2007 * xtests/tst-pam_substack2a.pamd: Likewise.
2008 * xtests/tst-pam_substack2.sh: Likewise.
2009 * xtests/tst-pam_substack3.pamd: Likewise.
2010 * xtests/tst-pam_substack3a.pamd: Likewise.
2011 * xtests/tst-pam_substack3.sh: Likewise.
2012 * xtests/tst-pam_substack4.pamd: Likewise.
2013 * xtests/tst-pam_substack4a.pamd: Likewise.
2014 * xtests/tst-pam_substack4.sh: Likewise.
2015 * xtests/tst-pam_substack5.pamd: Likewise.
2016 * xtests/tst-pam_substack5a.pamd: Likewise.
2017 * xtests/tst-pam_substack5.sh: Likewise.
2019 2007-10-18 Tomas Mraz <t8m@centrum.cz>
2021 * xtests/tst-pam_dispatch4.c: Fix comment about the test.
2022 * xtests/tst-pam_dispatch4.pamd: Improve the testcase.
2023 * xtests/tst-pam_cracklib2.c: Make the testcase more robust.
2025 2007-10-12 Thorsten Kukuk <kukuk@thkukuk.de>
2027 * xtests/Makefile.am: Add tst-pam_dispatch5 sources
2028 * xtests/tst-pam_dispatch5.c: New test for jump too far.
2029 * xtests/tst-pam_dispatch5.pamd: New test configuration.
2031 2007-10-09 Tomas Mraz <t8m@centrum.cz>
2033 * modules/pam_tally/pam_tally.8.xml: Document audit option
2036 2007-10-09 Thorsten Kukuk <kukuk@thkukuk.de>
2038 * release version 0.99.9.0
2040 * configure.in: Increase vesion number.
2042 * libpam/Makefile.am: Increase release number.
2043 * libpam_misc/Makefile.am: Increase release number.
2045 * po/*.po: Regenerate.
2047 2007-10-08 Thorsten Kukuk <kukuk@thkukuk.de>
2049 * modules/pam_time/pam_time.c (is_same): Length of strings without
2050 wildcard needs to be the same.
2051 * modules/pam_group/pam_group.c (is_same): Likewise.
2053 2007-10-01 Thorsten Kukuk <kukuk@thkukuk.de>
2055 * xtests/tst-pam_group1.c: New test case for user compare in pam_group.
2056 * xtests/tst-pam_group1.sh: Script to run test case.
2057 * xtests/tst-pam_group1.pamd: Config for test case.
2058 * xtests/Makefile.am: Add tst-pam_group1 test case.
2059 * xtests/run-xtests.sh: Save/restore group.conf.
2060 * xtests/group.conf: New.
2062 * modules/pam_xauth/pam_xauth.c (pam_sm_open_session): Don't
2063 free arguments used for putenv().
2065 * doc/man/pam_putenv.3.xml: Document that application has to free
2068 2007-09-27 Tomas Mraz <t8m@centrum.cz>
2070 * modules/pam_succeed_if/pam_succeed_if.c (evaluate_inlist): Fix in
2071 operator rhbz #295151.
2072 * modules/pam_namespace/pam_namespace.c (poly_name): Do not try to
2073 get context when SELinux is disabled.
2075 2007-09-27 Thorsten Kukuk <kukuk@thkukuk.de>
2077 * xtests/tst-pam_succeed_if1.c: New test case for
2078 https://bugzilla.redhat.com/show_bug.cgi?id=295151
2079 * xtests/tst-pam_succeed_if1.sh: Script to run test case.
2080 * xtests/tst-pam_succeed_if1.pamd: Config for test case.
2081 * xtests/Makefile.am: Add tst-pam_succeed_if1 test case.
2083 * xtests/run-xtests.sh: Add support to skip tests.
2084 * xtests/tst-pam_limits1.c: Skip test if RLIMIT_NICE is not
2087 2007-09-03 Steve Langasek <vorlon@debian.org>
2089 * modules/pam_limits/pam_limits.c: remove a number of unnecessary
2090 string manipulations, including a strncpy() that was acting on
2093 * libpam_misc/misc_conv.c: don't block SIGINT in misc_conv; it's
2094 perfectly valid to allow the user to interrupt at a prompt. If
2095 an application wants prompts to not be interruptable, the
2096 application should take responsibility for blocking SIGINT.
2098 2007-09-02 Thorsten Kukuk <kukuk@thkukuk.de>
2100 * examples/Makefile.am: Fix usage of LIBADD, LDADD and LDFLAGS.
2101 * libpam/Makefile.am: Likewise.
2102 * modules/pam_access/Makefile.am: Likewise.
2103 * modules/pam_cracklib/Makefile.am: Likewise.
2104 * modules/pam_debug/Makefile.am: Likewise.
2105 * modules/pam_deny/Makefile.am: Likewise.
2106 * modules/pam_echo/Makefile.am: Likewise.
2107 * modules/pam_env/Makefile.am: Likewise.
2108 * modules/pam_exec/Makefile.am: Likewise.
2109 * modules/pam_faildelay/Makefile.am: Likewise.
2110 * modules/pam_filter/Makefile.am: Likewise.
2111 * modules/pam_filter/upperLOWER/Makefile.am: Likewise.
2112 * modules/pam_ftp/Makefile.am: Likewise.
2113 * modules/pam_group/Makefile.am: Likewise.
2114 * modules/pam_issue/Makefile.am: Likewise.
2115 * modules/pam_keyinit/Makefile.am: Likewise.
2116 * modules/pam_lastlog/Makefile.am: Likewise.
2117 * modules/pam_limits/Makefile.am: Likewise.
2118 * modules/pam_listfile/Makefile.am: Likewise.
2119 * modules/pam_localuser/Makefile.am: Likewise.
2120 * modules/pam_loginuid/Makefile.am: Likewise.
2121 * modules/pam_mail/Makefile.am: Likewise.
2122 * modules/pam_mkhomedir/Makefile.am: Likewise.
2123 * modules/pam_motd/Makefile.am: Likewise.
2124 * modules/pam_namespace/Makefile.am: Likewise.
2125 * modules/pam_nologin/Makefile.am: Likewise.
2126 * modules/pam_permit/Makefile.am: Likewise.
2127 * modules/pam_rhosts/Makefile.am: Likewise.
2128 * modules/pam_rootok/Makefile.am: Likewise.
2129 * modules/pam_securetty/Makefile.am: Likewise.
2130 * modules/pam_selinux/Makefile.am: Likewise.
2131 * modules/pam_shells/Makefile.am: Likewise.
2132 * modules/pam_stress/Makefile.am: Likewise.
2133 * modules/pam_succeed_if/Makefile.am: Likewise.
2134 * modules/pam_tally/Makefile.am: Likewise.
2135 * modules/pam_time/Makefile.am: Likewise.
2136 * modules/pam_umask/Makefile.am: Likewise.
2137 * modules/pam_unix/Makefile.am: Likewise.
2138 * tests/Makefile.am: Likewise.
2140 2007-08-31 Steve Langasek <vorlon@debian.org>
2142 * modules/pam_group/group.conf: don't use "games" as an example
2143 group, on some distros this is a pre-existing group that it would
2144 be a security hole to give users access to.
2146 2007-08-30 Thorsten Kukuk <kukuk@thkukuk.de>
2148 * modules/pam_limits/limits.conf.5.xml: Document that maxlogins
2149 is ignored for users with UID 0.
2151 2007-08-30 Steve Langasek <vorlon@debian.org>
2153 * modules/pam_unix/support.c, modules/pam_unix/unix_chkpwd.c:
2154 A wrong username doesn't need to be logged at LOG_ALERT;
2155 LOG_WARNING should be sufficient.
2156 Patch from Sam Hartman <hartmans@debian.org>.
2158 * modules/pam_cracklib/pam_cracklib.c:
2159 s/CRACKLIB_DICT/CRACKLIB_DICTS/, for consistency with existing
2162 2007-08-29 Steve Langasek <vorlon@debian.org>
2164 * libpam/pam_modutil_getgrgid.c, libpam/pam_modutil_getgrnam.c,
2165 libpam/pam_modutil_getpwnam.c, libpam/pam_modutil_getpwuid.c,
2166 libpam/pam_modutil_getspnam.c: don't use pthread mutexes in libpam
2167 unnecessarily; this avoids linking problems on non-Linux
2170 * modules/pam_listfile/pam_listfile.c, modules/pam_listfile/README,
2171 modules/pam_listfile/pam_listfile.8,
2172 modules/pam_listfile/pam_listfile.8.xml: add a 'quiet' option to
2173 avoid logging errors any time a user is refused service by this
2176 2007-08-29 Thorsten Kukuk <kukuk@thkukuk.de>
2178 * modules/pam_rhosts/pam_rhosts_auth.c: buflen needs to be size_t.
2179 (__icheckhost): Cast to int32_t to fix limited range error.
2181 * modules/pam_cracklib/pam_cracklib.c: Mark cracklib_dictpath
2184 2007-08-29 Steve Langasek <vorlon@debian.org>
2186 * modules/pam_rhosts/pam_rhosts_auth.c: getline returns -1 at
2187 EOF, not 0. Check accordingly to fix an infinite loop. Thanks
2188 to Stephan Springl <springl-rhosts@bfw-online.de> for catching
2191 2007-08-28 Steve Langasek <vorlon@debian.org>
2193 * configure.in: call AC_CHECK_HEADERS instead of AC_CHECK_HEADER
2194 for crack.h, so we get a HAVE_CRACK_H define.
2195 * modules/pam_cracklib/pam_cracklib.c: don't copy around the
2196 cracklib dictpath into a fixed-width buffer, when we can just
2197 point at the existing strings; and allow users to override the
2198 default cracklib path with -DCRACKLIB_DICT, required for
2199 compatibility with cracklib 2.7.
2201 2007-08-27 Steve Langasek <vorlon@debian.org>
2203 * modules/pam_limits/pam_limits.c: when building on non-Linux
2204 systems, give a warning only, not an error; no one seems to
2205 remember why this error was here in the first place, but leave
2206 something in that might still grab the attention of non-Linux
2208 Patch from Michal Suchanek <hramrach_l@centrum.cz>.
2209 * configure.in, modules/pam_rhosts/pam_rhosts_auth.c: check for
2210 the presence of net/if.h before using, required for Hurd
2212 Patch from Igor Khavkine <i_khavki@alcor.concordia.ca>.
2213 * modules/pam_limits/pam_limits.c: conditionalize the use of
2214 RLIMIT_AS, which is not present on the Hurd.
2215 Patch from Igor Khavkine <i_khavki@alcor.concordia.ca>.
2216 * modules/pam_rhosts/pam_rhosts_auth.c: use getline() instead of
2217 a static buffer when available; fixes the build on systems
2218 without MAXHOSTNAMELEN (i.e., the Hurd).
2219 * modules/pam_xauth/pam_xauth.c: make sure PATH_MAX is defined
2222 2007-08-26 Andrew Morgan <morgan@kernel.org>
2224 * doc/man/pam.conf-syntax.xml
2225 Minor fixes: '\[' -> '\]'.
2227 2007-08-25 Steve Langasek <vorlon@debian.org>
2229 * doc/man/pam.conf-syntax.xml, doc/man/pam.conf.5:
2230 Document "new" control options conv_again and incomplete, supported
2231 in pam.d's extended syntax.
2232 Patch from Ben Collins <bcollins@debian.org>.
2234 2007-08-15 Tomas Mraz <t8m@centrum.cz>
2236 * modules/pam_access/pam_access.c (list_match): Add explicit
2237 sptr argument for strtok_r, otherwise the code is not portable.
2239 2007-08-13 Olivier Blin <blino@mandriva.com>
2241 * doc/man/pam.3.xml: Fix typo.
2242 * doc/man/pam.3: Likewise.
2243 * doc/man/pam_end.3.xml: Likewise.
2244 * doc/man/pam_end.3: Likewise.
2246 2007-07-18 Thorsten Kukuk <kukuk@thkukuk.de>
2248 * release version 0.99.8.1
2250 * libpam/pam_audit.c: Include unistd.h for getuid().
2251 * libpam/Makefile.am: Bump version number.
2253 2007-07-12 Thorsten Kukuk <kukuk@thkukuk.de>
2255 * libpam/pam_audit.c (_pam_audit_writelog): Don't return
2256 error if application runs as normal user. Fixes regression
2257 introduced with last change.
2259 2007-07-10 Thorsten Kukuk <kukuk@thkukuk.de>
2261 * configure.in: Add --with-db-uniquename option to support
2262 db libraries and functions with unique name extension.
2263 Patch from Diego 'Flameeyes' Pettenò <flameeyes@gmail.com>.
2265 * modules/pam_limits/pam_limits.c: Include locale.h.
2267 2007-07-06 Thorsten Kukuk <kukuk@thkukuk.de>
2269 * release version 0.99.8.0
2271 * configure.in: Check for audit_log_acct_message instead of
2272 audit_log_user_message.
2273 * libpam/pam_audit.c: Use audit_log_acct_message.
2274 Based on patch from Mark J Cox <mjc@redhat.com>.
2275 * libpam/Makefile.am: Bump version number of libpam.
2277 * modules/pam_umask/pam_umask.c (set_umask): mode_t is 32bit,
2280 * xtests/tst-pam_limits1.c: Fix printf arguments.
2282 * po/*.po: Merge po files with latest code changes.
2284 2007-06-26 Thorsten Kukuk <kukuk@thkukuk.de>
2286 * modules/pam_limits/pam_limits.c (process_limit): Check upper and
2287 lower limit of nice value, fix off-by-one in conversation to rlim_t.
2288 * xtests/Makefile.am: Add new pam_limits test case.
2289 * xtests/limits.conf: New, config file for test case.
2290 * xtests/pam_limits1.c: New, test case for RLIMIT_NICE.
2291 * xtests/pam_limits1.sh: Likewise.
2292 * xtests/pam_limits1.pamd: Likewise.
2294 2007-06-25 Thorsten Kukuk <kukuk@thkukuk.de>
2296 * modules/pam_access/pam_access.c (list_match): Use saveptr of strtok_r
2297 result for recursive calls.
2298 * xtests/Makefile.am: Add new pam_access test cases.
2299 * xtests/pam_access1.c: New test case.
2300 * xtests/pam_access2.c: Likewise.
2301 * xtests/pam_access3.c: Likewise.
2302 * xtests/pam_access4.c: Likewise.
2303 * xtests/pam_access1.sh: Wrapper to create user accounts.
2304 * xtests/pam_access2.sh: Likewise.
2305 * xtests/pam_access3.sh: Likewise.
2306 * xtests/pam_access4.sh: Likewise.
2307 * xtests/pam_access1.pamd: PAM config file for pam_access tests.
2308 * xtests/pam_access2.pamd: Likewise.
2309 * xtests/pam_access3.pamd: Likewise.
2310 * xtests/pam_access4.pamd: Likewise.
2311 * xtests/access.conf: Config file for pam_access tests.
2312 * xtests/run-tests.sh: Install access.conf into system.
2314 2007-06-22 Thorsten Kukuk <kukuk@thkukuk.de>
2316 * modules/pam_loginuid/pam_loginuid.c (set_loginuid): Print
2317 better error message if /proc/self/loginuid cannot be opened.
2319 * modules/pam_limits/pam_limits.c (process_limit): Check for
2320 variable overflow after multiplication [bnc#283001].
2322 * modules/pam_access/pam_access.c: Add new syntax for groups
2323 in access.conf to differentiate group names from account names.
2324 Based on patch from Julien Lecomte <julien@famille-lecomte.net>,
2325 solves feature request [#411390].
2326 * modules/pam_access/access.conf: Add example for new group
2328 * modules/pam_access/access.conf.5.xml: Document new syntax.
2330 2007-06-20 Thorsten Kukuk <kukuk@thkukuk.de>
2332 * modules/pam_cracklib/pam_cracklib.8.xml: Document new minclass
2334 * modules/pam_cracklib/pam_cracklib.c: Add support for minimum
2335 character classes [#1688777]. Based on patch from Keith Schincke.
2337 * xtests/tst-pam_cracklib2.c: New, test case for minclass option.
2338 * xtests/tst-pam_cracklib2.pamd: New, PAM config file for test case.
2339 * xtests/Makefile.am: Add new testcase.
2341 * xtests/pam_cracklib.c: Fix comment what this application tests.
2343 * configure.in: Use /lib64 on x86-64, ppc64, s390x, sparc64
2345 2007-06-15 Tomas Mraz <t8m@centrum.cz>
2347 * modules/pam_selinux/pam_selinux.8.xml: Remove multiple option,
2348 add select_context and use_current_range options.
2349 * modules/pam_selinux/pam_selinux.c (send_audit_message): Added
2350 function for auditing role/level changes.
2351 (query_response): Add default response.
2352 (select_context): Removed.
2353 (manual_context): Query only role and level.
2354 (mls_range_allowed): Added function for range check.
2355 (config_context): Added function for role and level override.
2356 (pam_sm_open_session): Remove multiple option, add select_context
2357 and use_current_range_options. Use getseuserbyname to obtain
2358 SELinux user and level. Audit role/level changes. Call setkeycreatecon
2359 to assign key creation context. Don't fail on errors when SELinux
2360 is not in enforcing mode.
2361 * configure.in: Check for setkeycreatecon().
2363 * modules/pam_namespace/README.xml: Avoid duplication of
2365 * modules/pam_namespace/namespace.conf: More real life example
2367 * modules/pam_namespace/namespace.conf.5.xml: Likewise plus
2368 properly describe how instance directory names are formed.
2369 * modules/pam_namespace/namespace.init: Preserve euid when
2370 called from setuid apps (su, newrole).
2371 * modules/pam_namespace/pam_namespace.8.xml: Added option
2372 no_unmount_on_close.
2373 * modules/pam_namespace/pam_namespace.c (process_line): Polyinst
2374 methods are now user, level and context. Fix crash on unknown
2375 override user in config file.
2376 (ns_override): Add explicit uid parameter.
2377 (form_context): Skip for user method. Implement level based
2379 (poly_name): Initialize contexts. Add level based polyinst,
2380 remove 'both' metod. Use raw contexts for instance names,
2381 truncate long instance names and add hash.
2382 (ns_setup): Hashing moved to poly_name().
2383 (setup_namespace): Handle correctly override users for
2384 su (when unmnt_remnt is used).
2385 (pam_sm_close_session): Added no_unmount_on_close option.
2386 * modules/pam_namespace/pam_namespace.h: Added
2387 no_unmount_on_close_option, level method, limit on instance
2388 directory name length.
2390 2007-05-04 Thorsten Kukuk <kukuk@suse.de>
2392 * xtests/run-xtests.sh: Use SRCDIR to find PAM config files.
2393 * xtests/Makefile.am: Call run-xtests.sh with srcdir as first
2395 Based on patch by Bernard Leak <thisisnotapipe@hotmail.com>.
2397 2007-04-30 Thorsten Kukuk <kukuk@thkukuk.de>
2399 * modules/pam_limits/limits.conf: Address space limit is KB.
2400 * modules/pam_limits/limits.conf.5.xml: Likewise.
2401 Reported by Thomas Vander Stichele <thomas@apestaart.org>.
2403 * modules/pam_mail/pam_mail.c (_do_mail): Remove duplicate
2404 check for PAM_SILENT and don't bail out if it is set [#1706247].
2406 2007-03-29 Tomas Mraz <t8m@centrum.cz>
2408 * modules/pam_access/pam_access.c (login_access, list_match):
2409 Replace strtok with strtok_r.
2410 * modules/pam_cracklib/pam_cracklib.c (check_old_password):
2412 * modules/pam_ftp/pam_ftp.c (lookup, pam_authenticate):
2414 * modules/pam_unix/pam_unix_passwd.c (check_old_password,
2415 save_old_password): Likewise.
2417 * modules/pam_limits/Makefile.am: Define limits.d dir and install it.
2418 * modules/pam_limits/pam_limits.8.xml: Describe limits.d parsing.
2419 * modules/pam_limits/pam_limits.c (pam_limit_s): Make conf_file ptr.
2420 (pam_parse): conf_file is now ptr.
2421 (pam_sm_open_session): Add parsing files from limits.d subdir using
2422 glob, change pl to pointer.
2424 2007-03-12 Thorsten Kukuk <kukuk@thkukuk.de>
2426 * po/ar.po: New translation.
2427 * po/ca.po: Likewise.
2428 * po/da.po: Likewise.
2429 * po/ru.po: Likewise.
2430 * po/sv.po: Likewise.
2431 * po/zu.po: Likewise.
2432 * po/LINGUAS: Add ar, ca, da, ru, sv, zu
2434 * po/hu.po: Update translation.
2436 2007-02-21 Tomas Mraz <t8m@centrum.cz>
2438 * modules/pam_unix/unix_chkpwd.c (_unix_verify_password): Test for
2439 allocation failure in bigcrypt().
2441 * modules/pam_unix/pam_unix_passwd.c (pam_sm_chauthtok): Allow
2442 modification of '*' password by root.
2444 2007-02-06 Tomas Mraz <t8m@centrum.cz>
2446 * modules/pam_loginuid/pam_loginuid.c (set_loginuid): Remove
2447 debug syslog message when loginuid doesn't exist.
2449 2007-02-01 Tomas Mraz <t8m@centrum.cz>
2451 * xtests/tst-pam_unix3.c: Fix typos in comments.
2453 * modules/pam_unix/support.c (_unix_verify_password): Explicitly
2454 disallow '!' in the beginning of password hash. Treat only
2455 13 bytes password hash specifically. (Suggested by Solar Designer.)
2456 Fix a warning and test for allocation failure.
2457 * modules/pam_unix/unix_chkpwd.c (_unix_verify_password): Likewise.
2459 2007-01-31 Thorsten Kukuk <kukuk@thkukuk.de>
2461 * xtests/Makefile.am: Add new pam_unix.so tests
2462 * xtests/run-xtests.sh: Prefer shell scripts (wrapper)
2464 * xtests/tst-pam_cracklib1.c: Fix typo.
2465 * xtests/tst-pam_unix1.c: New, for sucurity fix.
2466 * xtests/tst-pam_unix1.pamd: New.
2467 * xtests/tst-pam_unix1.sh: New.
2468 * xtests/tst-pam_unix2.c: New, for crypt checks.
2469 * xtests/tst-pam_unix2.pamd: New.
2470 * xtests/tst-pam_unix2.sh: New.
2471 * xtests/tst-pam_unix3.c: New, for bigcrypt checks.
2472 * xtests/tst-pam_unix3.pamd: New.
2473 * xtests/tst-pam_unix3.sh: New.
2475 2007-01-23 Thorsten Kukuk <kukuk@suse.de>
2479 * configure.in: Set version number to 0.99.7.1
2481 2007-01-23 Thorsten Kukuk <kukuk@thukuk.de>
2482 Tomas Mraz <t8m@centrum.cz>
2484 * modules/pam_unix/support.c (_unix_verify_password): Always
2485 compare full encrypted passwords (CVE-2007-0003).
2487 2007-01-23 Tomas Mraz <t8m@centrum.cz>
2489 * modules/pam_loginuid/Makefile.am (AM_LDFLAGS): Add LIBAUDIT.
2491 * modules/pam_selinux/Makefile.am (pam_selinux_check_LDFLAGS): Add
2493 (pam_selinux_la_LDFLAGS): Likewise.
2495 2007-01-17 Thorsten Kukuk <kukuk@thkukuk.de>
2499 * configure.in: Set version number to 0.99.7.0
2501 * Makefile.am (M4_FILES): Replace GNU make extension by listing
2504 2007-01-17 Tomas Mraz <t8m@centrum.cz>
2506 * po/*.po: Updated strings to translate.
2507 * po/Linux-PAM.pot: Likewise.
2509 2007-01-16 Thorsten Kukuk <kukuk@thkukuk.de>
2511 * doc/man/pam.conf-syntax.xml: Improve documentation about
2512 sufficient keyword (Patch by Petteri Räty <betelgeuse@gentoo.org>)
2514 2006-12-20 Thorsten Kukuk <kukuk@thkukuk.de>
2516 * modules/pam_unix/pam_unix_passwd.c (pam_sm_chauthtok): Forbid
2517 only '+' and '-' as first characters for account names.
2518 * modules/pam_unix/pam_unix_auth.c (pam_sm_authenticate): Likewise.
2520 2006-12-18 Thorsten Kukuk <kukuk@thkukuk.de>
2522 * configure.in: Fix ENOKEY check (specify errno.h as header
2525 * configure.in: Add AM_PROG_CC_C_O.
2526 * libpam/Makefile.am: Add content of AM_LDFLAGS to *_LDFLAGS.
2527 * modules/pam_tally/Makefile.am: Likewise.
2528 * modules/pam_unix/Makefile.am: Likewise.
2530 * modules/pam_stress/pam_stress.c (pam_sm_chauthtok): Fix
2531 localisation of message printed to user.
2532 * po/de.po: Adjust translation.
2534 2006-12-18 Tomas Mraz <t8m@centrum.cz>
2536 * modules/pam_unix/pam_unix_passwd.c (pam_sm_chauthtok): Localize
2537 message printed to user.
2539 * modules/pam_unix/support.c (_unix_verify_password): Use strncmp
2540 only for bigcrypt result.
2542 * modules/pam_keyinit/pam_keyinit.c (kill_keyrings): Switch to new
2543 egid first, euid next. Revert euid/egid to old euid/egid and not
2545 (pam_sm_open_session): Switch to new rgid first, ruid next.
2547 2006-12-13 Thorsten Kukuk <kukuk@thkukuk.de>
2549 * modules/pam_localuser/pam_localuser.c: Add support for session
2550 and chauthtok [SF#1606180].
2551 * modules/pam_localuser/pam_localuser.8.xml: Document last change.
2553 * libpam/pam_audit.c (_pam_audit_writelog): Print error message
2556 2006-12-12 Thorsten Kukuk <kukuk@thkukuk.de>
2558 * libpam/pam_audit.c (_pam_audit_writelog): Print error
2559 message on failure to syslog.
2561 2006-12-09 Thorsten Kukuk <kukuk@thkukuk.de>
2563 * modules/pam_umask/pam_umask.c: Use strtoul instead of strtol,
2564 fix overflow detection.
2566 2006-12-06 Thorsten Kukuk <kukuk@thkukuk.de>
2568 * modules/pam_mkhomedir/pam_mkhomedir.c (rec_mkdir): Fix
2569 handling of left-most path component [SF#1591598].
2570 (create_homedir): Mark user visible messages for translation.
2571 * po/de.po: Adjust german translation for pam_mkhomedir.
2573 * modules/pam_faildelay/pam_faildelay.c: If no argument is
2574 given, try to read FAIL_DELAY from /etc/login.defs.
2575 * modules/pam_faildelay/pam_faildelay.8.xml: Document usage
2578 2006-12-04 Tomas Mraz <t8m@centrun.cz>
2580 * po/jp.po: Fixed mistake in Password: message (from
2581 Peng Huang <phuang@redhat.com>).
2583 2006-11-28 Thorsten Kukuk <kukuk@thkukuk.de>
2585 * po/hu.po: Update hungarian translation (from
2586 Kalman Kemenczy <kkemenczy@novell.com>).
2588 * configure.in: Allow disabling support for cracklib, audit, libdb.
2590 * modules/pam_faildelay/pam_faildelay.8.xml: Correct name of Author.
2592 * configure.in: Remove --enable-docdir (obsolete by --docdir).
2593 * doc/Makefile.am: Don't overwrite htmldir.
2594 * doc/adg/Makefile.am: Use docdir, htmldir and pdfdir.
2595 * doc/mwg/Makefile.am: Likewise.
2596 * doc/sag/Makefile.am: Likewise.
2597 * doc/specs/Makefile.am: Use docdir.
2599 * tests/tst-pam_set_data.c: New test cases for pam_set_data().
2600 * tests/Makefile.am: Add pam_set_data test case.
2602 * libpam/pam_data.c: Add NULL pointer check for module_data_name.
2603 * libpam/Makefile.am: Bump revision of shared library.
2605 2006-11-08 Thorsten Kukuk <kukuk@thkukuk.de>
2607 * configure.in: Add modules/pam_faildelay/Makefile.
2608 * doc/sag/Linux-PAM_SAG.xml: Include pam_faildelay.xml.
2609 * doc/sag/pam_faildelay.xml: New.
2610 * libpam/pam_static_modules.h: Include static pam_faildelay data.
2611 * modules/Makefile.am: Add pam_faildelay directory.
2612 * modules/pam_faildelay/Makefile.am: New.
2613 * modules/pam_faildelay/README: New, generated from XML file.
2614 * modules/pam_faildelay/README.xml: New.
2615 * modules/pam_faildelay/pam_faildelay.8: New, generated from xml.
2616 * modules/pam_faildelay/pam_faildelay.8.xml: New.
2617 * modules/pam_faildelay/pam_faildelay.c: New.
2618 * modules/pam_faildelay/tst-pam_faildelay: New.
2620 * po/POTFILES.in: Add pam_faildelay.c and pam_loginuid.c.
2622 2006-11-07 Thorsten Kukuk <kukuk@thkukuk.de>
2624 * modules/pam_cracklib/pam_cracklib.c: PAM_DEBUG_ARG
2625 is a bit mask and not a boolean value (Reported by
2626 Jochen Voss <voss@seehuhn.de>).
2628 2006-10-26 Thorsten Kukuk <kukuk@thkukuk.de>
2630 * doc/man/pam.3.xml: Add pam_get_user function.
2632 * modules/pam_motd/pam_motd.8.xml: Fix typo.
2634 2006-10-24 Thorsten Kukuk <kukuk@thkukuk.de>
2636 * modules/pam_namespace/pam_namespace.c: Reserve space for
2639 2006-10-24 Thorsten Kukuk <kukuk@thkukuk.de>
2641 * modules/pam_unix/support.c (_unix_verify_password): Try system
2642 crypt() if we don't know the hash alogorithm.
2643 * modules/pam_unix/unix_chkpwd.c (_unix_verify_password): Likewise.
2645 2006-10-13 Tomas Mraz <t8m@centrum.cz>
2647 * doc/mwg/Linux-PAM_MWG.xml: Add id[s] to section[s].
2648 * doc/sag/pam_access.xml: Likewise.
2649 * doc/sag/pam_echo.xml: Likewise.
2650 * doc/sag/pam_env.xml: Likewise.
2651 * doc/sag/pam_exec.xml: Likewise.
2652 * doc/sag/pam_group.xml: Likewise.
2653 * doc/sag/pam_limits.xml: Likewise.
2654 * doc/sag/pam_namespace.xml: Likewise.
2655 * doc/sag/pam_time.xml: Likewise.
2656 * doc/sag/Linux-PAM_SAG.xml: Add id to book.
2657 * doc/adg/Linux-PAM_ADG.xml: Add id to book.
2658 * doc/mwg/Linux-PAM_MWG.xml: Add id to book.
2661 2006-10-07 Thorsten Kukuk <kukuk@thkukuk.de>
2663 * po/hu.po: Updated hungarian translation (from
2664 Kalman Kemenczy <kkemenczy@novell.com>)
2666 2006-09-20 Thorsten Kukuk <kukuk@thkukuk.de>
2668 * doc/adg/Makefile.am: Add manual pages as dependency.
2669 * doc/mwg/Makefile.am: Likewise.
2670 * doc/sag/Makefile.am: Likewise.
2671 * doc/sag/Linux-PAM_SAG.xml: Include pam_unix.xml.
2672 * doc/sag/pam_unix.xml: New.
2673 * modules/pam_unix/Makefile.am: Generate pam_unix.8 manual page.
2674 * modules/pam_unix/README.xml: New.
2675 * modules/pam_unix/pam_unix.8.xml: New.
2676 * modules/pam_unix/README: Regenerate from XML.
2677 * modules/pam_unix/pam_unix.8: Generated from XML.
2679 2006-09-09 Dmitry V. Levin <ldv@altlinux.org>
2681 * modules/pam_wheel/pam_wheel.8.xml: Fix typo.
2682 * modules/pam_wheel/pam_wheel.8: Likewise.
2683 * modules/pam_wheel/README: Likewise.
2685 2006-09-08 Thorsten Kukuk <kukuk@thkukuk.de>
2687 * po/de.po: Fix typo.
2689 2006-09-06 Thorsten Kukuk <kukuk@thkukuk.de>
2691 * release version 0.99.6.3
2693 2006-09-01 Thorsten Kukuk <kukuk@thkukuk.de>
2695 * modules/pam_loginuid/pam_loginuid.8.xml: Fix typo in
2698 2006-08-31 Thorsten Kukuk <kukuk@thkukuk.de>
2700 * modules/pam_env/environment: New, dummy environment example
2703 * modules/pam_namespace/Makefile.am: Don't install
2704 manual page if we don't build module.
2706 * m4/ld-as-needed.m4: Don't set LDFLAGS if check failed.
2707 * m4/ld-O1: Likewise.
2709 2006-08-30 Tomas Mraz <t8m@centrum.cz>
2711 * modules/pam_access/pam_access.8.xml: All services supported.
2712 * modules/pam_access/pam_access.c (pam_sm_open_session): New.
2713 (pam_sm_close_session): New.
2714 (pam_sm_chauthtok): New.
2716 * modules/pam_access/pam_succeed_if.8.xml: All services supported.
2717 * modules/pam_access/pam_succeed_if.c (pam_sm_setcred): Return
2718 PAM_IGNORE rather than success.
2719 (pam_sm_open_session): New.
2720 (pam_sm_close_session): New.
2721 (pam_sm_chauthtok): New.
2723 2006-08-30 Thorsten Kukuk <kukuk@thkukuk.de>
2725 * xtests/Makefile.am: Move shell code to execute tests from here ...
2726 * xtests/run-xtests.sh: ... to here.
2727 * xtests/*.c: Include config.h.
2728 * tests/*.c: Likewise.
2730 * modules/pam_namespace/pam_namespace.c: Use pam_modutil_getpwnam()
2731 instead of getpwnam().
2733 2006-08-29 Thorsten Kukuk <kukuk@thkukuk.de>
2735 * doc/sag/pam_loginuid.xml: New.
2736 * doc/sag/Linux-PAM_SAG.xml: Include pam_loginuid.xml.
2738 * configure.in: Add modules/pam_loginuid/Makefile.
2739 * modules/Makefile.am: Add pam_loginuid sub directory.
2741 * libpam/pam_static_modules.h: Add pam_loginuid.
2743 * modules/pam_loginuid/Makefile.am: New.
2744 * modules/pam_loginuid/tst-pam_loginuid: New.
2745 * modules/pam_loginuid/pam_loginuid.8.xml: New.
2746 * modules/pam_loginuid/pam_loginuid.8: New, generated from XML source.
2747 * modules/pam_loginuid/pam_loginuid.c: New.
2748 * modules/pam_loginuid/README.xml: New.
2749 * modules/pam_loginuid/README: New, generated from XML source.
2751 2006-08-29 Dmitry V. Levin <ldv@altlinux.org>
2753 * modules/pam_exec/pam_exec.c (call_exec): Add required third
2754 argument to open() call with O_CREAT flag set.
2756 2006-08-28 Thorsten Kukuk <kukuk@thkukuk.de>
2758 * modules/pam_cracklib/pam_cracklib.c (pam_sm_chauthtok): Remove
2761 2006-08-24 Thorsten Kukuk <kukuk@thkukuk.de>
2763 * release version 0.99.6.2
2765 * modules/pam_lastlog/pam_lastlog.c (last_login_date): Create
2766 lastlog file if it does not exist.
2768 * modules/pam_cracklib/pam_cracklib.c (pam_sm_chauthtok): Check
2769 for error from getting second token.
2770 * xtests/Makefile.am: Add tst-pam_cracklib1
2771 * xtests/tst-pam_cracklib1.c: New, check for pam_cracklib seg.fault.
2772 * xtests/tst-pam_cracklib1.pamd: New, config for cracklib test.
2774 2006-08-24 Thorsten Kukuk <kukuk@thkukuk.de>
2776 * xtests/tst-pam_dispatch4.c: New test.
2777 * xtests/tst-pam_dispatch4.pamd: PAM config for new test.
2779 2006-08-09 Thorsten Kukuk <kukuk@thkukuk.de>
2781 * release version 0.99.6.1
2783 2006-08-09 David Howells <dhowells@redhat.com>
2785 * modules/pam_keyinit/pam_keyinit.c (kill_keyrings): Set real uid
2786 to user's before revoking.
2787 (pam_sm_open_session): Remember the uid.
2789 2006-08-06 Thorsten Kukuk <kukuk@thkukuk.de>
2791 * modules/pam_umask/pam_umask.c (setup_limits_from_gecos):
2793 * modules/pam_umask/pam_umask.8.xml: Document silent option.
2795 * xtests/Makefile.am: Fix includes for bootstrapping.
2796 Reported by Greg Schafer <gschafer@zip.com.au>.
2798 2006-08-05 Thorsten Kukuk <kukuk@thkukuk.de>
2800 * release version 0.99.6.0
2802 * modules/pam_limits/pam_limits.c (pam_sm_open_session): Use
2803 pam_modutil_getpwnam instead of getpwnam.
2805 * modules/pam_succeed_if/pam_succeed_if.c (evaluate): Cast
2806 svc variable to char pointer for snprintf.
2808 * configure.in: Generate xtests/Makefile.
2809 * Makefile.am (SUBDIRS): Add xtests.
2810 * README: Document make check and make xtests.
2811 * xtests/Makefile.am: New.
2812 * xtests/tst-pam_dispatch1.pamd: New.
2813 * xtests/tst-pam_dispatch2.pamd: New.
2814 * xtests/tst-pam_dispatch3.pamd: New.
2815 * xtests/tst-pam_dispatch1.c: New.
2816 * xtests/tst-pam_dispatch2.c: New.
2817 * xtests/tst-pam_dispatch3.c: New.
2819 2006-08-04 Ray Strode <rstrode@redhat.com>
2821 * modules/pam_succeed_if/pam_succeed_if.c (pam_sm_authenticate):
2822 Return PAM_USER_UNKNOWN instead of PAM_SERVICE_ERR where appropriate.
2824 2006-08-03 David Howells <dhowells@redhat.com>
2826 * modules/pam_keyinit/pam_keyinit.c: Debug should be off by default.
2827 (init_keyrings): Properly handle multiple invocations of the module.
2828 (kill_keyrings, pam_sm_open_session, pam_sm_close_session): Likewise.
2830 2006-08-03 Tomas Mraz <t8m@centrum.cz>
2832 * modules/pam_succeed_if/pam_succeed_if.c (evaluate_inlist):
2833 New function for list matching.
2834 (evaluate_notinlist): Likewise.
2835 (evaluate): Add service value match, list matching.
2836 * modules/pam_succeed_if/pam_succeed_if.8.xml: Document the
2839 * modules/pam_selinux/pam_selinux.c (security_label_tty): Don't log
2840 relabelling error when the tty device doesn't exist (ENOENT).
2842 2006-08-01 Thorsten Kukuk <kukuk@thkukuk.de>
2844 * doc/man/pam_fail_delay.3.xml: Fix some Bugs and enhance
2845 rationale about when this function should be used and when not.
2847 * doc/index.html: Cleanup to look prettier.
2849 2006-08-01 Thorsten Kukuk <kukuk@thkukuk.de>
2851 * libpam/Makefile.am: Bump patchlevel of libpam.
2852 * libpam/pam_dispatch.c (_pam_dispatch_aux): If [return=die]
2853 or [return=bad] is used, don't return PAM_IGNORE. Based on
2854 patch by Tomas Mraz <t8m@centrum.cz>, [BRC#196859].
2856 2006-07-28 Thorsten Kukuk <kukuk@thkukuk.de>
2858 * ABOUT-NLS: Upgrade to gettext-0.15.
2859 * config.rpath: Likewise.
2860 * m4/gettext.m4: Upgrade to gettext-0.15.
2861 * m4/inttypes-h.m4: New file, from gettext-0.15.
2862 * m4/inttypes-pri.m4: Upgrade to gettext-0.15.
2863 * m4/lib-link.m4: Upgrade to gettext-0.15.
2864 * m4/lib-prefix.m4: Upgrade to gettext-0.15.
2865 * m4/lock.m4: New file, from gettext-0.15.
2866 * m4/longdouble.m4: Upgrade to gettext-0.15.
2867 * m4/nls.m4: Upgrade to gettext-0.15.
2868 * m4/po.m4: Upgrade to gettext-0.15.
2869 * m4/size_max.m4: Upgrade to gettext-0.15.
2870 * m4/visibility.m4: New file, from gettext-0.15.
2871 * po/Makefile.in.in: Upgrade to gettext-0.15.
2873 2006-07-24 David Quigley <dpquigl@tycho.nsa.gov>
2875 * modules/pam_namespace/Makefile.am: Add pam_namespace.h.
2876 * modules/pam_namespace/pam_namespace.c: Move includes and
2877 data structure definitions from here ...
2878 * modules/pam_namespace/pam_namespace.h: ... here. New file.
2880 * modules/pam_namespace/pam_namespace.c: Move large sections
2881 of code into new functions.
2883 2006-07-24 Thorsten Kukuk <kukuk@thkukuk.de>
2885 * doc/adg/Makefile.am: Add uninstall and distclean rules.
2886 * doc/mwg/Makefile.am: Likewise.
2887 * doc/sag/Makefile.am: Likewise.
2889 2006-07-08 Daniel Richard G. <skunk@iskunk.org>
2891 * conf/pam_conv1/Makefile.am: Fix rules for lex and yacc files.
2892 * conf/pam_conv1/pam_conv.lex: Rename to ...
2893 * conf/pam_conv1/pam_conv_l.l: ... this.
2894 * conf/pam_conv1/pam_conv.y: Rename to ...
2895 * conf/pam_conv1/pam_conv_y.y: ... this.
2896 * configure.in: Add AC_HELP_STRING()s to various AC_ARG_ENABLE()
2898 * doc/Makefile.am: Fix rule to install index.html.
2899 * doc/adg/Makefile.am: Fix test usage.
2900 * doc/mwg/Makefile.am: Likewise.
2901 * doc/sag/Makefile.am: Likewise.
2902 * doc/specs/Makefile.am: Fix rules for lex and yacc files.
2903 * specs/parse.lex: Rename to ...
2904 * doc/specs/parse_l.l: ... this.
2905 * doc/specs/parse.y: Rename to ...
2906 * doc/specs/parse_y.y: ... this.
2907 * libpam/pam_account.c: Fix #if vs. #ifdef.
2908 * libpam/pam_audit.c: Likewise.
2909 * libpam/pam_auth.c: Likewise.
2910 * libpam/pam_password.c: Likewise.
2911 * libpam/pam_private.h: Likewise.
2912 * libpam/pam_session.c: Likewise.
2913 * libpam/pam_start.c: Likewise.
2914 * libpam/pam_static.c: Fix "empty sourcefile" warning.
2915 * modules/pam_limits/pam_limits.c: Check for __linux, too.
2916 * modules/pam_userdb/Makefile.am: Don't run test if no
2918 * tests/tst-dlopen.c: Include config.h.
2920 2006-07-03 Dan Yefimov
2922 * configure.in: Fixed have_key_syscalls test.
2924 * modules/pam_access/pam_access.c (from_match): Fixed IPv4 network
2925 match, removed AI_ADDRCONFIG flag.
2927 2006-06-30 Tomas Mraz <t8m@centrum.cz>
2929 * modules/pam_namespace/Makefile.am(EXTRA_DIST): Add namespace.init.
2931 2006-06-29 Thorsten Kukuk <kukuk@thkukuk.de>
2933 * doc/Makefile.am (releasedocs): Fix directory layout.
2934 * doc/adg/Makefile.am: Likewise.
2935 * doc/mwg/Makefile.am: Likewise.
2936 * doc/sag/Makefile.am: Likewise.
2938 2006-06-28 Thorsten Kukuk <kukuk@thkukuk.de>
2940 * doc/sag: System Administrator Guide as XML source.
2941 * doc/sag/Makefile.am: New.
2942 * doc/sag/Linux-PAM_SAG.xml: New, main XML document.
2943 * doc/sag/pam_*.xml: New, wrapper to include module documentation.
2945 * doc/adg: Application Developers Guide as XML source.
2946 * doc/adg/Makefile.am: New.
2947 * doc/adg/Linux-PAM_ADG.xml: New, main XML document.
2948 * doc/adg/pam_*.xml: New, wrappers to include manual pages.
2950 * doc/mwg: Application Developers Guide as XML source.
2951 * doc/mwg/Makefile.am: New.
2952 * doc/mwg/Linux-PAM_MWG.xml: New, main XML document.
2953 * doc/mwg/pam_*.xml: New, wrappers to include manual pages.
2955 * doc/CREDITS: Removed.
2956 * doc/NOTES: Removed.
2957 * doc/pam_appl.sgml: Removed.
2958 * doc/pam_modules.sgml: Removed.
2959 * doc/pam_source.sgml: Removed.
2960 * doc/figs/pam_orient.txt: Removed.
2961 * doc/figs: Removed.
2963 * configure.in: Remove checks for sgml2* progrs, add sag, adg
2966 * doc/Makefile.am: Remove references to sgml, add sag, adg and mwg
2968 * doc/modules: Remove directory.
2969 * doc/html: Remove directory.
2970 * doc/ps: Remove directory.
2971 * doc/pdf: Remove directory.
2972 * doc/txts: Remove directory.
2973 * doc/index.html: Moved from html directory to here.
2975 2006-06-28 Thorsten Kukuk <kukuk@thkukuk.de>
2977 * release version 0.99.5.0
2979 * bump version number to 0.99.5.0
2981 * modules/pam_rhosts/pam_rhosts.c: New module, replaces
2983 * modules/pam_rhosts/pam_rhosts.8.xml: New.
2984 * modules/pam_rhosts/pam_rhosts.8: New, generated from XML source.
2985 * modules/pam_rhosts/tst-pam_rhosts: New.
2986 * modules/pam_rhosts/Makefile.am: Add pam_rhosts, generate
2987 manual page and README.
2988 * modules/pam_rhosts/README.xml: New.
2989 * modules/pam_rhosts/reADME: Regenerated from XML source.
2991 * doc/man/pam_sm_acct_mgmt.3.xml: Adjust syntax for module
2993 * doc/man/pam_sm_authenticate.3.xml: Likewise.
2994 * doc/man/pam_sm_chauthtok.3.xml: Likewise.
2995 * doc/man/pam_sm_close_session.3.xml: Likewise.
2996 * doc/man/pam_sm_open_session.3.xml: Likewise.
2997 * doc/man/pam_sm_setcred.3.xml: Likewise.
2999 * po/POTFILES.in: Add new source files.
3001 * libpam/pam_static_modules.h: Add new modules.
3003 * modules/pam_keyinit.c: Add _pam_keyinit_modstruct.
3005 * modules/pam_keyinit/Makefile.am (EXTRA_DIST): Add XML
3006 files and manual page.
3008 2006-06-27 Thorsten Kukuk <kukuk@thkukuk.de>
3010 * configure.in: Allow disabling of SELinux support, check for
3013 2006-06-27 Tomas Mraz <t8m@centrum.cz>
3015 * modules/pam_namespace/pam_namespace.c: New module
3016 originally written by Janak Desai.
3017 * modules/pam_namespace/Makefile.am: New.
3018 * modules/pam_namespace/README: New.
3019 * modules/pam_namespace/md5.c: New.
3020 * modules/pam_namespace/md5.h: New.
3021 * modules/pam_namespace/namespace.conf: New.
3022 * modules/pam_namespace/namespace.conf.5: New.
3023 * modules/pam_namespace/namespace.conf.5.xml: New.
3024 * modules/pam_namespace/namespace.init: New.
3025 * modules/pam_namespace/pam_namespace.8: New.
3026 * modules/pam_namespace/pam_namespace.8.xml: New.
3027 * modules/pam_namespace/tst-pam_namespace: New.
3028 * modules/Makefile.am: Added pam_namespace.
3029 * configure.in: Added pam_namespace, test for unshare
3032 2006-06-27 David Howells <dhowells@redhat.com>
3034 * modules/pam_keyinit/pam_keyinit.c: New module.
3035 * modules/pam_keyinit/pam_keyinit.8: New.
3036 * modules/pam_keyinit/pam_keyinit.8.xml: New.
3037 * modules/pam_keyinit/README: New.
3038 * modules/pam_keyinit/README.xml: New.
3039 * modules/pam_keyinit/Makefile.am: New.
3040 * modules/pam_keyinit/tst-pam_keyinit: New.
3041 * modules/Makefile.am: Added pam_keyinit.
3042 * configure.in: Added test for the key mgmt syscall.
3044 2006-06-27 Thorsten Kukuk <kukuk@thkukuk.de>
3046 * m4/libprelude.m4: Sync with upstream.
3048 2006-06-27 Tomas Mraz <t8m@centrum.cz>
3050 * modules/pam_unix/pam_unix_acct.c (_unix_run_verify_binary):
3051 signal() fails with SIG_ERR return
3052 * modules/pam_unix/pam_unix_passwd.c(_unix_run_shadow_binary):
3054 * modules/pam_unix/support.c(_unix_run_helper_binary):
3057 2006-06-25 Thorsten Kukuk <kukuk@thkukuk.de>
3059 * doc/man/misc_conv.3.xml: New.
3060 * doc/man/misc_conv.3: New.
3061 * doc/man/pam_misc_paste_env.3.xml: New.
3062 * doc/man/pam_misc_paste_env.3: New.
3063 * doc/man/pam_misc_drop_env.3.xml: New.
3064 * doc/man/pam_misc_drop_env.3: New.
3065 * doc/man/pam_misc_setenv.3.xml: New.
3066 * doc/man/pam_misc_setenv.3: New.
3067 * doc/man/Makefile.am: Add new manual pages.
3069 * doc/man/pam_acct_mgmt.3.xml: Fix syntax for inclusion
3070 in Applicatoin Developer Guide.
3071 * doc/man/pam_authenticate.3.xml: Likewise
3072 * doc/man/pam_chauthtok.3.xml: Likewise
3073 * doc/man/pam_close_session.3.xml: Likewise
3074 * doc/man/pam_conv.3.xml: Likewise
3075 * doc/man/pam_end.3.xml: Likewise
3076 * doc/man/pam_fail_delay.3.xml: Likewise
3077 * doc/man/pam_getenv.3.xml: Likewise
3078 * doc/man/pam_getenvlist.3.xml: Likewise
3079 * doc/man/pam_open_session.3.xml: Likewise
3080 * doc/man/pam_putenv.3.xml: Likewise
3081 * doc/man/pam_setcred.3.xml: Likewise
3082 * doc/man/pam_start.3.xml: Likewise
3083 * doc/man/pam_strerror.3.xml: Likewise
3085 * doc/man/pam_acct_mgmt.3: Regenerate from XML source.
3086 * doc/man/pam_authenticate.3: Likewise
3087 * doc/man/pam_chauthtok.3: Likewise
3088 * doc/man/pam_close_session.3: Likewise
3089 * doc/man/pam_conv.3: Likewise
3090 * doc/man/pam_end.3: Likewise
3091 * doc/man/pam_fail_delay.3: Likewise
3092 * doc/man/pam_getenv.3: Likewise
3093 * doc/man/pam_getenvlist.3: Likewise
3094 * doc/man/pam_open_session.3: Likewise
3095 * doc/man/pam_putenv.3: Likewise
3096 * doc/man/pam_setcred.3: Likewise
3097 * doc/man/pam_sm_close_session.3: Likewise
3098 * doc/man/pam_start.3: Likewise
3099 * doc/man/pam_strerror.3: Likewise
3100 * doc/man/pam_syslog.3: Likewise
3101 * doc/man/PAM.8: Likewise
3103 2006-06-24 Thorsten Kukuk <kukuk@thkukuk.de>
3105 * modules/pam_limits/pam_limits.c (setup_limits): Don't
3106 reset priority for root.
3108 2006-06-23 Thorsten Kukuk <kukuk@thkukuk.de>
3110 * modules/pam_access/access.conf.5.xml: Fix syntax for SAG.
3111 * modules/pam_access/pam_access.8.xml: Likewise.
3112 * modules/pam_deny/pam_deny.8.xml: Likewise.
3113 * modules/pam_echo/pam_echo.8.xml: Likewise.
3114 * modules/pam_env/pam_env.8.xml: Likewise.
3115 * modules/pam_env/pam_env.conf.5.xml: Likewise.
3116 * modules/pam_group/group.conf.5.xml: Likewise.
3117 * modules/pam_group/pam_group.8.xml: Likewise.
3118 * modules/pam_limits/limits.conf.5.xml: Likewise.
3119 * modules/pam_listfile/pam_listfile.8.xml: Likewise.
3120 * modules/pam_succeed_if/pam_succeed_if.8.xml: Likewise.
3121 * modules/pam_time/pam_time.8.xml: Likewise.
3122 * modules/pam_time/time.conf.5.xml: Likewise.
3124 * modules/pam_access/access.conf.5: Regenerate.
3125 * modules/pam_access/pam_access.8: Likewise.
3126 * modules/pam_deny/pam_deny.8: Likewise.
3127 * modules/pam_echo/README: Likewise.
3128 * modules/pam_echo/pam_echo.8: Likewise.
3129 * modules/pam_env/pam_env.8: Likewise.
3130 * modules/pam_env/pam_env.conf.5: Likewise.
3131 * modules/pam_group/README: Likewise.
3132 * modules/pam_group/group.conf.5: Likewise.
3133 * modules/pam_group/pam_group.8: Likewise.
3134 * modules/pam_limits/limits.conf.5: Likewise.
3135 * modules/pam_listfile/README: Likewise.
3136 * modules/pam_listfile/pam_listfile.8: Likewise.
3137 * modules/pam_succeed_if/pam_succeed_if.8: Likewise.
3138 * modules/pam_time/pam_time.8: Likewise.
3139 * modules/pam_time/time.conf.5: Likewise.
3141 * doc/man/Makefile.am: Add pam.conf-desc.xml, pam.conf-dir.xml
3142 and pam.conf-syntax.xml.
3143 * doc/man/pam.conf.5.xml: Split into different pieces for SAG.
3144 * doc/man/pam.conf.5: Regenerated.
3145 * doc/man/pam.conf-desc.xml: New.
3146 * doc/man/pam.conf-dir.xml: New.
3147 * doc/man/pam.conf-syntax.xml: New.
3149 2006-06-21 Thorsten Kukuk <kukuk@thkukuk.de>
3151 * modules/pam_selinux/Makefile.am: Fix "make dist" if libselinux
3154 * modules/pam_issue/pam_issue.8.xml: Fix listing of escapes.
3155 * modules/pam_issue/pam_issue.8: Regenerate.
3157 2006-06-20 Thorsten Kukuk <kukuk@thkukuk.de>
3159 * configure.in: Remove unused check for libcap.
3161 * m4/ld-as-needed.m4: New.
3163 * configure.in: Call PAM_LD_AS_NEEDED and PAM_LD_O1,
3164 require docbook version 4.4.
3166 2006-06-19 Thorsten Kukuk <kukuk@thkukuk.de>
3168 * doc/man/pam.8.xml: Syntax cleanup.
3169 * doc/pam/PAM.8: Regenerated from xml source.
3170 * man/pam_sm_chauthtok.3: New.
3171 * man/pam_sm_chauthtok.3.xml: New.
3172 * man/pam_sm_close_session.3: New.
3173 * man/pam_sm_close_session.3.xml: New.
3174 * man/pam_sm_open_session.3: New.
3175 * man/pam_sm_open_session.3.xml: New.
3176 * man/pam_sm_authenticate.3: New.
3177 * man/pam_sm_authenticate.3.xml: New.
3178 * man/pam_sm_setcred.3: New.
3179 * man/pam_sm_setcred.3.xml: New.
3180 * man/Makefile.am: Add new pam_sm_* manual pages.
3182 * specs/Makefile.am: Fix rule to generate draft.
3184 2006-06-18 Thorsten Kukuk <kukuk@thkukuk.de>
3186 * modules/pam_tally/Makefile.am: Include Make.xml.rules.
3187 * modules/pam_tally/pam_tally.8.xml: New.
3188 * modules/pam_tally/pam_tally.8: New, generated from xml file.
3189 * modules/pam_tally/README.xml: New.
3190 * modules/pam_tally/README: Regenerated from xml file.
3192 * modules/pam_selinux/Makefile.am: Include Make.xml.rules.
3193 * modules/pam_selinux/pam_selinux.8.xml: New.
3194 * modules/pam_selinux/pam_selinux.8: Regenerated from xml file.
3195 * modules/pam_selinux/README.xml: New.
3196 * modules/pam_selinux/README: Regenerated from xml file.
3198 2006-06-17 Thorsten Kukuk <kukuk@thkukuk.de>
3200 * modules/pam_debug/Makefile.am: Include Make.xml.rules.
3201 * modules/pam_debug/pam_debug.8.xml: New.
3202 * modules/pam_debug/pam_debug.8: New, generated from xml file.
3203 * modules/pam_debug/README.xml: New.
3204 * modules/pam_debug/README: Regenerated from xml file.
3206 * examples/vpass.c: UID is unsigned on Linux.
3207 * modules/pam_exec/pam_exec.c: Likewise.
3208 * modules/pam_unix/pam_unix_acct.c: Likewise.
3209 * modules/pam_unix/pam_unix_sess.c: Likewise.
3211 * modules/pam_succeed_if/pam_succeed_if.8.xml: Fix syntax error.
3212 * modules/pam_succeed_if/pam_succeed_if.8: Regenerated.
3213 * modules/pam_succeed_if/README: Regenerated.
3215 * modules/pam_limits/Makefile.am: Include Make.xml.rules.
3216 * modules/pam_limits/limits.conf.5: New, generated from xml file.
3217 * modules/pam_limits/limits.conf.5.xml: New.
3218 * modules/pam_limits/pam_limits.8: New, generated from xml file.
3219 * modules/pam_limits/pam_limits.8.xml: New.
3220 * modules/pam_limits/README.xml: New.
3221 * modules/pam_limits/README: Regenerated from README.xml.
3223 2006-06-16 Thorsten Kukuk <kukuk@thkukuk.de>
3225 * modules/pam_unix/pam_unix_passwd.c (save_old_password): UIDs
3226 are unsigned on Linux, don't truncate them.
3227 (_do_setpass): err is of type clnt_stat, not int.
3229 * modules/pam_lastlog/pam_lastlog.c (last_login_read): Don't
3230 truncate UID for syslog output.
3232 * modules/pam_time/pam_time.c: Replace type boolean with int.
3233 * modules/pam_group/pam_group.c: Likewise.
3235 2006-06-15 Thorsten Kukuk <kukuk@thkukuk.de>
3237 * modules/pam_unix/bigcrypt.h: New.
3238 * modules/pam_unix/Makefile.am: Add bigcrypt.h.
3239 * modules/pam_unix/bigcrypt.c: Include bigcrypt.h.
3240 * modules/pam_unix/support.c: Include bigcrypt.h, remove
3242 * modules/pam_unix/bigcrypt_main.c: Include bigcrypt.h, remove
3244 * modules/pam_unix/pam_unix_passwd.c: Include bigcrypt.h, remove
3247 * modules/pam_time/pam_time.c (logic_member): Remove unused
3250 * modules/pam_group/pam_group.c (logic_field): Accept
3251 colon in tty name. [#1428276].
3252 (logic_member): Remove unused variable len.
3253 (check_account): Fix usage of err variable in debug code.
3255 * modules/pam_time/pam_time.c (logic_field): Likewise.
3257 * configure.in: Add special exceptions for icc: different
3258 compiler warnings, no PIE support.
3260 2006-06-14 Thorsten Kukuk <kukuk@thkukuk.de>
3262 * libpam/pam_misc.c (_pam_strdup): Use strlen and strcpy.
3264 * configure.in: Remove --enable-memory-debug, add option
3265 to disable prelude if installed.
3267 * modules/pam_tally/pam_tally.c: Remove MEMORY_DEBUG
3268 * modules/pam_filter/upperLOWER/upperLOWER.c: Likewise.
3269 * modules/pam_unix/unix_chkpwd.c: Likewise.
3270 * libpam/include/security/_pam_types.h: Likewise.
3271 * libpam/libpam.map: Remove LIBPAM_MALLOC_DEBUG export.
3272 * libpam/pam_malloc.c: Remove file.
3273 * libpam/Makefile.am: Remove pam_malloc.c and pam_malloc.h.
3275 * libpam/pam_handlers.c (extract_modulename): Use _pam_strdup
3278 * libpam/pam_private.h: Remove _pam_strCMP.
3279 * libpam/pam_misc.c: Likewise.
3280 * libpam/pam_handlers.c: Replaced _pam_strCMP with strcasecmp.
3282 2006-06-12 Thorsten Kukuk <kukuk@thkukuk.de>
3284 * modules/pam_tally/Makefile.am (AM_LDFLAGS): Remove flags
3285 for modules from main application.
3287 2006-06-09 Thorsten Kukuk <kukuk@thkukuk.de>
3289 * modules/pam_time/Makefile.am: Include Make.xml.rules.
3290 * modules/pam_time/time.conf.5: New, generated from xml file.
3291 * modules/pam_time/time.conf.5.xml: New.
3292 * modules/pam_time/pam_time.8: New, generated from xml file.
3293 * modules/pam_time/pam_time.8.xml: New.
3294 * modules/pam_time/README.xml: New.
3295 * modules/pam_time/README: Regenerated from README.xml.
3297 * modules/pam_wheel/Makefile.am: Include Make.xml.rules.
3298 * modules/pam_wheel/pam_wheel.8.xml: New.
3299 * modules/pam_wheel/pam_wheel.8: New, generated from xml file.
3300 * modules/pam_wheel/README.xml: New.
3301 * modules/pam_wheel/README: Regenerated from xml file.
3303 * modules/pam_xauth/Makefile.am: Include Make.xml.rules.
3304 * modules/pam_xauth/pam_xauth.8.xml: New.
3305 * modules/pam_xauth/pam_xauth.8: Regenerated from xml file.
3306 * modules/pam_xauth/README.xml: New.
3307 * modules/pam_xauth/README: Regenerated from xml file.
3309 * modules/pam_deny/pam_deny.8.xml: Fix syntax errors.
3310 * modules/pam_deny/pam_deny.8: Regenerate from xml file.
3311 * modules/pam_deny/README: Likewise.
3313 * modules/pam_warn/Makefile.am: Include Make.xml.rules.
3314 * modules/pam_warn/pam_warn.8.xml: New.
3315 * modules/pam_warn/pam_warn.8: New, generated from xml file.
3316 * modules/pam_warn/README.xml: New.
3317 * modules/pam_warn/README: Regenerated from xml file.
3319 * modules/pam_userdb/Makefile.am: Include Make.xml.rules.
3320 * modules/pam_userdb/pam_userdb.8.xml: New.
3321 * modules/pam_userdb/pam_userdb.8: New, generated from xml file.
3322 * modules/pam_userdb/README.xml: New.
3323 * modules/pam_userdb/README: Regenerated from xml file.
3325 2006-06-06 Thorsten Kukuk <kukuk@thkukuk.de>
3327 * modules/pam_shells/Makefile.am: Include Make.xml.rules.
3328 * modules/pam_shells/pam_shells.8.xml: New.
3329 * modules/pam_shells/pam_shells.8: New, generated from xml file.
3330 * modules/pam_shells/README.xml: New.
3331 * modules/pam_shells/README: Regenerated from xml file.
3333 * libpam/include/security/pam_malloc.h: Add missing license
3336 * libpam/include/security/pam_ext.h: Add brackets for C++.
3337 * libpam/include/security/pam_modutil.h: Likewise.
3339 * libpam/include/security/pam_modules.h: Document where to
3340 find the copyright/license informations.
3342 * libpam/include/security/pam_appl.h: Move _pam_compat.h
3343 include inside of brackets.
3345 2006-06-04 Thorsten Kukuk <kukuk@thkukuk.de>
3347 * modules/pam_securetty/Makefile.am: Include Make.xml.rules.
3348 * modules/pam_securetty/pam_securetty.8.xml: New.
3349 * modules/pam_securetty/pam_securetty.8: Regenerated from xml file.
3350 * modules/pam_securetty/README.xml: New.
3351 * modules/pam_securetty/README: Regenerated from xml file.
3353 * modules/pam_rootok/Makefile.am: Include Make.xml.rules.
3354 * modules/pam_rootok/pam_rootok.8.xml: New.
3355 * modules/pam_rootok/pam_rootok.8: New, generated from xml file.
3356 * modules/pam_rootok/README.xml: New.
3357 * modules/pam_rootok/README: Regenerated from xml file.
3359 * modules/pam_permit/Makefile.am: Include Make.xml.rules.
3360 * modules/pam_permit/pam_permit.8.xml: New.
3361 * modules/pam_permit/pam_permit.8: New, generated from xml file.
3362 * modules/pam_permit/README.xml: New.
3363 * modules/pam_permit/README: Regenerated from xml file.
3365 * modules/pam_nologin/Makefile.am: Include Make.xml.rules.
3366 * modules/pam_nologin/pam_nologin.8.xml: New.
3367 * modules/pam_nologin/pam_nologin.8: Regenerated from xml file.
3368 * modules/pam_nologin/README.xml: New.
3369 * modules/pam_nologin/README: Regenerated from xml file.
3371 2006-06-03 Thorsten Kukuk <kukuk@thkukuk.de>
3373 * modules/pam_motd/Makefile.am: Include Make.xml.rules.
3374 * modules/pam_motd/pam_motd.8.xml: New.
3375 * modules/pam_motd/pam_motd.8: New, generated from xml file.
3376 * modules/pam_motd/README.xml: New.
3377 * modules/pam_motd/README: New, generated from xml file.
3379 2006-06-02 Thorsten Kukuk <kukuk@thkukuk.de>
3381 * modules/pam_mail/Makefile.am: Include Make.xml.rules.
3382 * modules/pam_mail/pam_mail.8.xml: New.
3383 * modules/pam_mail/pam_mail.8: New, generated from xml file.
3384 * modules/pam_mail/README.xml: New.
3385 * modules/pam_mail/README: Regenerated from xml file.
3387 * modules/pam_localuser/Makefile.am: Include Make.xml.rules.
3388 * modules/pam_localuser/pam_localuser.8.xml: New.
3389 * modules/pam_localuser/pam_localuser.8: New, generated from xml file.
3390 * modules/pam_localuser/README.xml: New.
3391 * modules/pam_localuser/README: Regenerated from xml file.
3393 * doc/man/PAM.8: Regenerate with DocBook XSL Stylesheets v1.70.1.
3394 * doc/man/pam.3: Likewise.
3395 * doc/man/pam.conf.5: Likewise.
3396 * doc/man/pam_acct_mgmt.3: Likewise.
3397 * doc/man/pam_authenticate.3: Likewise.
3398 * doc/man/pam_chauthtok.3: Likewise.
3399 * doc/man/pam_close_session.3: Likewise.
3400 * doc/man/pam_conv.3: Likewise.
3401 * doc/man/pam_end.3: Likewise.
3402 * doc/man/pam_error.3: Likewise.
3403 * doc/man/pam_fail_delay.3: Likewise.
3404 * doc/man/pam_get_data.3: Likewise.
3405 * doc/man/pam_get_item.3: Likewise.
3406 * doc/man/pam_get_user.3: Likewise.
3407 * doc/man/pam_getenv.3: Likewise.
3408 * doc/man/pam_getenvlist.3: Likewise.
3409 * doc/man/pam_info.3: Likewise.
3410 * doc/man/pam_open_session.3: Likewise.
3411 * doc/man/pam_prompt.3: Likewise.
3412 * doc/man/pam_putenv.3: Likewise.
3413 * doc/man/pam_set_data.3: Likewise.
3414 * doc/man/pam_set_item.3: Likewise.
3415 * doc/man/pam_setcred.3: Likewise.
3416 * doc/man/pam_sm_acct_mgmt.3: Likewise.
3417 * doc/man/pam_start.3: Likewise.
3418 * doc/man/pam_strerror.3: Likewise.
3419 * doc/man/pam_syslog.3: Likewise.
3420 * modules/pam_access/access.conf.5: Likewise.
3421 * modules/pam_access/pam_access.8: Likewise.
3422 * modules/pam_cracklib/pam_cracklib.8: Likewise.
3423 * modules/pam_deny/pam_deny.8: Likewise.
3424 * modules/pam_echo/pam_echo.8: Likewise.
3425 * modules/pam_env/pam_env.8: Likewise.
3426 * modules/pam_env/pam_env.conf.5: Likewise.
3427 * modules/pam_exec/pam_exec.8: Likewise.
3428 * modules/pam_filter/pam_filter.8: Likewise.
3429 * modules/pam_ftp/pam_ftp.8: Likewise.
3430 * modules/pam_group/group.conf.5: Likewise.
3431 * modules/pam_group/pam_group.8: Likewise.
3432 * modules/pam_issue/pam_issue.8: Likewise.
3433 * modules/pam_lastlog/pam_lastlog.8: Likewise.
3434 * modules/pam_mkhomedir/pam_mkhomedir.8: Likewise.
3435 * modules/pam_succeed_if/pam_succeed_if.8: Likewise.
3436 * modules/pam_umask/pam_umask.8: Likewise.
3438 * modules/pam_unix/pam_unix_acct.c (pam_sm_acct_mgmt): Use
3439 dngettext if available [#1427738].
3440 * configure.in: Check for dngettext [#1427738].
3441 * po/*.po: Update to dngettext usage.
3443 * modules/pam_listfile/Makefile.am: Include Make.xml.rules.
3444 * modules/pam_listfile/pam_listfile.8.xml: New.
3445 * modules/pam_listfile/pam_listfile.8: New, generated from xml file.
3446 * modules/pam_listfile/README.xml: New.
3447 * modules/pam_listfile/README: Regenerated from xml file.
3449 2006-06-01 Thorsten Kukuk <kukuk@thkukuk.de>
3451 * modules/pam_lastlog/Makefile.am: Include Make.xml.rules.
3452 * modules/pam_lastlog/pam_lastlog.8.xml: New.
3453 * modules/pam_lastlog/pam_lastlog.8: New, generated from xml file.
3454 * modules/pam_lastlog/README.xml: New.
3455 * modules/pam_lastlog/README: Regenerated from xml file.
3457 * modules/pam_group/Makefile.am: Include Make.xml.rules.
3458 * modules/pam_group/group.conf.5.xml: New.
3459 * modules/pam_group/group.conf.5: New, generated from xml file.
3460 * modules/pam_group/pam_group.8.xml: New.
3461 * modules/pam_group/pam_group.8: New, generated from xml file.
3462 * modules/pam_group/README.xml: New.
3463 * modules/pam_group/README: Regenerated from xml file.
3465 * modules/pam_ftp/Makefile.am: Include Make.xml.rules.
3466 * modules/pam_ftp/pam_ftp.8.xml: New.
3467 * modules/pam_ftp/pam_ftp.8: New, generated from xml file.
3468 * modules/pam_ftp/README.xml: New.
3469 * modules/pam_ftp/README: Regenerated from xml file.
3471 * modules/pam_issue/Makefile.am: Include Make.xml.rules.
3472 * modules/pam_issue/pam_issue.8.xml: New.
3473 * modules/pam_issue/pam_issue.8: New, generated from xml file.
3474 * modules/pam_issue/README.xml: New.
3475 * modules/pam_issue/README: Regenerated from xml file.
3477 * modules/pam_filter/Makefile.am: Include Make.xml.rules.
3478 * modules/pam_filter/pam_filter.8.xml: New.
3479 * modules/pam_filter/pam_filter.8: New, generated from xml file.
3480 * modules/pam_filter/README.xml: New.
3481 * modules/pam_filter/README: Regenerated from xml file.
3483 2006-05-30 Thorsten Kukuk <kukuk@thkukuk.de>
3485 * modules/pam_mkhomedir/pam_mkhomedir.8.xml: Fix umask and skel
3486 directory documentation.
3488 * modules/pam_umask/Makefile.am: Include Make.xml.rules.
3489 * modules/pam_umask/pam_umask.8.xml: New.
3490 * modules/pam_umask/pam_umask.8: New, generated from xml file.
3491 * modules/pam_umask/README.xml: New.
3492 * modules/pam_umask/README: Regenerated from xml file.
3494 2006-05-29 Thorsten Kukuk <kukuk@thkukuk.de>
3496 * modules/pam_mkhomedir/Makefile.am: Include Make.xml.rules.
3497 * modules/pam_mkhomedir/pam_mkhomedir.8.xml: New.
3498 * modules/pam_mkhomedir/pam_mkhomedir.8: New, generated from xml file.
3499 * modules/pam_mkhomedir/README.xml: New.
3500 * modules/pam_mkhomedir/README: Regenerated from xml file.
3502 2006-05-23 Thorsten Kukuk <kukuk@thkukuk.de>
3504 * modules/pam_echo/pam_echo.c (pam_echo): Use pam_modutil_read()
3507 2006-05-22 Thorsten Kukuk <kukuk@thkukuk.de>
3509 * modules/pam_listfile/pam_listfile.c (pam_sm_authenticate):
3510 Fix memory leaks, [#1490956] found by Coverity.
3512 * modules/pam_tally/pam_tally.c (pam_get_uid): Check return
3513 value of pam_get_user().
3514 (tally_get_data): Check if oldtime is not NULL.
3515 [#1489818] found by Coverity.
3517 * modules/pam_mkhomedir/pam_mkhomedir.c (create_homedir): Don't
3518 ignore return value of stat(). [#1489808] found by Coverity.
3520 * modules/pam_mail/pam_mail.c (get_folder): Fix a potential
3521 NULL pointer dereference. [#1489792] found by Coverity.
3523 * libpam/Makefile.am: bump release number of libpam.so.
3524 * libpam/pam_misc.c (_pam_mkargv): Fix memory leak,
3525 [#1489804] found by Coverity.
3527 * modules/pam_echo/pam_echo.c (replace_and_print): Initialize
3528 str, [#1489658] found by Coverity.
3530 * modules/pam_cracklib/pam_cracklib.c (_pam_unix_approve_pass): Fix
3531 a potential NULL pointer dereference.
3532 (pam_sm_chauthtok): Remove dead code.
3533 [#1489634] found by Coverity.
3535 2006-05-04 Thorsten Kukuk <kukuk@thkukuk.de>
3537 * configure.in: Check for fseeko.
3538 * modules/pam_tally/pam_tally.c: Use fseeko if available
3539 (Based on patch by IBM).
3541 2006-05-04 Thorsten Kukuk <kukuk@thkukuk.de>
3543 * release version 0.99.4.0
3545 * libpam/pam_strerror.c: Unify error messages.
3547 * po/zh_TW.po: Adjust for last pam_strerror changes.
3548 * po/zh_CN.po: Likewise.
3549 * po/uk.po: Likewise.
3550 * po/tr.po: Likewise.
3551 * po/pt.po: Likewise.
3552 * po/pt_BR.po: Likewise.
3553 * po/pl.po: Likewise.
3554 * po/ja.po: Likewise.
3555 * po/nl.po: Likewise.
3556 * po/nb.po: Likewise.
3557 * po/it.po: Likewise.
3558 * po/hu.po: Likewise.
3559 * po/fr.po: Likewise.
3560 * po/fi.po: Likewise.
3561 * po/es.po: Likewise.
3562 * po/de.po: Likewise.
3563 * po/cs.po: Likewise.
3565 * doc/man/pam.3.xml: New.
3566 * doc/man/pam.3. New, generated from XML file.
3568 * doc/man/pam_sm_acct_mgmt.3.xml: New.
3569 * doc/man/pam_sm_acct_mgmt.3: New, generated from XML file.
3571 * doc/man/*.xml: Fix encoding and use always UTF-8, regenerate
3574 * doc/pam_modules.sgml (PAM_NEW_AUTHTOKEN_REQD): Fix typo.
3576 2006-05-02 Thorsten Kukuk <kukuk@thkukuk.de>
3578 * modules/pam_unix/pam_unix_acct.c (pam_sm_acct_mgmt): Use
3579 different strings for plural or not [#1427738]
3581 * po/*.po: Adjust for pam_unix.so translation fix.
3583 * modules/pam_tally/pam_tally.c: Always close file handle
3584 in error case, don't close it depending on *TALLY value [#1478180]
3586 2006-04-21 Thorsten Kukuk <kukuk@thkukuk.de>
3588 * po/fr.po: Updated.
3590 2006-04-11 Thorsten Kukuk <kukuk@thkukuk.de>
3592 * po/km.po: Updated.
3594 2006-03-27 Thorsten Kukuk <kukuk@thkukuk.de>
3596 * po/LINGUAS: Add uk.
3599 * po/cs.po: Updated.
3600 * po/po/es.po: Updated.
3601 * po/fi.po: Updated.
3602 * po/fr.po: Updated.
3603 * po/hu.po: Updated.
3604 * po/it.po: Updated.
3605 * po/ja.po: Updated.
3606 * po/nb.po: Updated.
3607 * po/pl.po: Updated.
3608 * po/pt.po: Updated.
3609 * po/pt_BR.po: Updated.
3610 * po/zh_CN.po: Updated.
3611 * po/zh_TW.po: Updated.
3613 2006-03-21 Thorsten Kukuk <kukuk@thkukuk.de>
3615 * configure.in: Remove ALL_LINGUAS.
3617 * po/tr.po: New (from Ismail Donmez <ismail@pardus.org.tr>).
3619 2006-03-13 Thorsten Kukuk <kukuk@thkukuk.de>
3621 * doc/man/pam_error.3.xml: New.
3622 * doc/man/pam_error.3: New, generated from XML file.
3623 * doc/man/pam_verror.3: New, generated from XML file.
3624 * doc/man/Makefile.am: Add pam_error.3 and pam_verror.3.
3626 * modules/pam_lastlog/Makefile.am: Fix typo.
3628 * modules/pam_lastlog/pam_lastlog.c: Move comment for
3629 translators in right line.
3630 * po/*.po: Update po files with comment for translator.
3632 2006-03-12 Thorsten Kukuk <kukuk@thkukuk.de>
3634 * doc/man/Makefile.am: Add new manual pages.
3636 * doc/man/pam.conf.5.xml: Replace link with content
3638 * doc/man/pam.conf.5: Regenerated from XML file.
3640 * doc/man/pam_info.3.xml: New.
3641 * doc/man/pam_info.3: New, generated from XML file.
3642 * doc/man/pam_vinfo.3: New, generated from XML file.
3644 * doc/man/pam_conv.3.xml: New.
3645 * doc/man/pam_conv.3: New, generated from XML file.
3647 * doc/man/pam_putenv.3.xml: New.
3648 * doc/man/pam_putenv.3: New, generated from XML file.
3650 * doc/man/pam_getenv.3.xml: New.
3651 * doc/man/pam_getenv.3: New, generated from XML file.
3653 * doc/man/pam_getenvlist.3.xml: New.
3654 * doc/man/pam_getenvlist.3: New, generated from XML file.
3656 * libpam/pam_item.c (pam_get_user): Check for valid pamh before
3659 * configure.in: create tests/Makefile
3660 * Makefile.am (SUBDIRS): Add tests
3661 * tests/Makefile.am: New.
3662 * tests/tst-dlopen.c: New.
3663 * tests/tst-pam_acct_mgmt.c: New.
3664 * tests/tst-pam_authenticate.c: New.
3665 * tests/tst-pam_chauthtok.c: New.
3666 * tests/tst-pam_close_session.c: New.
3667 * tests/tst-pam_end.c: New.
3668 * tests/tst-pam_fail_delay.c: New.
3669 * tests/tst-pam_getenvlist.c: New.
3670 * tests/tst-pam_get_item.c: New.
3671 * tests/tst-pam_open_session.c: New.
3672 * tests/tst-pam_setcred.c: New.
3673 * tests/tst-pam_set_item.c: New.
3674 * tests/tst-pam_start.c: New.
3675 * tests/tst-pam_get_user.c: New.
3677 * modules/pam_access/Makefile.am: Add rules for make check
3678 * modules/pam_access/tst-pam_access: New
3679 * modules/pam_cracklib/Makefile.am: Add rules for make check
3680 * modules/pam_cracklib/tst-pam_cracklib: New
3681 * modules/pam_debug/Makefile.am: Add rules for make check
3682 * modules/pam_debug/tst-pam_debug: New
3683 * modules/pam_deny/Makefile.am: Add rules for make check
3684 * modules/pam_deny/tst-pam_deny: New
3685 * modules/pam_echo/Makefile.am: Add rules for make check
3686 * modules/pam_echo/tst-pam_echo: New
3687 * modules/pam_env/Makefile.am: Add rules for make check
3688 * modules/pam_env/tst-pam_env: New
3689 * modules/pam_exec/Makefile.am: Add rules for make check
3690 * modules/pam_exec/tst-pam_exec: New
3691 * modules/pam_filter/Makefile.am: Add rules for make check
3692 * modules/pam_filter/tst-pam_filter: New
3693 * modules/pam_ftp/Makefile.am: Add rules for make check
3694 * modules/pam_ftp/tst-pam_ftp: New
3695 * modules/pam_group/Makefile.am: Add rules for make check
3696 * modules/pam_group/tst-pam_group: New
3697 * modules/pam_issue/Makefile.am: Add rules for make check
3698 * modules/pam_issue/tst-pam_issue: New
3699 * modules/pam_lastlog/Makefile.am: Add rules for make check
3700 * modules/pam_lastlog/tst-pam_lastlog: New
3701 * modules/pam_limits/Makefile.am: Add rules for make check
3702 * modules/pam_limits/tst-pam_limits: New
3703 * modules/pam_listfile/Makefile.am: Add rules for make check
3704 * modules/pam_listfile/tst-pam_listfile: New
3705 * modules/pam_localuser/Makefile.am: Add rules for make check
3706 * modules/pam_localuser/tst-pam_localuser: New
3707 * modules/pam_mail/Makefile.am: Add rules for make check
3708 * modules/pam_mail/tst-pam_mail: New
3709 * modules/pam_mkhomedir/Makefile.am: Add rules for make check
3710 * modules/pam_mkhomedir/tst-pam_mkhomedir: New
3711 * modules/pam_motd/Makefile.am: Add rules for make check
3712 * modules/pam_motd/tst-pam_motd: New
3713 * modules/pam_nologin/Makefile.am: Add rules for make check
3714 * modules/pam_nologin/tst-pam_nologin: New
3715 * modules/pam_permit/Makefile.am: Add rules for make check
3716 * modules/pam_permit/tst-pam_permit: New
3717 * modules/pam_rhosts/Makefile.am: Add rules for make check
3718 * modules/pam_rhosts/tst-pam_rhosts: New
3719 * modules/pam_rootok/Makefile.am: Add rules for make check
3720 * modules/pam_rootok/tst-pam_rootok: New
3721 * modules/pam_securetty/Makefile.am: Add rules for make check
3722 * modules/pam_securetty/tst-pam_securetty: New
3723 * modules/pam_selinux/Makefile.am: Add rules for make check
3724 * modules/pam_selinux/tst-pam_selinux: New
3725 * modules/pam_shells/Makefile.am: Add rules for make check
3726 * modules/pam_shells/tst-pam_shells: New
3727 * modules/pam_stress/Makefile.am: Add rules for make check
3728 * modules/pam_stress/tst-pam_stress: New
3729 * modules/pam_succeed_if/Makefile.am: Add rules for make check
3730 * modules/pam_succeed_if/tst-pam_succeed_if: New
3731 * modules/pam_tally/Makefile.am: Add rules for make check
3732 * modules/pam_tally/tst-pam_tally: New
3733 * modules/pam_time/Makefile.am: Add rules for make check
3734 * modules/pam_time/tst-pam_time: New
3735 * modules/pam_umask/Makefile.am: Add rules for make check
3736 * modules/pam_umask/tst-pam_umask: New
3737 * modules/pam_unix/Makefile.am: Add rules for make check
3738 * modules/pam_unix/tst-pam_unix: New
3739 * modules/pam_userdb/Makefile.am: Add rules for make check
3740 * modules/pam_userdb/tst-pam_userdb: New
3741 * modules/pam_warn/Makefile.am: Add rules for make check
3742 * modules/pam_warn/tst-pam_warn: New
3743 * modules/pam_wheel/Makefile.am: Add rules for make check
3744 * modules/pam_wheel/tst-pam_wheel: New
3745 * modules/pam_xauth/Makefile.am: Add rules for make check
3746 * modules/pam_xauth/tst-pam_xauth: New
3748 2006-03-11 Thorsten Kukuk <kukuk@thkukuk.de>
3750 * doc/man/pam_fail_delay.3.xml: New.
3751 * doc/man/pam_fail_delay.3: New, generated from xml.
3752 * doc/man/pam_prompt.3.xml: New.
3753 * doc/man/pam_prompt.3: New, generated from xml.
3754 * doc/man/pam_syslog.3.xml: New.
3755 * doc/man/pam_syslog.3: New, generated from xml.
3756 * doc/man/pam_vprompt.3: New, generated from xml.
3757 * doc/man/pam_vsyslog.3: New, generated from xml.
3759 2006-02-24 Thorsten Kukuk <kukuk@thkukuk.de>
3761 * po/km.po: Update Khmer translation.
3763 2006-02-24 Thorsten Kukuk <kukuk@thkukuk.de>
3765 * modules/pam_succeed_if/pam_succeed_if.8.xml: New, based on
3766 version from #1425487.
3767 * modules/pam_succeed_if/pam_succeed_if.8: Regenerated from xml.
3768 * modules/pam_succeed_if/Makefile.am: Include XML rules.
3769 * modules/pam_succeed_if/README.xml: New.
3770 * modules/pam_succeed_if/README: Regenerated from xml.
3771 * modules/pam_succeed_if/pam_succeed_if.c: Fix comment about
3774 2006-02-22 Thorsten Kukuk <kukuk@thkukuk.de>
3776 * configure.in: Fix check for incomplete libaudit installations
3777 (Patch from Ruediger Oertel <ro@suse.de>).
3779 * modules/pam_lastlog/pam_lastlog.c (last_login_write): Initialize
3780 correct last_login field [#1427401].
3782 * modules/pam_lastlog/pam_lastlog.c (last_login_read): Mark strftime
3783 format string for translation to allow reorder [#1428269].
3784 * po/*.po: Update with last pam_lastlog change.
3787 2006-02-17 Thorsten Kukuk <kukuk@thkukuk.de>
3789 * doc/man/Makefile.am: Add new manual pages.
3790 * doc/man/pam_end.3: Regenerated from xml file.
3791 * doc/man/pam_end.3.xml: Document freeing of item data.
3792 * doc/man/pam_get_user.3: New.
3793 * doc/man/pam_get_user.3.xml: New.
3794 * modules/pam_access/access.conf.5.xml: Fix typos.
3795 * modules/pam_env/Makefile.am: Add new manual pages.
3796 * modules/pam_env/README: Regenerate from xml file.
3797 * modules/pam_env/README.xml: New.
3798 * modules/pam_env/pam_env.8: New.
3799 * modules/pam_env/pam_env.8.xml: New.
3800 * modules/pam_env/pam_env.conf.5: New.
3801 * modules/pam_env/pam_env.conf.5.xml New.
3803 2006-02-14 Thorsten Kukuk <kukuk@thkukuk.de>
3805 * po/fi.po: Updated translations.
3806 * po/pl.po: Likewise.
3807 * po/km.po: New translation.
3808 * configure.in: Add km as new language.
3810 2006-02-13 Thorsten Kukuk <kukuk@thkukuk.de>
3812 * modules/pam_echo/pam_echo.8.xml: New.
3813 * modules/pam_echo/pam_echo.8: Regenerated from xml file.
3814 * modules/pam_echo/Makefile.am: Include Make.xml.rules.
3815 * modules/pam_echo/pam_echo.c: Fix return value.
3817 * doc/modules/pam_chroot.sgml: Remove obsolete sgml file.
3819 2006-02-12 Thorsten Kukuk <kukuk@thkukuk.de>
3821 * configure.in: Add doc/man/Makefile.
3822 * Make.xml.rules: Enable xincludes for manual pages.
3823 * doc/Makefile.am (EXRA_DIST): Remove manual pages.
3824 (SUBDIR): Add man subdirectory.
3825 * doc/man/Makefile.am: New.
3826 * doc/man/pam_acct_mgmt.3: New.
3827 * doc/man/pam_acct_mgmt.3.xml: New.
3828 * doc/man/pam_get_data.3: New.
3829 * doc/man/pam_get_data.3.xml: New.
3830 * doc/man/pam_set_data.3: New.
3831 * doc/man/pam_set_data.3.xml: New.
3832 * doc/man/pam.8.xml: New.
3833 * doc/man/pam.8: Regenerated from xml file.
3834 * doc/man/pam_authenticate.3.xml: New.
3835 * doc/man/pam_authenticate.3: Regenerated from xml file.
3836 * doc/man/pam_chauthtok.3.xml: New.
3837 * doc/man/pam_chauthtok.3: Regenerated from xml file.
3838 * doc/man/pam_close_session.3.xml: New.
3839 * doc/man/pam_close_session.3: Regenerated from xml file.
3840 * doc/man/pam_end.3.xml: New.
3841 * doc/man/pam_end.3: Regenerated from xml file.
3842 * doc/man/pam_fail_delay.3.xml: New.
3843 * doc/man/pam_fail_delay.3: Regenerated from xml file.
3844 * doc/man/pam_get_item.3.xml: New.
3845 * doc/man/pam_get_item.3: Regenerated from xml file.
3846 * doc/man/pam_item_types.inc.xml: New.
3847 * doc/man/pam_open_session.3.xml: New.
3848 * doc/man/pam_open_session.3: Regenerated from xml file.
3849 * doc/man/pam_set_item.3.xml: New.
3850 * doc/man/pam_set_item.3: Regenerated from xml file.
3851 * doc/man/pam_setcred.3.xml: New.
3852 * doc/man/pam_setcred.3: Regenerated from xml file.
3853 * doc/man/pam_start.3.xml: New.
3854 * doc/man/pam_start.3: Regenerated from xml file.
3855 * doc/man/pam_strerror.3.xml: New.
3856 * doc/man/pam_strerror.3: Regenerated from xml file.
3857 * doc/man/template-man: Removed.
3859 2006-02-10 Thorsten Kukuk <kukuk@thkukuk.de>
3861 * configure.in: Remove pam_pwdb support.
3862 * modules/Makefile.am: remove pam_pwdb.
3863 * modules/pam_pwdb: Remove complete directory.
3864 * libpam/Makefile.am: Remove LIBPWDB references.
3865 * libpam/pam_static_modules.h: Remove pam_pwdb references.
3866 * doc/modules/pam_pwdb.sgml: Removed.
3867 * po/POTFILES.in: Remove modules/pam_pwdb/*.c entries.
3868 * doc/pam_source.sgml: Remove references to libpwdb.
3869 * doc/modules/pam_limits.sgml: Remove wrong reference to libpwdb.
3870 * doc/modules/pam_group.sgml: Likewise.
3871 * doc/modules/pam_cracklib.sgml: Replace pam_pwdb with pam_unix.
3872 * doc/modules/pam_userdb.sgml: Likewise.
3873 * modules/pam_cracklib/pam_cracklib.8.xml: Replace pam_pwdb
3875 * modules/pam_mkhomedir/pam_mkhomedir.c: Likewise.
3876 * modules/pam_group/pam_group.c: Remove dead code for libpwdb.
3878 * modules/pam_access/Makefile.am: Fix EXTRA_DIST.
3879 * modules/pam_cracklib/Makefile.am: Likewise.
3880 * modules/pam_deny/Makefile.am: Likewise.
3881 * modules/pam_exec/Makefile.am: Likewise.
3883 2006-02-07 Thorsten Kukuk <kukuk@thkukuk.de>
3885 * configure.in: Check for text browser.
3886 * Make.xml.rules: Add rule to generate README from README.xml.
3888 * modules/pam_access/Makefile.am: Include Make.xml.rules.
3889 * modules/pam_access/README: Regenerated from README.xml.
3890 * modules/pam_access/README.xml: New.
3891 * modules/pam_access/access.conf: Extended by new examples.
3892 * modules/pam_access/access.conf.5: New, generated from xml file.
3893 * modules/pam_access/access.conf.5.xml: New.
3894 * modules/pam_access/pam_access.8: New, generated from xml file.
3895 * modules/pam_access/pam_access.8.xml: New.
3896 * modules/pam_access/pam_access.c: Add rules for IPv6 and
3898 Based on patch from Mike Becher <Mike.Becher@lrz-muenchen.de>.
3900 * modules/pam_deny/Makefile.am: Include Make.xml.rules.
3901 * modules/pam_deny/pam_deny.8.xml: New.
3902 * modules/pam_deny/pam_deny.8: New, generated from xml file.
3903 * modules/pam_deny/README.xml: New.
3904 * modules/pam_deny/README: Regenerated from xml file.
3906 * modules/pam_cracklib/Makefile.am: Include Make.xml.rules.
3907 * modules/pam_cracklib/pam_cracklib.8.xml: New.
3908 * modules/pam_cracklib/pam_cracklib.8: New, generated from xml file.
3909 * modules/pam_cracklib/README.xml: New.
3910 * modules/pam_cracklib/README: Regenerated from xml file.
3912 * modules/pam_exec/Makefile.am: Add rule to generate README.
3913 * modules/pam_exec/README: Regenerated from xml file.
3914 * modules/pam_exec/pam_exec.8: Regenerated from xml file.
3915 * modules/pam_exec/pam_exec.8.xml: Syntax files.
3917 2006-02-06 Thorsten Kukuk <kukuk@thkukuk.de>
3920 * po/pt.po: Update translations.
3921 * configure.in: Add nl as new language.
3923 2006-01-30 Thorsten Kukuk <kukuk@thkukuk.de>
3925 * modules/pam_exec/pam_exec.8.xml: Fix syntax of Return Value section.
3926 * modules/pam_exec/Makefile.am: Include Make.xml.rules.
3928 * Make.xml.rules: New.
3930 * Makefile.am (EXTRA_DIST): Add Make.xml.rules.
3932 2006-01-27 Thorsten Kukuk <kukuk@thkukuk.de>
3934 * configure.in: Prefer libdb over libndbm, fix check for
3935 libcrack and remove not needed BACKUP_LIBS.
3937 2006-01-24 Thorsten Kukuk <kukuk@thkukuk.de>
3939 * modules/pam_debug/pam_debug.c: Fix name of pam_module struct.
3941 * po/de.po: Fix one translation.
3943 * configure.in: Add modules/pam_exec.
3944 * modules/Makefile.am: Add pam_exec subdirectory.
3945 * modules/pam_exec/README: New.
3946 * modules/pam_exec/Makefile.am: New.
3947 * modules/pam_exec/pam_exec.8: New.
3948 * modules/pam_exec/pam_exec.c: New.
3949 * modules/pam_exec/pam_exec.8.xml: New.
3950 * po/POTFILES.in: Add modules/pam_exec/pam_exec.c.
3951 * po/*.po: Merge new pam_exec strings.
3953 * libpam/pam_static_modules.h: New.
3954 * Makefile.am: Reorder subdirectories for static modules.
3955 * configure.in: Add --enable-static-modules option.
3956 * libpam/Makefile.am: Define WITH_SELINUX and WITH_PWDB if
3957 necessary, add pam_static_modules.h, link against all PAM
3958 module object files if STATIC_MODULES is defined.
3959 * libpam/pam_static.c: Remove old _static_module* includes,
3960 include pam_static_modules.h.
3962 * configure.in: Add checks for xsltproc, xmllint and docbook
3964 * m4/jh_path_xml_catalog.m4: New.
3966 2006-01-22 Thorsten Kukuk <kukuk@thkukuk.de>
3968 * modules/pam_succeed_if/pam_succeed_if.c: Add support for
3970 * modules/pam_xauth/pam_xauth.c: Likewise.
3972 * libpam/pam_static.c (_pam_open_static_handler): Add pamh
3974 * libpam/pam_private.h: Adjust prototype.
3975 * libpam/pam_handlers.c (_pam_add_handler): Add pamh to
3976 _pam_open_static_handler call.
3978 * configure.in: Don't define PAM_DYNAMIC.
3979 * libpam/pam_handlers.c: Get ride of PAM_DYNAMIC, don't
3980 include pam_dynamic.h
3981 * libpam/pam_dynamic.c: Don't include pam_dynamic.h,
3982 exclude functions if we compile with PAM_STATIC.
3983 * libpam/pam_dynamic.h: Remove.
3984 * libpam/pam_private.h: Add function prototypes from pam_dynamic.h.
3985 * libpam/Makefile.am: Bump version number of libpam, remove
3988 2006-01-21 Thorsten Kukuk <kukuk@thkukuk.de>
3990 * modules/pam_listfile/pam_listfile.c: Add support for session
3991 and password management.
3993 2006-01-19 Thorsten Kukuk <kukuk@thkukuk.de>
3995 * doc/specs/Makefile.am (spec): Add padout to fix parallel
3996 build (Reported by Andreas Haumer <andreas@xss.co.at>).
3998 2006-01-15 Thorsten Kukuk <kukuk@thkukuk.de>
4000 * modules/pam_echo/pam_echo.c: Define HOST_NAME_MAX if not
4003 2006-01-13 Thorsten Kukuk <kukuk@thkukuk.de>
4005 * release version 0.99.3.0
4007 * libpam_misc/misc_conv.c (misc_conv): Fix strict aliasing
4010 * modules/pam_umask/pam_umask.c (search_key): Don't ignore
4011 EOF/error return value from fgets().
4013 * configure.in: Check for getline and getdelim
4015 * po/fi.po: Add new translations.
4016 * po/de.po: Likewise.
4017 * po/es.po: Likewise.
4018 * po/fr.po: Likewise.
4019 * po/it.po: Likewise.
4020 * po/ja.po: Likewise.
4021 * po/pt_BR.po: Likewise.
4022 * po/zh_CH.po: Likewise.
4023 * po/zh_TW.po: Likewise.
4025 2006-01-13 Dmitry V. Levin <ldv@altlinux.org>
4027 * libpam/pam_audit.c (_pam_auditlog): Replace strerror(errno)
4028 call with %m specifier.
4030 2006-01-12 Thorsten Kukuk <kukuk@thkukuk.de>
4032 * configure.in: Add check for -fpie/-pie
4033 * modules/pam_filter/upperLOWER/Makefile.am: Compile/link
4034 upperLOWER with -fpie/-pie if supported.
4035 * modules/pam_unix/Makefile.am: Compile/link unix_chkpwd
4036 with -fpie/-pie if supported.
4038 2006-01-12 Steve Grubb <sgrubb@redhat.com>
4040 * configure.in: Add check for audit library.
4041 * libpam/Makefile.am (libpam_la_LDFLAGS): Add LIBAUDIT.
4042 (libpam_la_SOURCES): Add pam_audit.c.
4043 * libpam/pam_account.c (pam_acct_mgmt): Add _pam_auditlog() call.
4044 * libpam/pam_auth.c (pam_authenticate), (pam_setcred): Likewise.
4045 * libpam/pam_password.c (pam_chauthtok): Likewise.
4046 * libpam/pam_session.c (pam_open_session),
4047 (pam_close_session): Likewise.
4048 * libpam/pam_private.h: Add audit_state member to pam_handle,
4049 declare _pam_auditlog and _pam_audit_end.
4050 * libpam/pam_start.c (pam_start): Initialize audit_state.
4051 * libpam/pam_audit.c: New file with _pam_auditlog and _pam_audit_end
4053 * libpam/pam_end.c (pam_end): Add _pam_audit_end() call.
4054 * NEWS: Note about added auditing.
4056 2006-01-11 Thorsten Kukuk <kukuk@thkukuk.de>
4058 * libpam/Makefile.am (AM_CFLAGS): Define LIBPAM_COMPILE.
4060 * libpam/include/security/_pam_types.h: Don't define PAM_NONNULL
4061 if we compile libpam itself.
4063 * po/hu.po: Update with new translations.
4065 2006-01-08 Thorsten Kukuk <kukuk@thkukuk.de>
4067 * modules/pam_cracklib/pam_cracklib.c: Use PAM_AUTHTOK_RECOVERY_ERR
4068 instead of PAM_AUTHTOK_RECOVER_ERR.
4069 * modules/pam_pwdb/support.-c: Likewise.
4070 * modules/pam_unix/support.c: Likewise.
4071 * modules/pam_userdb/pam_userdb.c (pam_sm_authenticate): Likewise.
4072 * libpam/pam_strerror.c (pam_strerror): Likewise.
4074 * libpam/include/security/_pam_compat.h: Define
4075 PAM_AUTHTOK_RECOVER_ERR for backward compatibility.
4077 * libpam/include/security/_pam_types.h: Rename
4078 PAM_AUTHTOK_RECOVER_ERR to PAM_AUTHTOK_RECOVERY_ERR.
4080 2006-01-05 Thorsten Kukuk <kukuk@thkukuk.de>
4082 * libpam/include/security/_pam_types.h: Remove nonnull attribute
4083 from third paramter (item) of pam_get_item.
4084 * libpam/Makefile.am: Bump version number of shared library.
4086 2005-12-21 Tomas Mraz <t8m@centrum.cz>
4088 * modules/pam_succeed_if/pam_succeed_if.c (evaluate_ingroup),
4089 (evaluate_notingroup): Simplified.
4090 (evaluate_innetgr), (evaluate_notinnetgr): New functions.
4091 (evaluate): Added calls to evaluate_(not)innetgr().
4092 * modules/pam_succeed_if/README: Documented netgroup matching.
4093 * NEWS: Mentioned the added netgroup matching support.
4095 2005-12-20 Thorsten Kukuk <kukuk@thkukuk.de>
4097 * modules/pam_lastlog/pam_lastlog.c (last_login_read): Use
4098 strftime instead of ctime.
4100 * po/de.po: Fix typo.
4102 2005-12-19 Thorsten Kukuk <kukuk@thkukuk.de>
4104 * libpam/pam_syslog.c: Define LOG_AUTHPRIV as LOG_AUTH on Solaris.
4105 Reported by Charles_H_Bedford@nbc.gov.
4107 * modules/pam_time/pam_time.c (check_account): Implement
4108 support for netgroups.
4110 * modules/pam_time/time.conf: Document usage of netgroups.
4112 2005-12-16 Thorsten Kukuk <kukuk@thkukuk.de>
4114 * modules/pam_group/pam_group.c (check_account): Implement
4115 support for netgroups.
4117 * modules/pam_group/group.conf: Add all documentation to this
4118 example config file and don't reference to outdated configs.
4120 * modules/pam_group/README: New.
4122 * modules/pam_group/Makefile.am: Add README to EXTRADIST.
4124 2005-12-15 Thorsten Kukuk <kukuk@suse.de>
4126 * modules/pam_lastlog/pam_lastlog.c (last_login_read): Don't report an
4127 error if user logins the first time.
4129 * modules/pam_lastlog/README: New.
4131 * modules/pam_lastlog/Makefile.am: Add README to EXTRADIST.
4133 2005-12-14 Thorsten Kukuk <kukuk@suse.de>
4135 * modules/pam_deny/pam_deny.c: Fix comment.
4137 * doc/pam_appl.sgml: Fix typo.
4139 Reported by Russell Bateman <russ@windofkeltia.com>
4141 2005-12-12 Thorsten Kukuk <kukuk@thkukuk.de>
4143 * release version 0.99.2.1
4145 * po/de.po: Remove new fuzzy entry
4147 * NEWS: Add 0.99.2.1 changes
4149 * configure.in: bump version number to 0.99.2.1
4151 2005-12-12 Dmitry V. Levin <ldv@altlinux.org>
4153 Cleanup pam_syslog messages.
4155 * modules/pam_env/pam_env.c (_expand_arg): Fix compiler warning.
4156 * modules/pam_filter/pam_filter.c (set_filter): Append %m
4157 specifier to pam_syslog messages where appropriate.
4158 * modules/pam_group/pam_group.c (read_field): Likewise.
4159 * modules/pam_mkhomedir/pam_mkhomedir.c (make_remark): Remove.
4160 (create_homedir): Do not use make_remark() wrapper, call
4161 pam_info() directly. Call pam_syslog() right after failed
4162 operation and append %m specifier to pam_syslog messages where
4164 * modules/pam_rhosts/pam_rhosts_auth.c (pam_iruserok): Replace
4165 sequence of malloc(), strcpy() and strcat() calls with asprintf().
4166 Append %m specifier to pam_syslog messages where appropriate.
4167 * modules/pam_securetty/pam_securetty.c (securetty_perform_check):
4168 Append %m specifier to pam_syslog messages where appropriate.
4169 * modules/pam_shells/pam_shells.c (perform_check): Likewise.
4171 2005-12-12 Tomas Mraz <t8m@centrum.cz>
4173 * modules/pam_mail/pam_mail.c (report_mail): Fixed typo in string.
4174 * po/Linux-PAM.pot: Likewise.
4175 * po/de.po: Likewise.
4176 * po/es.po: Likewise.
4177 * po/fi.po: Likewise.
4178 * po/fr.po: Likewise.
4179 * po/hu.po: Likewise.
4180 * po/it.po: Likewise.
4181 * po/ja.po: Likewise.
4182 * po/nb.po: Likewise.
4183 * po/pa.po: Likewise.
4184 * po/pl.po: Likewise.
4185 * po/pt.po: Likewise.
4186 * po/pt_BR.po: Likewise.
4187 * po/zh_CN.po: Likewise.
4188 * po/zh_TW.po: Likewise.
4189 * po/de.po: Add new translation, fixed typo in string.
4191 2005-12-12 Mike Becher <Mike.Becher@lrz-muenchen.de>
4193 * doc/Makefile.am: Fixed install of PS, PDF, TXT and HTML files.
4195 2005-12-12 Thorsten Kukuk <kukuk@suse.de>
4197 * modules/pam_mail/README: Document "quiet" and "standard"
4200 2005-12-07 Thorsten Kukuk <kukuk@suse.de>
4202 * modules/pam_mail/pam_mail.c: Modify assembling of output
4203 for easier translation.
4205 * po/de.po: Translate new pam_mail messages.
4208 2005-11-24 Thorsten Kukuk <kukuk@thkukuk.de>
4210 * po/de.po: Add new translation, fix wrong format specifier.
4211 * po/cs.po: Fix wrong format specifier.
4212 * po/es.po: Likewise.
4213 * po/fi.po: Likewise.
4214 * po/fr.po: Likewise.
4215 * po/hu.po: Likewise.
4216 * po/it.po: Likewise.
4217 * po/ja.po: Likewise.
4218 * po/nb.po: Likewise.
4219 * po/pa.po: Likewise.
4220 * po/pl.po: Likewise.
4221 * po/pt.po: Likewise.
4222 * po/pt_BR.po: Likewise.
4223 * po/zh_CN.po: Likewise.
4224 * po/zh_TW.po: Likewise.
4226 2005-11-24 Dmitry V. Levin <ldv@altlinux.org>
4228 * config.h.in: Remove generated file.
4229 * .cvsignore: Add config.h.in.
4231 * configure.in: Do not check for strerror.
4232 * libpam_misc/misc_conv.c (read_string): Replace strerror()
4233 call with %m specifier.
4234 * libpamc/pamc_converse.c (pamc_converse): Likewise.
4235 * modules/pam_echo/pam_echo.c (pam_echo): Likewise.
4236 * modules/pam_localuser/pam_localuser.c (pam_sm_authenticate):
4238 * modules/pam_selinux/pam_selinux.c (security_label_tty):
4240 (security_restorelabel_tty, security_label_tty): Append %m
4241 specifier where appropriate.
4242 * modules/pam_selinux/pam_selinux_check.c (main): Replace
4243 strerror() call with %m specifier.
4244 * modules/pam_unix/pam_unix_passwd.c (save_old_password,
4245 _update_passwd, _update_shadow): Likewise.
4246 * modules/pam_unix/support.c (_unix_run_helper_binary): Likewise.
4247 * modules/pam_unix/unix_chkpwd.c (_update_shadow): Likewise.
4248 * po/Linux-PAM.pot: Update strings from pam_selinux.
4249 * po/cs.po: Likewise.
4250 * po/de.po: Likewise.
4251 * po/es.po: Likewise.
4252 * po/fi.po: Likewise.
4253 * po/fr.po: Likewise.
4254 * po/hu.po: Likewise.
4255 * po/it.po: Likewise.
4256 * po/ja.po: Likewise.
4257 * po/nb.po: Likewise.
4258 * po/pa.po: Likewise.
4259 * po/pl.po: Likewise.
4260 * po/pt.po: Likewise.
4261 * po/pt_BR.po: Likewise.
4262 * po/zh_CN.po: Likewise.
4263 * po/zh_TW.po: Likewise.
4265 2005-11-23 Thorsten Kukuk <kukuk@suse.de>
4267 * modules/pam_xauth/pam_xauth.c (pam_sm_open_session): Introduce
4268 new variable to fix compiler warning.
4270 * libpam/pam_modutil_getlogin.c (pam_modutil_getlogin): PAM_TTY
4271 don't need to start with /dev/.
4273 2005-11-21 Thorsten Kukuk <kukuk@thkukuk.de>
4275 * release version 0.99.2.0
4277 * libpam_misc/Makefile.am: Increase release number (for change
4280 * NEWS: Adjust for 0.99.2.0
4282 2005-11-17 Thorsten Kukuk <kukuk@thkukuk.de>
4284 * libpam/include/security/_pam_compat.h: Fix wrong #ifdef nesting.
4285 Redefine PAM_CHANGE_EXPIRED_AUTHTOK [#604380]
4287 2005-11-16 Thorsten Kukuk <kukuk@thkukuk.de>
4289 * libpam/pam_handlers.c: Replace code for all dlopen variants with
4291 * libpam/pam_dynamic.c: Implement generic wrapper for dlopen.
4292 * libpam/pam_dynamic.h: Provide prototypes.
4293 For Mac OS X support [#534205]
4295 2005-11-09 Tomas Mraz <t8m@centrum.cz>
4297 * modules/pam_access/pam_access.c (pam_sm_acct_mgmt): Parse correctly
4299 * modules/pam_time/pam_time.c (pam_sm_acct_mgmt): Parse correctly
4300 full path tty name. Allow unset tty.
4301 (logic_member): Allow matching ':' in tty name.
4302 * modules/pam_group/pam_group.c (pam_sm_acct_mgmt): Parse correctly
4303 full path tty name. Allow unset tty.
4304 (logic_member): Allow matching ':' in tty name.
4306 * libpam_misc/misc_conv.c (read_string): Read only up to EOL if stdin
4309 2005-11-07 Thorsten Kukuk <kukuk@thkukuk.de>
4311 * modules/pam_unix/pam_unix_passwd.c (_unix_verify_shadow): Use
4312 correct variable names.
4314 2005-11-06 Steve Langasek <vorlon@debian.org>
4316 * modules/pam_env/pam_env.c: don't treat a missing
4317 /etc/environment as a fatal error when attempting to read it,
4318 and try to read this file by default; this restores the behavior
4319 from Linux-PAM 0.76.
4321 2005-11-02 Tomas Mraz <t8m@centrum.cz>
4323 * modules/pam_unix/support.c (_unix_getpwnam): Fix typo [#1224807]
4326 * modules/pam_unix/pam_unix_passwd.c (_unix_verify_shadow): Change the
4327 logic when comparing dates to handle corner cases better [#1245888].
4329 2005-10-31 Thorsten Kukuk <kukuk@suse.de>
4331 * modules/pam_filter/pam_filter.c: Use XCASE only if defined
4334 2005-10-27 Thorsten Kukuk <kukuk@suse.de>
4336 * doc/man/pam.8: Fix wording for authentication chapter [#1197444]
4338 2005-10-26 Tomas Mraz <t8m@centrum.cz>
4340 * modules/pam_unix/pam_unix_acct.c (_unix_run_verify_binary),
4341 modules/pam_unix/pam_unix_passwd.c (_unix_run_shadow_binary),
4342 modules/pam_unix/support.c (_unix_run_shadow_binary_): Set real
4343 uid to 0 before executing the helper if SELinux is enabled.
4344 * modules/pam_unix/unix_chkpwd.c (main): Disable user check only
4345 if real uid is 0 (CVE-2005-2977). Log failed password check attempt.
4348 2005-10-20 Tomas Mraz <t8m@centrum.cz>
4350 * configure.in: Added check for xauth binary and --with-xauth option.
4351 * config.h.in: Added configurable PAM_PATH_XAUTH.
4352 * modules/pam_xauth/README,
4353 modules/pam_xauth/pam_xauth.8: Document where xauth is looked for.
4354 * modules/pam_xauth/pam_xauth.c (pam_sm_open_session): Implement
4355 searching xauth binary on multiple places.
4356 (run_coprocess): Don't use execvp as it can be a security risk.
4358 2005-10-04 Steve Langasek <vorlon@debian.org>
4360 * libpam/include/security/pam_malloc.h,
4361 libpam/include/security/pam_modules.h: Declare public header
4362 files extern "C" so that they are C++-safe.
4364 2005-10-02 Dmitry V. Levin <ldv@altlinux.org>
4365 Steve Langasek <vorlon@debian.org>
4367 Cleanup gratuitous use of strdup().
4368 Fix "missing argument" checks.
4370 * modules/pam_env/pam_env.c (_pam_parse): Add const qualifier
4371 to conffile and envfile arguments. Do not use x_strdup() for
4372 conffile and envfile initialization. Fix "missing argument"
4374 (_parse_config_file): Take conffile argument of type "const char *"
4375 instead of "char **". Do not free conffile.
4376 (_parse_env_file): Take env_file argument of type "const char *"
4377 instead of "char **". Do not free env_file.
4378 (pam_sm_setcred): Add const qualifier to conf_file and env_file.
4379 Pass conf_file and env_file to _parse_config_file() and
4380 _parse_env_file() by value.
4381 (pam_sm_open_session): Likewise.
4383 * modules/pam_ftp/pam_ftp.c (_pam_parse): Add const qualifier to
4384 users argument. Do not use x_strdup() for users initialization.
4385 (lookup): Add const qualifier to list argument.
4386 (pam_sm_authenticate): Add const qualifier to users argument.
4388 * modules/pam_mail/pam_mail.c (_pam_parse): Add const qualifier
4389 to maildir argument. Do not use x_strdup() for maildir
4390 initialization. Fix "missing argument" check.
4391 (get_folder): Take path_mail argument of type "const char *"
4392 instead of "char **". Do not free path_mail.
4393 (_do_mail): Add const qualifier to path_mail argument.
4394 Pass path_mail to get_folder() by value.
4396 * modules/pam_motd/pam_motd.c: Include <syslog.h>.
4397 (pam_sm_open_session): Add const qualifier to motd_path.
4398 Do not use x_strdup() for motd_path initialization. Do not
4399 free motd_path. Fix "missing argument" check. Add "unknown
4402 * modules/pam_userdb/pam_userdb.c (_pam_parse): Add const
4403 qualifier to database and cryptmode arguments. Fix "missing
4405 (pam_sm_authenticate): Add const qualifier to database and cryptmode.
4406 (pam_sm_acct_mgmt): Likewise.
4408 2005-10-01 Steve Langasek <vorlon@debian.org>
4410 * modules/pam_userdb/pam_userdb.c: spelling fix in log message.
4412 2005-09-30 Steve Langasek <vorlon@debian.org>
4414 * modules/pam_userdb/pam_userdb.c: Fix memory leak due to
4415 gratuitous use of strdup().
4417 2005-09-27 Thorsten Kukuk <kukuk@thkukuk.de>
4421 * doc/specs/Makefile.am (install-data-local): Install
4423 (all): Copy rfc if we build outside of source directory.
4425 2005-09-27 Thorsten Kukuk <kukuk@suse.de>
4427 * NEWS: Document removal of pam_radius.
4428 * autogen.sh: Make configure script executeable.
4430 * conv/pam_conv1/Makefile (EXTRA_DIST): Removed lex.yy.c
4431 (lex.yy.c): Fixed out of tree build.
4433 * conv/pam_conv1/pam_conv.y: Fix main prototype.
4437 * po/POTFILES.in: Remove files not distributed by tar archive
4438 and not containing strings for translation.
4440 2005-09-26 Tomas Mraz <t8m@centrum.cz>
4442 * NEWS: Add a few missing entries from CHANGELOG.
4444 * AUTHORS: Fixed entries for Toady and me.
4446 * Makefile.am (M4_FILES): Fixed out of tree build.
4447 * doc/specs/Makefile.am (EXTRA_DIST): Removed lex.yy.c
4448 (spec, lex.yy.c): Fixed out of tree build.
4450 * modules/pam_userdb/README: Document try_first_pass and
4451 use_first_pass options, remove use_authtok option.
4454 2005-09-26 Dmitry V. Levin <ldv@altlinux.org>
4456 * NEWS: Mention changes in pam_lastlog.
4458 2005-09-26 Thorsten Kukuk <kukuk@suse.de>
4461 * autogen.sh: Don't generate NEWS file.
4462 * CHANGELOG: Document it as obsolete.
4464 2005-09-26 Tomas Mraz <t8m@centrum.cz>
4466 * modules/pam_unix/pam_unix_acct.c (_unix_run_verify_binary):
4467 _log_err() -> pam_syslog()
4468 (pam_sm_acct_mgmt): _log_err() -> pam_syslog(), fix warning.
4469 * modules/pam_unix/pam_unix_auth.c (pam_sm_authenticate):
4470 _log_err() -> pam_syslog()
4471 * modules/pam_unix/pam_unix_passwd.c: removed obsolete ifdef
4472 (getNISserver, _unix_run_shadow_binary, _update_passwd,
4473 _update_shadow, _do_setpass, _pam_unix_approve_pass,
4474 pam_sm_chauthtok): _log_err() -> pam_syslog()
4475 * modules/pam_unix/pam_unix_sess.c: removed obsolete ifdef
4476 (pam_sm_open_session, pam_sm_close_session):
4477 _log_err() -> pam_syslog()
4478 * modules/pam_unix/support.c (_log_err, converse): removed
4479 (_make_remark): use pam_prompt() instead of converse()
4480 (_set_ctrl, _cleanup_failures, _unix_run_helper_binary,
4481 _unix_verify_password, _unix_read_password):
4482 _log_err() -> pam_syslog()
4483 _cleanup(), _unix_cleanup(): Silence unused param warnings.
4484 (_cleanup_failures, _unix_verify_password, _unix_getpwnam,
4485 _unix_run_helper_binary): Silence incorrect type warnings.
4486 (_unix_read_password): Use multiple pam_prompt() and pam_info() calls
4487 instead of converse().
4488 * modules/pam_unix/support.h (_log_err): removed
4489 * modules/pam_unix/unix_chkpwd.c (_log_err): LOG_AUTH -> LOG_AUTHPRIV
4491 2005-09-26 Thorsten Kukuk <kukuk@suse.de>
4493 * configure.in: Add doc/specs/Makefile.
4494 * Makefile.am: Add releasedocs rule.
4495 * doc/Makefile.am: Add specs subdir, remove files from specs
4496 directory, add rfc86.0.txt to releasedocs.
4497 * doc/specs/Makefile.am: New file.
4498 * doc/specs/formatter/parse.y: move from here ...
4499 * doc/specs/parse.y: ... here.
4500 * doc/specs/formatter/parse.lex: move from here ...
4501 * doc/specs/parse.lex: ... here.
4503 * modules/pam_mail/pam_mail.c: Mark missing strings for translation
4504 * po/Linux-PAM.pot: Add new strings from pam_mail
4505 * po/cs.po: Likewise.
4506 * po/de.po: Likewise.
4507 * po/es.po: Likewise.
4508 * po/fi.po: Likewise.
4509 * po/fr.po: Likewise.
4510 * po/hu.po: Likewise.
4511 * po/it.po: Likewise.
4512 * po/ja.po: Likewise.
4513 * po/nb.po: Likewise.
4514 * po/pa.po: Likewise.
4515 * po/pl.po: Likewise.
4516 * po/pt.po: Likewise.
4517 * po/pt_BR.po: Likewise.
4518 * po/zh_CN.po: Likewise.
4519 * po/zh_TW.po: Likewise.
4521 2005-09-23 Tomas Mraz <t8m@centrum.cz>
4523 * modules/pam_access/pam_access.c (from_match): Support NULL from.
4524 (string_match): Support NULL string, add NONE keyword matching it.
4525 (pam_sm_acct_mgmt): Don't fail when ttyname returns NULL.
4526 * modules/pam_access/access.conf: NONE keyword description
4527 * modules/pam_access/README: NONE keyword description
4529 2005-09-22 Dmitry V. Levin <ldv@altlinux.org>
4531 * modules/pam_xauth/pam_xauth.c: (check_acl, pam_sm_open_session,
4532 pam_sm_close_session): Strip redundant "pam_xauth: " prefix from
4533 text of log messages.
4534 (pam_sm_open_session): Replace sequence of malloc(), strcpy()
4535 and strcat() calls with asprintf(). Replace syslog() calls
4538 * modules/pam_nologin/pam_nologin.c (parse_args): Use strncmp()
4539 instead of memcmp() for string comparison.
4541 2005-09-21 Dmitry V. Levin <ldv@altlinux.org>
4543 * modules/pam_nologin/pam_nologin.c: Include <syslog.h>.
4544 (parse_args): Add pam_handle_t* argument. Log unrecognized
4546 (perform_check): Log pam_get_user() and malloc() failures.
4547 (pam_sm_authenticate, pam_sm_setcred, pam_sm_acct_mgmt):
4548 Pass pam_handle_t* to parse_args().
4550 * modules/pam_mail/pam_mail.c: Include <errno.h>.
4551 Remove YOUR_MAIL_VERBOSE_FORMAT, YOUR_MAIL_STANDARD_FORMAT and
4552 NO_MAIL_STANDARD_FORMAT macros.
4553 (parse_args, get_folder): Cleanup error messages.
4554 (get_folder): Fix leak of the path_mail variable in case of
4555 pam_get_user() failure. Cleanup memory management.
4556 (get_mail_status): Add pam_handle_t* argument. Fix leaks of
4557 namelist variable. Cleanup memory management. Log memory
4558 allocation failures. Remove 250-byte limit on Maildir pathname.
4559 (report_mail): Mark text messages for translation.
4560 (_do_mail): Cleanup memory management. Pass pam_handle_t*
4561 to get_mail_status().
4563 * po/Linux-PAM.pot: Update with new strings from pam_mail for
4565 * po/cs.po: Likewise.
4566 * po/de.po: Likewise.
4567 * po/es.po: Likewise.
4568 * po/fi.po: Likewise.
4569 * po/fr.po: Likewise.
4570 * po/hu.po: Likewise.
4571 * po/it.po: Likewise.
4572 * po/ja.po: Likewise.
4573 * po/nb.po: Likewise.
4574 * po/pa.po: Likewise.
4575 * po/pl.po: Likewise.
4576 * po/pt.po: Likewise.
4577 * po/pt_BR.po: Likewise.
4578 * po/zh_CN.po: Likewise.
4579 * po/zh_TW.po: Likewise.
4581 2005-09-20 Thorsten Kukuk <kukuk@suse.de>
4583 * configure.in: Add finish translation.
4586 * acinclude.m4: remove libprelude macros.
4587 * m4/libprelude.m4: New.
4589 * Makefile.am (EXTRA_DIST): make sure we include all m4 macros.
4591 * libpamc/Makefile.am (EXTRA_DIST): Add License.
4593 See CHANGELOG for earlier changes.