1 2008-09-19 Tomas Mraz <t8m@centrum.cz>
3 * modules/pam_cracklib/pam_cracklib.8.xml: Fix description
4 of the palindrome test. Document new options maxrepeat and
6 * modules/pam_cracklib/pam_cracklib.c(_pam_parse): Parse
7 the maxrepeat and reject_username options.
8 (password_check): Call the new tests usercheck() and
10 (_pam_unix_approve_pass): Pass user name to the password_check().
12 2008-09-16 Thorsten Kukuk <kukuk@thkukuk.de>
14 * modules/pam_cracklib/pam_cracklib.8.xml: Fix typo.
16 * modules/pam_unix/pam_unix.8.xml: Fix typo.
18 2008-09-03 Thorsten Kukuk <kukuk@thkukuk.de>
20 * modules/pam_exec/pam_exec.c: Expose authtok if requested,
21 provide environment variable containing service type.
22 * modules/pam_exec/pam_exec.8.xml: Document new option.
24 2008-08-29 Tomas Mraz <t8m@centrum.cz>
26 * modules/pam_loginuid/pam_loginuid.c(set_loginuid): Uids
29 2008-08-18 Thorsten Kukuk <kukuk@thkukuk.de>
31 * Makefile.am (M4_FILES): Adjust list.
33 * modules/pam_access/pam_access.8.xml: Fix module service
35 * modules/pam_cracklib/pam_cracklib.8.xml: Likewise.
36 * modules/pam_debug/pam_debug.8.xml: Likewise.
37 * modules/pam_deny/pam_deny.8.xml: Likewise.
38 * modules/pam_echo/pam_echo.8.xml: Likewise.
39 * modules/pam_env/pam_env.8.xml: Likewise.
40 * modules/pam_exec/pam_exec.8.xml: Likewise.
41 * modules/pam_faildelay/pam_faildelay.8.xml: Likewise.
42 * modules/pam_filter/pam_filter.8.xml: Likewise.
43 * modules/pam_ftp/pam_ftp.8.xml: Likewise.
44 * modules/pam_group/pam_group.8.xml: Likewise.
45 * modules/pam_issue/pam_issue.8.xml: Likewise.
46 * modules/pam_keyinit/pam_keyinit.8.xml: Likewise.
47 * modules/pam_lastlog/pam_lastlog.8.xml: Likewise.
48 * modules/pam_limits/pam_limits.8.xml: Likewise.
49 * modules/pam_listfile/pam_listfile.8.xml: Likewise.
50 * modules/pam_localuser/pam_localuser.8.xml: Likewise.
51 * modules/pam_loginuid/pam_loginuid.8.xml: Likewise.
52 * modules/pam_mail/pam_mail.8.xml: Likewise.
53 * modules/pam_mkhomedir/pam_mkhomedir.8.xml: Likewise.
54 * modules/pam_motd/pam_motd.8.xml: Likewise.
55 * modules/pam_namespace/pam_namespace.8.xml: Likewise.
56 * modules/pam_nologin/pam_nologin.8.xml: Likewise.
57 * modules/pam_permit/pam_permit.8.xml: Likewise.
58 * modules/pam_rhosts/pam_rhosts.8.xml: Likewise.
59 * modules/pam_rootok/pam_rootok.8.xml: Likewise.
60 * modules/pam_securetty/pam_securetty.8.xml: Likewise.
61 * modules/pam_selinux/pam_selinux.8.xml: Likewise.
62 * modules/pam_sepermit/pam_sepermit.8.xml: Likewise.
63 * modules/pam_shells/pam_shells.8.xml: Likewise.
64 * modules/pam_succeed_if/pam_succeed_if.8.xml: Likewise.
65 * modules/pam_tally/pam_tally.8.xml: Likewise.
66 * modules/pam_time/pam_time.8.xml: Likewise.
67 * modules/pam_tty_audit/pam_tty_audit.8.xml: Likewise.
68 * modules/pam_umask/pam_umask.8.xml: Likewise.
69 * modules/pam_unix/pam_unix.8.xml: Likewise.
70 * modules/pam_userdb/pam_userdb.8.xml: Likewise.
71 * modules/pam_warn/pam_warn.8.xml: Likewise.
72 * modules/pam_wheel/pam_wheel.8.xml: Likewise.
73 * modules/pam_xauth/pam_xauth.8.xml: Likewise.
75 2008-08-01 Thorsten Kukuk <kukuk@thkukuk.de>
77 * configure.in: Add version for gettext, add search path
78 for m4 directory, fix handling of --disable-* options.
79 Patches from Diego Pettenò <flameeyes@gmail.com>.
81 * configure.in: Run autoupdate on it.
83 * acincludde.m4: Rename to ...
84 * m4/jh_path_xml_catalog.m4: ... this.
86 * m4/*.m4: Remove all autoconf m4 files.
88 2008-07-29 Steve Langasek <vorlon@debian.org>
90 * modules/pam_cracklib/pam_cracklib.8.xml: correct a typo,
91 "Only he" -> "Only the"
93 2008-07-28 Steve Langasek <vorlon@debian.org>
95 * libpamc/test/regress/test.libpamc.c: use standard u_int8_t
96 type instead of __u8, as elsewhere.
97 Patch from Roger Leigh <rleigh@debian.org>.
98 * modules/pam_unix/passverify.c: make save_old_password()
99 thread-safe by using pam_modutil_getpwnam() instead of getpwnam()
100 * modules/pam_unix/passverify.c, modules/pam_unix/passverify.h,
101 modules/pam_unix/pam_unix_passwd.c: add pamh argument to
104 2008-07-27 Steve Langasek <vorlon@debian.org>
106 * modules/pam_*/pam_*.8.xml: fix up the references to pam.d,
107 which is in manpage section 5, not 8.
108 * modules/pam_env/environment, modules/pam_env/pam_env.8.xml:
109 spelling fix, seperate -> separate
111 2008-07-26 Steve Langasek <vorlon@debian.org>
113 * modules/pam_env/pam_env.c: Fix module to skip over
114 non-alphanumeric variable names, and to handle the case when
115 asked to delete a non-existent variable.
117 2008-07-13 Tomas Mraz <t8m@centrum.cz>
119 * modules/pam_mail/pam_mail.8.xml: Module supports session and
120 not account service (#1980773).
122 2008-07-11 Tomas Mraz <t8m@centrum.cz>
124 * modules/pam_unix/pam_unix_acct.c (_unix_run_verify_binary): Do
125 not close the pipe descriptor in borderline case (#2009766).
126 * modules/pam_unix/pam_unix_passwd.c (_unix_run_update_binary):
128 * modules/pam_unix/support.c (_unix_run_helper_binary): Likewise.
129 * modules/pam_unix/support.h: Define upper limit of fds we will
132 * modules/pam_selinux/pam_selinux.c (config_context): Do not
133 ask for the level if use_current_range is set.
134 (context_from_env): New function to obtain the context from
135 PAM environment variables.
136 (pam_sm_open_session): Call context_from_env() if env_params option
137 is present. use_current_range now modifies behavior of the
138 context_from_env and config_context options.
139 * modules/pam_selinux/pam_selinux.8.xml: Describe the env_params
140 option. Adjust description of use_current_range option.
142 2008-07-09 Thorsten Kukuk <kukuk@thkukuk.de>
144 * modules/pam_exec/pam_exec.c (call_exec): Move all variable
145 declaration to begin of a block (#1976310).
147 * xtests/tst-pam_group1.c (run_test): Move no_grps declaration
148 to begin of function (#1976310).
150 * modules/pam_securetty/pam_securetty.8.xml: Replace
151 PAM_IGNORE with PAM_USER_UNKNOWN (#1994330).
153 * modules/pam_tally/pam_tally.c: Add support for silent and
155 * modules/pam_tally/pam_tally.8.xml: Document silent and
158 2008-07-08 Thorsten Kukuk <kukuk@thkukuk.de>
160 * modules/pam_unix/passverify.c (verify_pwd_hash): Adjust debug
163 2008-06-22 Thorsten Kukuk <kukuk@thkukuk.de>
165 * modules/pam_unix/unix_chkpwd.c (main): Fix compiling without
168 * modules/pam_cracklib/pam_cracklib.8.xml: Fix typo in ucredit
169 description (reported by Wayne Pollock <pollock@acm.org>)
171 2008-06-19 Tomas Mraz <t8m@centrum.cz>
173 * modules/pam_succeed_if/pam_succeed_if.c (pam_sm_authenticate):
174 Detect configuration errors. Fail on incomplete condition.
176 2008-05-20 Tomas Mraz <t8m@centrum.cz>
178 * configure.in: Work correctly with autoconf-2.62.
180 2008-05-19 Tomas Mraz <t8m@centrum.cz>
182 * doc/man/pam_getenv.3.xml: Correct the pam_getenv documentation.
184 * doc/man/pam_prompt.3.xml: Add missing description.
186 2008-05-14 Kjartan Maraas <kmaraas@gnome.org>
188 * po/nb.po: Updated translation.
190 2008-05-14 Sulyok Péter <peti@sulyok.hu>
192 * po/hu.po: Updated translation.
194 2008-05-14 Tomas Mraz <t8m@centrum.cz>
196 * libpam/pam_modutil_getgrgid.c: Replace hardcoded constant with
197 define PWD_LENGTH_SHIFT.
198 * libpam/pam_modutil_getgrnam.c: Likewise.
199 * libpam/pam_modutil_getpwnam.c: Likewise.
200 * libpam/pam_modutil_getpwuid.c: Likewise.
201 * libpam/pam_modutil_getspnam.c: Likewise.
202 * libpam/pam_modutil_private.h: Adjust values for PWD_ constants.
204 * modules/pam_unix/pam_unix_passwd.c(pam_sm_chauthtok): Unset authtok
205 item when password is not approved.
206 * modules/pam_unix/support.c(_unix_read_password): UNIX_USE_FIRST_PASS
207 is always set when UNIX_AUTHTOK is set, change order of conditions.
209 2008-05-02 Tomas Mraz <t8m@centrum.cz>
211 * modules/pam_selinux/pam_selinux.c(query_response): Add handling
213 (manual_context): Handle failed query_response() properly. Rename
214 variable responses to response which is more correct name.
215 (config_context): Likewise.
216 (pam_sm_open_session): Do not base decision on whether there is a tty.
218 2008-04-22 Tomas Mraz <t8m@centrum.cz>
220 * modules/pam_selinux/pam_selinux.c(pam_sm_close_sesion): Fix
221 regression from the change from 2008-03-20. setexeccon() must be
222 called also with NULL prev_context.
224 2008-04-21 Thorsten Kukuk <kukuk@thkukuk.de>
226 * modules/pam_access/access.conf.5.xml: Document changed behavior
228 * modules/pam_access/pam_access.c: Add from_remote_host to
229 struct login_info to change behavior of LOCAL keyword: if
230 PAM_RHOST is not set, LOCAL will be true.
232 2008-04-18 Tomas Mraz <t8m@centrum.cz>
234 * modules/pam_namespace/pam_namespace.c: New functions
235 unprotect_dirs(), cleanup_protect_data(), protect_mount(),
236 protect_dir() to protect directory by bind mount.
237 (cleanup_data): Renamed to cleanup_polydir_data().
238 (parse_create_params): Allow missing specification of mode
240 (check_inst_parent): Call protect_dir() on the instance parent
241 directory. The directory is created when it doesn't exist.
242 (create_polydir): Protect and make the polydir by protect_dir(),
243 remove potential races.
244 (create_dirs): Renamed to create_instance(), remove call to
246 (ns_setup): Call protect_dir() on the polydir if it already exists.
247 Call inst_init() after the polydir is mounted.
248 (setup_namespace): Set the namespace protect data to be cleaned up
249 on pam_close_session()/pam_end().
250 (pam_sm_open_session): Initialize the protect_dirs.
251 (pam_sm_close_session): Cleanup namespace protect data.
252 * modules/pam_namespace/pam_namespace.h: Define struct for the
253 stack of protected dirs.
254 * modules/pam_namespace/pam_namespace.8.xml: Document when the
255 instance init script is called.
256 * modules/pam_namespace/namespace.conf.5.xml: Likewise.
258 2008-04-17 Tomas Mraz <t8m@centrum.cz>
260 * modules/pam_access/pam_access.c(myhostname): Removed function.
261 (user_match): Supply hostname of the machine to the netgroup_match().
262 Use hostname from the loginfo instead of calling myhostname().
263 (pam_sm_authenticate): Call gethostname() to fill hostname in the
266 * modules/pam_sepermit/pam_sepermit.c(sepermit_match): Do not try
267 to lock if euid != 0.
269 2008-04-16 Tomas Mraz <t8m@centrum.cz>
271 * modules/pam_unix/Makefile.am: Link unix_chkpwd with libaudit.
272 * modules/pam_unix/unix_chkpwd.c(_audit_log): New function for audit.
273 (main): Call _audit_log() when appropriate.
275 * modules/pam_cracklib/pam_cracklib.c(_pam_parse): Recognize also
276 try_first_pass and use_first_pass options.
277 (pam_sm_chauthtok): Implement the new options.
279 2008-04-08 Tomas Mraz <t8m@centrum.cz>
281 * modules/pam_xauth/pam_xauth.c(run_coprocess): Avoid multiple
282 calls to sysconf() (based on patch by Sami Farin).
284 * libpam/pam_item.c (TRY_SET): Do not set when destination
285 is identical to source.
286 (pam_set_item): Do not overwrite destination when it
287 is identical to source.
289 2008-04-07 Miloš Komarčević <kmilos@gmail.com>
291 * po/sr.po: New file with translation.
292 * po/sr@latin.po: Likewise.
293 * po/LINGUAS: Add sr and sr@latin.
295 2008-04-03 Thorsten Kukuk <kukuk@thkukuk.de>
297 * release version 1.0.0
299 * configure.in: Set version number to 1.0.0.
300 * libpam/Makefile.am: Bump patchlevel of libpam.
301 * doc/adg/Linux-PAM_ADG.xml: Update version/date.
302 * doc/mwg/Linux-PAM_MWG.xml: Likewise.
303 * doc/sag/Linux-PAM_SAG.xml: Likewise.
305 2008-03-31 Dan Walsh <dwalsh@redhat.com>
307 * modules/pam_sepermit/pam_sepermit.c(sepermit_lock): Mark lock fd to
310 2008-03-25 Leah Liu <lliu@redhat.com>
312 * po/zh_CN.po: Updated translation.
314 2008-03-20 Tomas Mraz <t8m@centrum.cz>
316 * modules/pam_namespace/pam_namespace.c(poly_name): Switch to USER
317 method only when appropriate.
318 (setup_namespace): Do not umount when not mounted with RUSER.
320 * modules/pam_selinux/pam_selinux.c(pam_sm_close_session): Call
321 freecontext() after the context is logged not before.
323 2008-03-18 Canniot Thomas <thomas.canniot@mrtomlinux.org>
325 * po/fr.po: Updated translation.
327 2008-03-13 Ankit Patel <ankit@redhat.com>
329 * po/gu.po: Updated translation.
331 2008-03-05 Tomas Mraz <t8m@centrum.cz>
333 * modules/pam_cracklib/pam_cracklib.c(pam_sm_chauthtok): Avoid
334 unnecessary x_strdup() of resp.
335 * modules/pam_ftp/pam_ftp(pam_sm_authenticate): Call _pam_overwrite()
336 before dropping password resp.
338 2008-03-03 Tomas Mraz <t8m@centrum.cz>
340 * modules/pam_selinux/pam_selinux.c: Do not translate syslog messages.
341 * po/Linux-PAM.pot: Update.
343 * libpam/pam_item.c(RESET): Rename to TRY_SET, handle strdup failure.
344 (pam_set_item): Use TRY_SET() also for PAM_AUTHTOK and PAM_OLDAUTHTOK.
345 Handle allocation failure for PAM_XAUTHDATA.
346 (pam_get_user): Return error when conversation returns NULL user.
347 Call pam_set_item() instead of RESET().
349 2008-02-26 Tomas Mraz <t8m@centrum.cz>
351 * modules/pam_unix/Makefile.am: Do not link to cracklib.
352 * modules/pam_unix/pam_unix_passwd.c(_pam_unix_approve_pass):
353 Do not call FascistCheck() from cracklib.
355 2008-02-29 Fabian Affolter <fab@fedoraproject.org>
357 * po/de.po: Updated translation.
359 2008-02-28 Piotr Drąg <piotrdrag@gmail.com>
361 * po/pl.po: Updated translation.
363 2008-02-26 Tomas Mraz <t8m@centrum.cz>
365 * po/LINUGAS: New languages added.
366 * po/es.po: Updated translations.
367 * po/fr.po: Likewise.
368 * po/it.po: Likewise.
369 * po/ja.po: Likewise.
370 * po/nl.po: Likewise.
371 * po/pl.po: Likewise.
372 * po/pt_BR.po: Likewise.
373 * po/ru.po: Likewise.
374 * po/zh_CN.po: Likewise.
375 * po/as.po: New file.
376 * po/gu.po: Likewise.
377 * po/hi.po: Likewise.
378 * po/kn.po: Likewise.
379 * po/ko.po: Likewise.
380 * po/ml.po: Likewise.
381 * po/or.po: Likewise.
382 * po/si.po: Likewise.
383 * po/ta.po: Likewise.
385 2008-02-21 Tomas Mraz <t8m@centrum.cz>
387 * libpam/pam_audit.c (_pam_audit_writelog): Silence syslog
388 message on non-error return.
390 * modules/pam_unix/unix_chkpwd.c (main): Proceed as unprivileged
391 user when checking password of another user.
392 * modules/pam_unix/unix_update.c: Fix comment.
394 2008-02-18 Dmitry V. Levin <ldv@altlinux.org>
396 * libpam/pam_handlers.c (_pam_assemble_line): Fix potential
398 * xtests/tst-pam_assemble_line1.pamd: New test for
400 * xtests/tst-pam_assemble_line1.sh: New script for
401 tst-pam_assemble_line1.
402 * xtests/Makefile.am (NOSRCTESTS): Add tst-pam_assemble_line1.
403 (EXTRA_DIST): Add tst-pam_assemble_line1.pamd and
404 tst-pam_assemble_line1.sh
406 * modules/pam_exec/pam_exec.c (call_exec): Fix asprintf return
409 2008-02-13 Thorsten Kukuk <kukuk@thkukuk.de>
411 * release version 0.99.10.0
413 * configure.in: set version number.
415 * modules/pam_rhosts/Makefile.am: Remove pam_rhosts_auth.
416 * modules/pam_rhosts/pam_rhosts_auth.c: Removed.
417 * modules/pam_rhosts/tst-pam_rhosts_auth: Removed.
419 * modules/pam_namespace/Makefile.am (noinst_HEADERS): Add
422 2008-02-13 Tomas Mraz <t8m@centrum.cz>
424 * modules/pam_namespace/Makefile.am: Add argv_parse files and namespace.d
426 * modules/pam_namespace/argv_parse.c: New file.
427 * modules/pam_namespace/argv_parse.h: New file.
428 * modules/pam_namespace/namespace.conf.5.xml: Document new features.
429 * modules/pam_namespace/pam_namespace.8.xml: Likewise.
430 * modules/pam_namespace/pam_namespace.h: Use SECURECONF_DIR define.
431 Define NAMESPACE_D_DIR and NAMESPACE_D_GLOB. Define new option flags
433 (polydir_s): Add rdir, replace exclusive with flags, add init_script,
434 owner, group, and mode.
435 (instance_data): Add ruser, gid, and ruid.
436 * modules/pam_namespace/pam_namespace.c: Remove now unused copy_ent().
437 (add_polydir_entry): Add the entry directly, no copy.
438 (del_polydir): New function.
439 (del_polydir_list): Call del_polydir().
440 (expand_variables, parse_create_params, parse_iscript_params,
441 parse_method): New functions.
442 (process_line): Call expand_variables() on polydir and instance prefix.
443 Call argv_parse() instead of strtok_r(). Allocate struct polydir_s on heap.
444 (parse_config_file): Parse .conf files from namespace.d dir after
446 (form_context): Call getcon() or get_default_context_with_level() when
447 appropriate flags are set.
448 (poly_name): Handle shared polydir flag.
449 (inst_init): Execute non-default init script when specified.
450 (create_polydir): New function.
451 (create_dirs): Remove the code which checks the polydir. Do not call
452 inst_init() when noinit flag is set.
453 (ns_setup): Check the polydir and eventually create it if the create flag
455 (setup_namespace): Use ruser uid from idata. Set the namespace polydir
456 pam data only when namespace was set up correctly. Unmount polydir
458 (get_user_data): New function.
459 (pam_sm_open_session): Check for use_current_context and
460 use_default_context options. Call get_user_data().
461 (pam_sm_close_session): Call get_user_data().
463 2008-02-06 Thorsten Kukuk <kukuk@thkukuk.de>
465 * po/de.po: Translate some more strings.
467 2008-02-05 Thorsten Kukuk <kukuk@thkukuk.de>
469 * modules/pam_unix/unix_update.c: Remove unused declarations.
471 2008-02-04 Thorsten Kukuk <kukuk@thkukuk.de>
473 * libpam/pam_static_modules.h: Add _pam_sepermit_modstruct.
474 * modules/pam_sepermit/pam_sepermit.c: Fix typo.
475 * modules/pam_sepermit/Makefile.am: Install config file only
476 if we build the module.
478 * README: Add --disable-pie to configure options for static library.
480 * doc/man/Makefile.am: Fix building outside of src directory.
482 * libpam/Makefile.am: Bump version number of libpam.
484 * modules/Makefile.am: Add pam_sepermit.
486 * doc/Makefile.am: Fix build out of source directory.
488 * po/POTFILES.in: Add pam_sepermit.c.
490 * modules/pam_exec/pam_exec.c: Set PAM environment variables and
492 * modules/pam_exec/pam_exec.8.xml: Document new behavior.
493 Patch from Julien Lecomte <julien@lecomte.at>.
495 2008-02-01 Tomas Mraz <t8m@centrum.cz>
497 * modules/pam_namespace/namespace.conf.5.xml: Add documentation for
498 tmpfs and tmpdir polyinst and for ~ user list modifier.
499 * modules/pam_namespace/namespace.init: Add documentation for the
500 new init parameter. Add home directory initialization script.
501 * modules/pam_namespace/pam_namespace.8.xml: Document the new
502 init parameter of the namespace.init script.
503 * modules/pam_namespace/pam_namespace.c(copy_ent): Copy exclusive flag.
504 (cleanup_data): New function.
505 (process_line): Set exclusive flag. Add tmpfs and tmpdir methods.
506 (ns_override): Change behavior on the exclusive flag.
507 (poly_name): Process tmpfs and tmpdir methods.
508 (inst_init): Add flag for new directory initialization.
509 (create_dirs): Process the tmpdir method, add the new directory
511 (ns_setup): Remove unused code. Process the tmpfs method.
512 (cleanup_tmpdirs): New function.
513 (setup_namespace): Set data for proper cleanup. Cleanup the tmpdirs
515 (pam_sm_close_session): Instead of parsing the config file again use
516 the previously set data for cleanup.
517 * modules/pam_namespace/pam_namespace.h: Add TMPFS and TMPDIR methods
520 2008-01-29 Tomas Mraz <t8m@centrum.cz>
522 * configure.in: Test for setkeycreatecon needs libselinux.
523 Add new module pam_sepermit.
524 * modules/Makefile.am: Add new module pam_sepermit.
525 * modules/pam_sepermit/.cvsignore: New file.
526 * modules/pam_sepermit/Makefile.am: Likewise.
527 * modules/pam_sepermit/README.xml: Likewise.
528 * modules/pam_sepermit/pam_sepermit.8.xml: Likewise.
529 * modules/pam_sepermit/pam_sepermit.c: Likewise.
530 * modules/pam_sepermit/sepermit.conf: Likewise.
531 * modules/pam_sepermit/tst-pam_sepermit: Likewise.
532 * doc/sag/pam_sepermit.xml: Likewise.
534 * doc/sag/pam_tty_audit.xml: Add pam_tty_audit to SAG.
536 2008-01-29 Miloslav Trmac <mitr@redhat.com>
538 * modules/pam_tty_audit/README.xml: Add notes section.
539 * modules/pam_tty_audit/pam_tty_audit.8.xml: Describe patterns
540 support and open_only option. Add notes.
541 * modules/pam_tty_audit/pam_tty_audit.c(pam_sm_open_session): Add
542 support for pattern matching and the open_only option.
544 2008-01-28 Thorsten Kukuk <kukuk@thkukuk.de>
546 * libpam/pam_audit.c: Include pam_modutil_private.h.
548 * libpam/pam_item.c (pam_set_item): Fix compiler warning.
550 * libpam/pam_end.c (pam_end): Cast to correct pointer type.
551 * libpam/include/security/_pam_macros.h (_pam_overwrite_n): Use
554 * modules/pam_unix/passverify.c: Fix compiling without SELinux
557 2008-01-24 Tomas Mraz <t8m@centrum.cz>
559 * modules/pam_unix/bigcrypt.c (bigcrypt): Use crypt_r() when
561 * modules/pam_unix/passverify.c (strip_hpux_aging): New function
562 to strip HP/UX aging info from password hash.
563 (verify_pwd_hash): Call strip_hpux_aging(), use crypt_r() when
566 2008-01-23 Tomas Mraz <t8m@centrum.cz>
568 * configure.in: Add test for crypt_r(). Add setting/disabling random
571 * modules/pam_unix/Makefile.am: Add unix_update.8 manpage generated from
572 XML, generate also unix_chkpwd.8 from XML.
573 * modules/pam_unix/pam_unix_acct.c: Add rounds parameter to _set_ctrl().
574 * modules/pam_unix/pam_unix_auth.c: Likewise.
575 * modules/pam_unix/pam_unix_sess.c: Likewise.
576 * modules/pam_unix/pam_unix_passwd.c: Likewise.
577 * modules/pam_unix/support.c(_set_ctrl): Likewise.
578 * modules/pam_unix/support.h: Likewise. Add UNIX_SHA256_PASS,
579 UNIX_SHA512_PASS, and UNIX_ALGO_ROUNDS ctrls.
580 (pam_sm_chauthtok): Refactor out new password encryption.
581 * modules/pam_unix/passverify.c(crypt_make_salt): New function.
582 (crypt_md5_wrapper): Call crypt_make_salt().
583 (create_password_hash): New function refactored out of
584 pam_sm_chauthtok(). Support for new password hashes.
585 * modules/pam_unix/passverify.h: Drop ascii_to_bin() and bin_to_ascii()
586 macros. Add prototype for create_password_hash().
587 * modules/pam_unix/unix_update.8.xml: New file.
588 * modules/pam_unix/unix_chkpwd.8.xml: Likewise.
590 * modules/pam_unix/Makefile.am: Add unix_update helper.
591 * modules/pam_unix/pam_unix_passwd.c: Move functions i64c(),
592 crypt_md5_wrapper(), save_old_password(), _update_passwd() and
593 _update_shadow() to passverify.c file. Rename _unix_run_shadow_binary()
594 to _unix_run_update_binary(), which also verifies old password and
596 (_do_setpass, pam_sm_chauthtok): lckpwdf()->lock_pwdf(), the same for unlock.
597 Call _unix_run_update_binary() appropriately.
598 _update_passwd()->unix_update_passwd(), the same for shadow.
599 * modules/pam_unix/passverify.c: Add new functions moved from
600 pam_unix_passwd.c and unix_chkpwd.c.
601 * modules/pam_unix/passverify.h: Likewise.
602 * modules/pam_unix/unix_chkpwd.c: Remove SELinux checks. Move
603 su_sighandler(), setup_signals(), getuidname() to passverify.c.
604 (main): Remove 'shadow' option. Refactor out read_passwords() and
605 call it. More strict checking how the binary is called.
606 * modules/pam_unix/unix_update.c: New helper binary - non-setuid,
607 called from SELinux confined apps only.
609 * modules/pam_unix/pam_unix_acct.c (_unix_run_verify_binary): Return
610 status and daysleft instead of fake shadow entry.
611 (pam_sm_acct_mgmt): Call _unix_run_verify_binary() appropriately.
612 * modules/pam_unix/pam_unix_passwd.c (_unix_verify_shadow): Call
613 get_account_info() and check_shadow_expiry().
614 * modules/pam_unix/support.h: Adjust _unix_run_verify_binary()
616 * modules/pam_unix/support.c (_unix_run_helper_binary): Remove check
617 on selinux enabled/disabled.
618 * modules/pam_unix/unix_chkpwd.c (_verify_account): Rename to
619 _check_expiry(), now checks shadow expiry info.
620 (main): Remove check on selinux enabled/disabled. Check shadow
621 expiry through _check_expiry().
623 * modules/pam_unix/pam_unix_acct.c (pam_sm_acct_mgmt): Call
624 get_account_info() and check_shadow_expiry().
625 * modules/pam_unix/passverify.c: Add get_account_info() to
626 obtain shadow and passwd entry. Add check_shadow_expiry() to
627 for shadow password expiry check.
628 (get_pwd_hash): Call get_account_info().
629 * modules/pam_unix/passverify.h: Add prototypes for get_account_info()
630 and check_shadow_expiry().
632 2008-01-08 Thorsten Kukuk <kukuk@thkukuk.de>
634 * doc/man/Makefile.am: Fix manual page dependencies,
635 add hack for bug in xsl stylestheets.
637 2008-01-07 Thorsten Kukuk <kukuk@thkukuk.de>
639 * po/it.po: Fix typos.
640 * po/de.po: Few new translations.
641 * po/POTFILES.in: Add pam_tty_audit.c and passverify.c.
642 * doc/man/pam_xauth_data.3.xml: Added to CVS.
643 * doc/man/pam_xauth_data.3: Likewise.
644 * modules/pam_tty_audit/README: Likewise.
645 * modules/pam_tty_audit/pam_tty_audit.8: Likewise.
646 * po/sv.po: Update swedish translation [#1857531].
647 * modules/pam_succeed_if/pam_succeed_if.8.xml: Fix
648 cut & paste error [#1863490].
650 2008-01-02 Petteri Räty <betelgeuse@gentoo.org>
651 * modules/pam_limits/limits.conf: document allowed values for
653 * modules/pam_limits/limits.conf.5.xml: Likewise.
655 2007-12-18 Thorsten Kukuk <kukuk@thkukuk.de>
657 * README: Document how to run make check with static modules
660 2007-12-18 Peter Breitenlohner <peb@mppmu.mpg.de>
661 * README: Document that "make check" requires a file
662 /etc/pam.d/other (SF#1822764).
664 2007-12-12 Eamon Walsh <ewalsh@tycho.nsa.gov>
666 * doc/man/pam_item_types_ext.inc.xml: More appropriate wording
667 for PAM_XDISPLAY doc.
669 2007-12-07 Tomas Mraz <t8m@centrum.cz>
671 * po/cs.po: Updated translations.
673 * libpam/libpam.map: Add LIBPAM_MODUTIL_1.1 version.
674 * libpam/pam_audit.c: Add _pam_audit_open() and
675 pam_modutil_audit_write().
676 (_pam_auditlog): Call _pam_audit_open().
677 * libpam/include/security/pam_modutil.h: Add pam_modutil_audit_write().
678 * modules/pam_access/pam_access.8.xml: Add noaudit option.
680 * modules/pam_access/pam_access.c: Move fs, sep, pam_access_debug, and
681 only_new_group_syntax variables to struct login_info. Add noaudit
683 (_parse_args): Adjust for the move of variables and add support for
685 (group_match): Add debug parameter.
686 (string_match): Likewise.
687 (network_netmask_match): Likewise.
688 (login_access): Adjust for the move of variables. Add nonall_match.
689 Add call to pam_modutil_audit_write().
690 (list_match): Adjust for the move of variables.
691 (user_match): Likewise.
692 (from_match): Likewise.
693 (pam_sm_authenticate): Call _parse_args() earlier.
694 * modules/pam_limits/pam_limits.8.xml: Add noaudit option.
696 * modules/pam_limits/pam_limits.c (_pam_parse): Add noaudit option.
697 (setup_limits): Call pam_modutil_audit_write().
698 * modules/pam_time/pam_time.8.xml: Add debug and noaudit options.
700 * modules/pam_time/pam_time.c: Add option parsing (_pam_parse()).
701 (check_account): Call _pam_parse(). Call pam_modutil_audit_write()
702 and pam_syslog() on login denials.
704 2007-12-07 Luca Bruno <luca.br@uno.it>
706 * po/it.po: Updated translations.
708 2007-12-06 Eamon Walsh <ewalsh@tycho.nsa.gov>
710 * libpam/include/security/_pam_macros.h: Add _pam_overwrite_n()
712 * libpam/include/security/_pam_types.h: Add PAM_XDISPLAY,
713 PAM_XAUTHDATA items, pam_xauth_data struct.
714 * libpam/pam_item.c (pam_set_item, pam_get_item): Handle
715 PAM_XDISPLAY and PAM_XAUTHDATA items.
716 * libpam/pam_end.c (pam_end): Destroy the new items.
717 * libpam/pam_private.h (pam_handle): Add data members for new
718 items. Add prototype for _pam_memdup.
719 * libpam/pam_misc.c: Add _pam_memdup.
720 * doc/man/Makefile.am: Add pam_xauth_data.3. Replace
721 pam_item_types.inc.xml with pam_item_types_std.inc.xml and
722 pam_item_types_ext.inc.xml.
723 * doc/man/pam_get_item.3.xml: Replace pam_item_types.inc.xml
724 with pam_item_types_std.inc.xml and pam_item_types_ext.inc.xml.
725 * doc/man/pam_set_item.3.xml: Likewise.
726 * doc/man/pam_item_types.inc.xml: Removed file.
727 * doc/man/pam_item_types_ext.inc.xml: New file.
728 * doc/man/pam_item_types_std.inc.xml: New file.
730 2007-12-06 Tomas Mraz <t8m@centrum.cz>
732 * modules/pam_tty_audit/pam_tty_audit.8.xml: Fix example.
734 2007-12-05 Miloslav Trmac <mitr@redhat.com>
736 * configure.in: Add test for audit_tty_status struct. Add
737 pam_tty_audit module.
738 * libpam/pam_static_modules.h: Add pam_tty_audit module.
739 * modules/pam_tty_audit/Makefile.am: New file.
740 * modules/pam_tty_audit/README.xml: Likewise.
741 * modules/pam_tty_audit/pam_tty_audit.8.xml: Likewise.
742 * modules/pam_tty_audit/pam_tty_audit.c: Likewise.
744 2007-12-05 Tomas Mraz <t8m@centrum.cz>
746 * modules/pam_unix/Makefile.am: Add passverify.h and passverify.c
747 as first part of pam_unix refactorization.
748 * modules/pam_unix/pam_unix/pam_unix_acct.c: Include passverify.h.
749 * modules/pam_unix/pam_unix_passwd.c: Likewise.
750 * modules/pam_unix/passverify.c: New file with common functions.
751 * modules/pam_unix/passverify.h: Prototypes for the common functions.
752 * modules/pam_unix/support.c: Include passverify.h, move
753 _unix_shadowed() to passverify.c.
754 (_unix_verify_password): Refactor out verify_pwd_hash() function.
755 * modules/pam_unix/support.h: Move _unix_shadowed() prototype to
757 * modules/pam_unix/unix_chkpwd.c: Use _unix_shadowed() and
758 verify_pwd_hash() from passverify.c.
760 2007-11-20 Thorsten Kukuk <kukuk@thkukuk.de>
762 * modules/pam_unix/Makefile.am (unix_chkpwd_LDADD): Don't link
763 unix_chkpwd unnecessary against libpam (#1822779).
765 * modules/pam_tally/pam_tally.c (tally_log): Map
766 pam_modutil_getpwnam to getpwnam if we don't compile
768 * modules/pam_tally/Makefile.am: Don't link pam_tally_app
769 against libpam (#1822779).
771 2007-11-06 Thorsten Kukuk <kukuk@thkukuk.de>
773 * xtests/tst-pam_group1.c: Include stdlib.h
774 * xtests/tst-pam_succeed_if1.c: Likewise.
775 * xtests/tst-pam_limits1.c: Likewise.
776 * xtests/tst-pam_access1.c: Likewise.
777 * xtests/tst-pam_access2.c: Likewise.
778 * xtests/tst-pam_access3.c: Likewise.
779 * xtests/tst-pam_access4.c: Likewise.
780 * xtests/tst-pam_unix1.c: Likewise.
781 * xtests/tst-pam_unix2.c: Likewise.
782 * xtests/tst-pam_unix3.c: Likewise.
783 * xtests/tst-pam_cracklib1.c: Likewise.
784 * xtests/tst-pam_cracklib2.c: Likewise.
786 * libpam/pam_static_modules.h: Fix name of pam_namespace variable.
788 2007-11-01 Peter Breitenlohner <peb@mppmu.mpg.de>
790 * doc/man/pam_conv.3.xml: Correct typo.
792 2007-10-30 Peter Breitenlohner <peb@mppmu.mpg.de>
794 * modules/pam_rhosts/pam_rhosts_auth.c (__icheckhost): Correct
795 misplaced parenthesis.
796 * modules/pam_unix/pam_unix_acct.c (pam_sm_acct_mgmt): Prevent use of
797 dngettext() when NLS is disabled.
798 * modules/pam_exec/pam_exec.c (call_exec): Avoid gcc warning.
799 * doc/specs/parse_y.y (set_label, new_counter): Break trigraphs to
801 * modules/pam_wheel/pam_wheel.c: Remove excessive initializer
804 * modules/pam_cracklib/pam_cracklib.8.xml: Correct typo.
805 * modules/pam_limits/limits.conf.5.xml: Likewise.
806 * modules/pam_listfile/pam_listfile.8.xml: Likewise.
807 * modules/pam_xauth/pam_xauth.8.xml: Likewise.
809 * modules/pam_deny/pam_deny.8.xml: Correct spelling.
810 * modules/pam_group/pam_group.8.xml: Likewise.
811 * modules/pam_permit/pam_permit.8.xml: Likewise.
812 * modules/pam_shells/pam_shells.8.xml: Likewise.
813 * modules/pam_time/pam_time.8.xml: Likewise.
814 * modules/pam_warn/pam_warn.8.xml: Likewise.
816 * tests/tst-dlopen.c: Return 77 in case of static modules, such that
817 all modules/pam_*/tst-pam_* tests yield SKIP instead of FAIL.
818 * libpam/Makefile.am (libpam_la_LIBADD): Use "$(shell ls ...)" instead
819 of "`ls ...`", to allow for static modules.
820 * libpam/pam_static_modules.h: Make pam_keyinit module depend on
821 HAVE_KEY_MANAGEMENT; correct name of pam_faildelay pam_module struct.
822 * modules/pam_faildelay/pam_faildelay.c: Correct name of pam_module
825 2007-10-25 Steve Langasek <vorlon@debian.org>
827 * modules/pam_tally/pam_tally.c: fix the definition of OPT_AUDIT
828 to be octal instead of decimal, so that it works properly in a
829 bit field instead of forcing the "even_deny_root_account" and
830 "no_reset" options to on.
831 Patch from Corey Wright <undefined@pobox.com>.
833 2007-10-19 Tomas Mraz <t8m@centrum.cz>
835 * xtests/tst-pam_access1.c: Use different name for user and group.
836 * xtests/tst-pam_access1.sh: Likewise.
837 * xtests/tst-pam_access2.c: Likewise.
838 * xtests/tst-pam_access2.sh: Likewise.
839 * xtests/tst-pam_access4.c: Likewise.
840 * xtests/tst-pam_access4.sh: Likewise.
841 * xtests/group.conf: Likewise.
842 * xtests/tst-pam_group1.c: Likewise.
843 * xtests/tst-pam_group1.sh: Likewise.
845 * libpam/pam_dispatch.c (_pam_dispatch_aux): Save states for substacks,
846 record substack level, skip over virtual substack modules, implement
847 evaluation of done, die, reset and jumps in substacks. Also fixes
848 too far jumps in substacks.
849 * libpam/pam_end.c (pam_end): Drop substack evaluation states.
850 * libpam/pam_handlers.c (_pam_parse_conf_file): Add substack level
851 parameter, instead of must_fail use handler_type needed for virtual
853 (_pam_load_conf_file): Add substack level parameter.
854 (_pam_init_handlers): Substack level parameter added to
855 _pam_parse_conf_file() calls.
856 (_pam_load_module): New function.
857 (_pam_add_handler): Refactor code into the _pam_load_module(). Add
858 support for virtual substack modules.
859 * libpam/pam_private.h: Rename must_fail to handler_type, add stack_level
860 to struct handler. Define handler type constants. Add struct
861 for substack evaluation states. Define constant for maximum
862 substack level. Add substack states pointer to former state struct.
863 * libpam/pam_start.c (pam_start): Initialize pointer to substack states.
864 * doc/man/pam.conf-syntax.xml: Document substack control.
865 * xtests/Makefile.am: Add new tests for substack evaluation.
866 * xtests/run_xtests.sh: Support multiple .pamd files in a test.
867 * xtests/tst-pam_authfail.pamd: New tests for substack evaluation.
868 * xtests/tst-pam_authsucceed.pamd: Likewise.
869 * xtests/tst-pam_substack1.pamd: Likewise.
870 * xtests/tst-pam_substack1a.pamd: Likewise.
871 * xtests/tst-pam_substack1.sh: Likewise.
872 * xtests/tst-pam_substack2.pamd: Likewise.
873 * xtests/tst-pam_substack2a.pamd: Likewise.
874 * xtests/tst-pam_substack2.sh: Likewise.
875 * xtests/tst-pam_substack3.pamd: Likewise.
876 * xtests/tst-pam_substack3a.pamd: Likewise.
877 * xtests/tst-pam_substack3.sh: Likewise.
878 * xtests/tst-pam_substack4.pamd: Likewise.
879 * xtests/tst-pam_substack4a.pamd: Likewise.
880 * xtests/tst-pam_substack4.sh: Likewise.
881 * xtests/tst-pam_substack5.pamd: Likewise.
882 * xtests/tst-pam_substack5a.pamd: Likewise.
883 * xtests/tst-pam_substack5.sh: Likewise.
885 2007-10-18 Tomas Mraz <t8m@centrum.cz>
887 * xtests/tst-pam_dispatch4.c: Fix comment about the test.
888 * xtests/tst-pam_dispatch4.pamd: Improve the testcase.
889 * xtests/tst-pam_cracklib2.c: Make the testcase more robust.
891 2007-10-12 Thorsten Kukuk <kukuk@thkukuk.de>
893 * xtests/Makefile.am: Add tst-pam_dispatch5 sources
894 * xtests/tst-pam_dispatch5.c: New test for jump too far.
895 * xtests/tst-pam_dispatch5.pamd: New test configuration.
897 2007-10-09 Tomas Mraz <t8m@centrum.cz>
899 * modules/pam_tally/pam_tally.8.xml: Document audit option
902 2007-10-09 Thorsten Kukuk <kukuk@thkukuk.de>
904 * release version 0.99.9.0
906 * configure.in: Increase vesion number.
908 * libpam/Makefile.am: Increase release number.
909 * libpam_misc/Makefile.am: Increase release number.
911 * po/*.po: Regenerate.
913 2007-10-08 Thorsten Kukuk <kukuk@thkukuk.de>
915 * modules/pam_time/pam_time.c (is_same): Length of strings without
916 wildcard needs to be the same.
917 * modules/pam_group/pam_group.c (is_same): Likewise.
919 2007-10-01 Thorsten Kukuk <kukuk@thkukuk.de>
921 * xtests/tst-pam_group1.c: New test case for user compare in pam_group.
922 * xtests/tst-pam_group1.sh: Script to run test case.
923 * xtests/tst-pam_group1.pamd: Config for test case.
924 * xtests/Makefile.am: Add tst-pam_group1 test case.
925 * xtests/run-xtests.sh: Save/restore group.conf.
926 * xtests/group.conf: New.
928 * modules/pam_xauth/pam_xauth.c (pam_sm_open_session): Don't
929 free arguments used for putenv().
931 * doc/man/pam_putenv.3.xml: Document that application has to free
934 2007-09-27 Tomas Mraz <t8m@centrum.cz>
936 * modules/pam_succeed_if/pam_succeed_if.c (evaluate_inlist): Fix in
937 operator rhbz #295151.
938 * modules/pam_namespace/pam_namespace.c (poly_name): Do not try to
939 get context when SELinux is disabled.
941 2007-09-27 Thorsten Kukuk <kukuk@thkukuk.de>
943 * xtests/tst-pam_succeed_if1.c: New test case for
944 https://bugzilla.redhat.com/show_bug.cgi?id=295151
945 * xtests/tst-pam_succeed_if1.sh: Script to run test case.
946 * xtests/tst-pam_succeed_if1.pamd: Config for test case.
947 * xtests/Makefile.am: Add tst-pam_succeed_if1 test case.
949 * xtests/run-xtests.sh: Add support to skip tests.
950 * xtests/tst-pam_limits1.c: Skip test if RLIMIT_NICE is not
953 2007-09-03 Steve Langasek <vorlon@debian.org>
955 * modules/pam_limits/pam_limits.c: remove a number of unnecessary
956 string manipulations, including a strncpy() that was acting on
959 * libpam_misc/misc_conv.c: don't block SIGINT in misc_conv; it's
960 perfectly valid to allow the user to interrupt at a prompt. If
961 an application wants prompts to not be interruptable, the
962 application should take responsibility for blocking SIGINT.
964 2007-09-02 Thorsten Kukuk <kukuk@thkukuk.de>
966 * examples/Makefile.am: Fix usage of LIBADD, LDADD and LDFLAGS.
967 * libpam/Makefile.am: Likewise.
968 * modules/pam_access/Makefile.am: Likewise.
969 * modules/pam_cracklib/Makefile.am: Likewise.
970 * modules/pam_debug/Makefile.am: Likewise.
971 * modules/pam_deny/Makefile.am: Likewise.
972 * modules/pam_echo/Makefile.am: Likewise.
973 * modules/pam_env/Makefile.am: Likewise.
974 * modules/pam_exec/Makefile.am: Likewise.
975 * modules/pam_faildelay/Makefile.am: Likewise.
976 * modules/pam_filter/Makefile.am: Likewise.
977 * modules/pam_filter/upperLOWER/Makefile.am: Likewise.
978 * modules/pam_ftp/Makefile.am: Likewise.
979 * modules/pam_group/Makefile.am: Likewise.
980 * modules/pam_issue/Makefile.am: Likewise.
981 * modules/pam_keyinit/Makefile.am: Likewise.
982 * modules/pam_lastlog/Makefile.am: Likewise.
983 * modules/pam_limits/Makefile.am: Likewise.
984 * modules/pam_listfile/Makefile.am: Likewise.
985 * modules/pam_localuser/Makefile.am: Likewise.
986 * modules/pam_loginuid/Makefile.am: Likewise.
987 * modules/pam_mail/Makefile.am: Likewise.
988 * modules/pam_mkhomedir/Makefile.am: Likewise.
989 * modules/pam_motd/Makefile.am: Likewise.
990 * modules/pam_namespace/Makefile.am: Likewise.
991 * modules/pam_nologin/Makefile.am: Likewise.
992 * modules/pam_permit/Makefile.am: Likewise.
993 * modules/pam_rhosts/Makefile.am: Likewise.
994 * modules/pam_rootok/Makefile.am: Likewise.
995 * modules/pam_securetty/Makefile.am: Likewise.
996 * modules/pam_selinux/Makefile.am: Likewise.
997 * modules/pam_shells/Makefile.am: Likewise.
998 * modules/pam_stress/Makefile.am: Likewise.
999 * modules/pam_succeed_if/Makefile.am: Likewise.
1000 * modules/pam_tally/Makefile.am: Likewise.
1001 * modules/pam_time/Makefile.am: Likewise.
1002 * modules/pam_umask/Makefile.am: Likewise.
1003 * modules/pam_unix/Makefile.am: Likewise.
1004 * tests/Makefile.am: Likewise.
1006 2007-08-31 Steve Langasek <vorlon@debian.org>
1008 * modules/pam_group/group.conf: don't use "games" as an example
1009 group, on some distros this is a pre-existing group that it would
1010 be a security hole to give users access to.
1012 2007-08-30 Thorsten Kukuk <kukuk@thkukuk.de>
1014 * modules/pam_limits/limits.conf.5.xml: Document that maxlogins
1015 is ignored for users with UID 0.
1017 2007-08-30 Steve Langasek <vorlon@debian.org>
1019 * modules/pam_unix/support.c, modules/pam_unix/unix_chkpwd.c:
1020 A wrong username doesn't need to be logged at LOG_ALERT;
1021 LOG_WARNING should be sufficient.
1022 Patch from Sam Hartman <hartmans@debian.org>.
1024 * modules/pam_cracklib/pam_cracklib.c:
1025 s/CRACKLIB_DICT/CRACKLIB_DICTS/, for consistency with existing
1028 2007-08-29 Steve Langasek <vorlon@debian.org>
1030 * libpam/pam_modutil_getgrgid.c, libpam/pam_modutil_getgrnam.c,
1031 libpam/pam_modutil_getpwnam.c, libpam/pam_modutil_getpwuid.c,
1032 libpam/pam_modutil_getspnam.c: don't use pthread mutexes in libpam
1033 unnecessarily; this avoids linking problems on non-Linux
1036 * modules/pam_listfile/pam_listfile.c, modules/pam_listfile/README,
1037 modules/pam_listfile/pam_listfile.8,
1038 modules/pam_listfile/pam_listfile.8.xml: add a 'quiet' option to
1039 avoid logging errors any time a user is refused service by this
1042 2007-08-29 Thorsten Kukuk <kukuk@thkukuk.de>
1044 * modules/pam_rhosts/pam_rhosts_auth.c: buflen needs to be size_t.
1045 (__icheckhost): Cast to int32_t to fix limited range error.
1047 * modules/pam_cracklib/pam_cracklib.c: Mark cracklib_dictpath
1050 2007-08-29 Steve Langasek <vorlon@debian.org>
1052 * modules/pam_rhosts/pam_rhosts_auth.c: getline returns -1 at
1053 EOF, not 0. Check accordingly to fix an infinite loop. Thanks
1054 to Stephan Springl <springl-rhosts@bfw-online.de> for catching
1057 2007-08-28 Steve Langasek <vorlon@debian.org>
1059 * configure.in: call AC_CHECK_HEADERS instead of AC_CHECK_HEADER
1060 for crack.h, so we get a HAVE_CRACK_H define.
1061 * modules/pam_cracklib/pam_cracklib.c: don't copy around the
1062 cracklib dictpath into a fixed-width buffer, when we can just
1063 point at the existing strings; and allow users to override the
1064 default cracklib path with -DCRACKLIB_DICT, required for
1065 compatibility with cracklib 2.7.
1067 2007-08-27 Steve Langasek <vorlon@debian.org>
1069 * modules/pam_limits/pam_limits.c: when building on non-Linux
1070 systems, give a warning only, not an error; no one seems to
1071 remember why this error was here in the first place, but leave
1072 something in that might still grab the attention of non-Linux
1074 Patch from Michal Suchanek <hramrach_l@centrum.cz>.
1075 * configure.in, modules/pam_rhosts/pam_rhosts_auth.c: check for
1076 the presence of net/if.h before using, required for Hurd
1078 Patch from Igor Khavkine <i_khavki@alcor.concordia.ca>.
1079 * modules/pam_limits/pam_limits.c: conditionalize the use of
1080 RLIMIT_AS, which is not present on the Hurd.
1081 Patch from Igor Khavkine <i_khavki@alcor.concordia.ca>.
1082 * modules/pam_rhosts/pam_rhosts_auth.c: use getline() instead of
1083 a static buffer when available; fixes the build on systems
1084 without MAXHOSTNAMELEN (i.e., the Hurd).
1085 * modules/pam_xauth/pam_xauth.c: make sure PATH_MAX is defined
1088 2007-08-26 Andrew Morgan <morgan@kernel.org>
1090 * doc/man/pam.conf-syntax.xml
1091 Minor fixes: '\[' -> '\]'.
1093 2007-08-25 Steve Langasek <vorlon@debian.org>
1095 * doc/man/pam.conf-syntax.xml, doc/man/pam.conf.5:
1096 Document "new" control options conv_again and incomplete, supported
1097 in pam.d's extended syntax.
1098 Patch from Ben Collins <bcollins@debian.org>.
1100 2007-08-15 Tomas Mraz <t8m@centrum.cz>
1102 * modules/pam_access/pam_access.c (list_match): Add explicit
1103 sptr argument for strtok_r, otherwise the code is not portable.
1105 2007-08-13 Olivier Blin <blino@mandriva.com>
1107 * doc/man/pam.3.xml: Fix typo.
1108 * doc/man/pam.3: Likewise.
1109 * doc/man/pam_end.3.xml: Likewise.
1110 * doc/man/pam_end.3: Likewise.
1112 2007-07-18 Thorsten Kukuk <kukuk@thkukuk.de>
1114 * release version 0.99.8.1
1116 * libpam/pam_audit.c: Include unistd.h for getuid().
1117 * libpam/Makefile.am: Bump version number.
1119 2007-07-12 Thorsten Kukuk <kukuk@thkukuk.de>
1121 * libpam/pam_audit.c (_pam_audit_writelog): Don't return
1122 error if application runs as normal user. Fixes regression
1123 introduced with last change.
1125 2007-07-10 Thorsten Kukuk <kukuk@thkukuk.de>
1127 * configure.in: Add --with-db-uniquename option to support
1128 db libraries and functions with unique name extension.
1129 Patch from Diego 'Flameeyes' Pettenò <flameeyes@gmail.com>.
1131 * modules/pam_limits/pam_limits.c: Include locale.h.
1133 2007-07-06 Thorsten Kukuk <kukuk@thkukuk.de>
1135 * release version 0.99.8.0
1137 * configure.in: Check for audit_log_acct_message instead of
1138 audit_log_user_message.
1139 * libpam/pam_audit.c: Use audit_log_acct_message.
1140 Based on patch from Mark J Cox <mjc@redhat.com>.
1141 * libpam/Makefile.am: Bump version number of libpam.
1143 * modules/pam_umask/pam_umask.c (set_umask): mode_t is 32bit,
1146 * xtests/tst-pam_limits1.c: Fix printf arguments.
1148 * po/*.po: Merge po files with latest code changes.
1150 2007-06-26 Thorsten Kukuk <kukuk@thkukuk.de>
1152 * modules/pam_limits/pam_limits.c (process_limit): Check upper and
1153 lower limit of nice value, fix off-by-one in conversation to rlim_t.
1154 * xtests/Makefile.am: Add new pam_limits test case.
1155 * xtests/limits.conf: New, config file for test case.
1156 * xtests/pam_limits1.c: New, test case for RLIMIT_NICE.
1157 * xtests/pam_limits1.sh: Likewise.
1158 * xtests/pam_limits1.pamd: Likewise.
1160 2007-06-25 Thorsten Kukuk <kukuk@thkukuk.de>
1162 * modules/pam_access/pam_access.c (list_match): Use saveptr of strtok_r
1163 result for recursive calls.
1164 * xtests/Makefile.am: Add new pam_access test cases.
1165 * xtests/pam_access1.c: New test case.
1166 * xtests/pam_access2.c: Likewise.
1167 * xtests/pam_access3.c: Likewise.
1168 * xtests/pam_access4.c: Likewise.
1169 * xtests/pam_access1.sh: Wrapper to create user accounts.
1170 * xtests/pam_access2.sh: Likewise.
1171 * xtests/pam_access3.sh: Likewise.
1172 * xtests/pam_access4.sh: Likewise.
1173 * xtests/pam_access1.pamd: PAM config file for pam_access tests.
1174 * xtests/pam_access2.pamd: Likewise.
1175 * xtests/pam_access3.pamd: Likewise.
1176 * xtests/pam_access4.pamd: Likewise.
1177 * xtests/access.conf: Config file for pam_access tests.
1178 * xtests/run-tests.sh: Install access.conf into system.
1180 2007-06-22 Thorsten Kukuk <kukuk@thkukuk.de>
1182 * modules/pam_loginuid/pam_loginuid.c (set_loginuid): Print
1183 better error message if /proc/self/loginuid cannot be opened.
1185 * modules/pam_limits/pam_limits.c (process_limit): Check for
1186 variable overflow after multiplication [bnc#283001].
1188 * modules/pam_access/pam_access.c: Add new syntax for groups
1189 in access.conf to differentiate group names from account names.
1190 Based on patch from Julien Lecomte <julien@famille-lecomte.net>,
1191 solves feature request [#411390].
1192 * modules/pam_access/access.conf: Add example for new group
1194 * modules/pam_access/access.conf.5.xml: Document new syntax.
1196 2007-06-20 Thorsten Kukuk <kukuk@thkukuk.de>
1198 * modules/pam_cracklib/pam_cracklib.8.xml: Document new minclass
1200 * modules/pam_cracklib/pam_cracklib.c: Add support for minimum
1201 character classes [#1688777]. Based on patch from Keith Schincke.
1203 * xtests/tst-pam_cracklib2.c: New, test case for minclass option.
1204 * xtests/tst-pam_cracklib2.pamd: New, PAM config file for test case.
1205 * xtests/Makefile.am: Add new testcase.
1207 * xtests/pam_cracklib.c: Fix comment what this application tests.
1209 * configure.in: Use /lib64 on x86-64, ppc64, s390x, sparc64
1211 2007-06-15 Tomas Mraz <t8m@centrum.cz>
1213 * modules/pam_selinux/pam_selinux.8.xml: Remove multiple option,
1214 add select_context and use_current_range options.
1215 * modules/pam_selinux/pam_selinux.c (send_audit_message): Added
1216 function for auditing role/level changes.
1217 (query_response): Add default response.
1218 (select_context): Removed.
1219 (manual_context): Query only role and level.
1220 (mls_range_allowed): Added function for range check.
1221 (config_context): Added function for role and level override.
1222 (pam_sm_open_session): Remove multiple option, add select_context
1223 and use_current_range_options. Use getseuserbyname to obtain
1224 SELinux user and level. Audit role/level changes. Call setkeycreatecon
1225 to assign key creation context. Don't fail on errors when SELinux
1226 is not in enforcing mode.
1227 * configure.in: Check for setkeycreatecon().
1229 * modules/pam_namespace/README.xml: Avoid duplication of
1231 * modules/pam_namespace/namespace.conf: More real life example
1233 * modules/pam_namespace/namespace.conf.5.xml: Likewise plus
1234 properly describe how instance directory names are formed.
1235 * modules/pam_namespace/namespace.init: Preserve euid when
1236 called from setuid apps (su, newrole).
1237 * modules/pam_namespace/pam_namespace.8.xml: Added option
1238 no_unmount_on_close.
1239 * modules/pam_namespace/pam_namespace.c (process_line): Polyinst
1240 methods are now user, level and context. Fix crash on unknown
1241 override user in config file.
1242 (ns_override): Add explicit uid parameter.
1243 (form_context): Skip for user method. Implement level based
1245 (poly_name): Initialize contexts. Add level based polyinst,
1246 remove 'both' metod. Use raw contexts for instance names,
1247 truncate long instance names and add hash.
1248 (ns_setup): Hashing moved to poly_name().
1249 (setup_namespace): Handle correctly override users for
1250 su (when unmnt_remnt is used).
1251 (pam_sm_close_session): Added no_unmount_on_close option.
1252 * modules/pam_namespace/pam_namespace.h: Added
1253 no_unmount_on_close_option, level method, limit on instance
1254 directory name length.
1256 2007-05-04 Thorsten Kukuk <kukuk@suse.de>
1258 * xtests/run-xtests.sh: Use SRCDIR to find PAM config files.
1259 * xtests/Makefile.am: Call run-xtests.sh with srcdir as first
1261 Based on patch by Bernard Leak <thisisnotapipe@hotmail.com>.
1263 2007-04-30 Thorsten Kukuk <kukuk@thkukuk.de>
1265 * modules/pam_limits/limits.conf: Address space limit is KB.
1266 * modules/pam_limits/limits.conf.5.xml: Likewise.
1267 Reported by Thomas Vander Stichele <thomas@apestaart.org>.
1269 * modules/pam_mail/pam_mail.c (_do_mail): Remove duplicate
1270 check for PAM_SILENT and don't bail out if it is set [#1706247].
1272 2007-03-29 Tomas Mraz <t8m@centrum.cz>
1274 * modules/pam_access/pam_access.c (login_access, list_match):
1275 Replace strtok with strtok_r.
1276 * modules/pam_cracklib/pam_cracklib.c (check_old_password):
1278 * modules/pam_ftp/pam_ftp.c (lookup, pam_authenticate):
1280 * modules/pam_unix/pam_unix_passwd.c (check_old_password,
1281 save_old_password): Likewise.
1283 * modules/pam_limits/Makefile.am: Define limits.d dir and install it.
1284 * modules/pam_limits/pam_limits.8.xml: Describe limits.d parsing.
1285 * modules/pam_limits/pam_limits.c (pam_limit_s): Make conf_file ptr.
1286 (pam_parse): conf_file is now ptr.
1287 (pam_sm_open_session): Add parsing files from limits.d subdir using
1288 glob, change pl to pointer.
1290 2007-03-12 Thorsten Kukuk <kukuk@thkukuk.de>
1292 * po/ar.po: New translation.
1293 * po/ca.po: Likewise.
1294 * po/da.po: Likewise.
1295 * po/ru.po: Likewise.
1296 * po/sv.po: Likewise.
1297 * po/zu.po: Likewise.
1298 * po/LINGUAS: Add ar, ca, da, ru, sv, zu
1300 * po/hu.po: Update translation.
1302 2007-02-21 Tomas Mraz <t8m@centrum.cz>
1304 * modules/pam_unix/unix_chkpwd.c (_unix_verify_password): Test for
1305 allocation failure in bigcrypt().
1307 * modules/pam_unix/pam_unix_passwd.c (pam_sm_chauthtok): Allow
1308 modification of '*' password by root.
1310 2007-02-06 Tomas Mraz <t8m@centrum.cz>
1312 * modules/pam_loginuid/pam_loginuid.c (set_loginuid): Remove
1313 debug syslog message when loginuid doesn't exist.
1315 2007-02-01 Tomas Mraz <t8m@centrum.cz>
1317 * xtests/tst-pam_unix3.c: Fix typos in comments.
1319 * modules/pam_unix/support.c (_unix_verify_password): Explicitly
1320 disallow '!' in the beginning of password hash. Treat only
1321 13 bytes password hash specifically. (Suggested by Solar Designer.)
1322 Fix a warning and test for allocation failure.
1323 * modules/pam_unix/unix_chkpwd.c (_unix_verify_password): Likewise.
1325 2007-01-31 Thorsten Kukuk <kukuk@thkukuk.de>
1327 * xtests/Makefile.am: Add new pam_unix.so tests
1328 * xtests/run-xtests.sh: Prefer shell scripts (wrapper)
1330 * xtests/tst-pam_cracklib1.c: Fix typo.
1331 * xtests/tst-pam_unix1.c: New, for sucurity fix.
1332 * xtests/tst-pam_unix1.pamd: New.
1333 * xtests/tst-pam_unix1.sh: New.
1334 * xtests/tst-pam_unix2.c: New, for crypt checks.
1335 * xtests/tst-pam_unix2.pamd: New.
1336 * xtests/tst-pam_unix2.sh: New.
1337 * xtests/tst-pam_unix3.c: New, for bigcrypt checks.
1338 * xtests/tst-pam_unix3.pamd: New.
1339 * xtests/tst-pam_unix3.sh: New.
1341 2007-01-23 Thorsten Kukuk <kukuk@suse.de>
1345 * configure.in: Set version number to 0.99.7.1
1347 2007-01-23 Thorsten Kukuk <kukuk@thukuk.de>
1348 Tomas Mraz <t8m@centrum.cz>
1350 * modules/pam_unix/support.c (_unix_verify_password): Always
1351 compare full encrypted passwords (CVE-2007-0003).
1353 2007-01-23 Tomas Mraz <t8m@centrum.cz>
1355 * modules/pam_loginuid/Makefile.am (AM_LDFLAGS): Add LIBAUDIT.
1357 * modules/pam_selinux/Makefile.am (pam_selinux_check_LDFLAGS): Add
1359 (pam_selinux_la_LDFLAGS): Likewise.
1361 2007-01-17 Thorsten Kukuk <kukuk@thkukuk.de>
1365 * configure.in: Set version number to 0.99.7.0
1367 * Makefile.am (M4_FILES): Replace GNU make extension by listing
1370 2007-01-17 Tomas Mraz <t8m@centrum.cz>
1372 * po/*.po: Updated strings to translate.
1373 * po/Linux-PAM.pot: Likewise.
1375 2007-01-16 Thorsten Kukuk <kukuk@thkukuk.de>
1377 * doc/man/pam.conf-syntax.xml: Improve documentation about
1378 sufficient keyword (Patch by Petteri Räty <betelgeuse@gentoo.org>)
1380 2006-12-20 Thorsten Kukuk <kukuk@thkukuk.de>
1382 * modules/pam_unix/pam_unix_passwd.c (pam_sm_chauthtok): Forbid
1383 only '+' and '-' as first characters for account names.
1384 * modules/pam_unix/pam_unix_auth.c (pam_sm_authenticate): Likewise.
1386 2006-12-18 Thorsten Kukuk <kukuk@thkukuk.de>
1388 * configure.in: Fix ENOKEY check (specify errno.h as header
1391 * configure.in: Add AM_PROG_CC_C_O.
1392 * libpam/Makefile.am: Add content of AM_LDFLAGS to *_LDFLAGS.
1393 * modules/pam_tally/Makefile.am: Likewise.
1394 * modules/pam_unix/Makefile.am: Likewise.
1396 * modules/pam_stress/pam_stress.c (pam_sm_chauthtok): Fix
1397 localisation of message printed to user.
1398 * po/de.po: Adjust translation.
1400 2006-12-18 Tomas Mraz <t8m@centrum.cz>
1402 * modules/pam_unix/pam_unix_passwd.c (pam_sm_chauthtok): Localize
1403 message printed to user.
1405 * modules/pam_unix/support.c (_unix_verify_password): Use strncmp
1406 only for bigcrypt result.
1408 * modules/pam_keyinit/pam_keyinit.c (kill_keyrings): Switch to new
1409 egid first, euid next. Revert euid/egid to old euid/egid and not
1411 (pam_sm_open_session): Switch to new rgid first, ruid next.
1413 2006-12-13 Thorsten Kukuk <kukuk@thkukuk.de>
1415 * modules/pam_localuser/pam_localuser.c: Add support for session
1416 and chauthtok [SF#1606180].
1417 * modules/pam_localuser/pam_localuser.8.xml: Document last change.
1419 * libpam/pam_audit.c (_pam_audit_writelog): Print error message
1422 2006-12-12 Thorsten Kukuk <kukuk@thkukuk.de>
1424 * libpam/pam_audit.c (_pam_audit_writelog): Print error
1425 message on failure to syslog.
1427 2006-12-09 Thorsten Kukuk <kukuk@thkukuk.de>
1429 * modules/pam_umask/pam_umask.c: Use strtoul instead of strtol,
1430 fix overflow detection.
1432 2006-12-06 Thorsten Kukuk <kukuk@thkukuk.de>
1434 * modules/pam_mkhomedir/pam_mkhomedir.c (rec_mkdir): Fix
1435 handling of left-most path component [SF#1591598].
1436 (create_homedir): Mark user visible messages for translation.
1437 * po/de.po: Adjust german translation for pam_mkhomedir.
1439 * modules/pam_faildelay/pam_faildelay.c: If no argument is
1440 given, try to read FAIL_DELAY from /etc/login.defs.
1441 * modules/pam_faildelay/pam_faildelay.8.xml: Document usage
1444 2006-12-04 Tomas Mraz <t8m@centrun.cz>
1446 * po/jp.po: Fixed mistake in Password: message (from
1447 Peng Huang <phuang@redhat.com>).
1449 2006-11-28 Thorsten Kukuk <kukuk@thkukuk.de>
1451 * po/hu.po: Update hungarian translation (from
1452 Kalman Kemenczy <kkemenczy@novell.com>).
1454 * configure.in: Allow disabling support for cracklib, audit, libdb.
1456 * modules/pam_faildelay/pam_faildelay.8.xml: Correct name of Author.
1458 * configure.in: Remove --enable-docdir (obsolete by --docdir).
1459 * doc/Makefile.am: Don't overwrite htmldir.
1460 * doc/adg/Makefile.am: Use docdir, htmldir and pdfdir.
1461 * doc/mwg/Makefile.am: Likewise.
1462 * doc/sag/Makefile.am: Likewise.
1463 * doc/specs/Makefile.am: Use docdir.
1465 * tests/tst-pam_set_data.c: New test cases for pam_set_data().
1466 * tests/Makefile.am: Add pam_set_data test case.
1468 * libpam/pam_data.c: Add NULL pointer check for module_data_name.
1469 * libpam/Makefile.am: Bump revision of shared library.
1471 2006-11-08 Thorsten Kukuk <kukuk@thkukuk.de>
1473 * configure.in: Add modules/pam_faildelay/Makefile.
1474 * doc/sag/Linux-PAM_SAG.xml: Include pam_faildelay.xml.
1475 * doc/sag/pam_faildelay.xml: New.
1476 * libpam/pam_static_modules.h: Include static pam_faildelay data.
1477 * modules/Makefile.am: Add pam_faildelay directory.
1478 * modules/pam_faildelay/Makefile.am: New.
1479 * modules/pam_faildelay/README: New, generated from XML file.
1480 * modules/pam_faildelay/README.xml: New.
1481 * modules/pam_faildelay/pam_faildelay.8: New, generated from xml.
1482 * modules/pam_faildelay/pam_faildelay.8.xml: New.
1483 * modules/pam_faildelay/pam_faildelay.c: New.
1484 * modules/pam_faildelay/tst-pam_faildelay: New.
1486 * po/POTFILES.in: Add pam_faildelay.c and pam_loginuid.c.
1488 2006-11-07 Thorsten Kukuk <kukuk@thkukuk.de>
1490 * modules/pam_cracklib/pam_cracklib.c: PAM_DEBUG_ARG
1491 is a bit mask and not a boolean value (Reported by
1492 Jochen Voss <voss@seehuhn.de>).
1494 2006-10-26 Thorsten Kukuk <kukuk@thkukuk.de>
1496 * doc/man/pam.3.xml: Add pam_get_user function.
1498 * modules/pam_motd/pam_motd.8.xml: Fix typo.
1500 2006-10-24 Thorsten Kukuk <kukuk@thkukuk.de>
1502 * modules/pam_namespace/pam_namespace.c: Reserve space for
1505 2006-10-24 Thorsten Kukuk <kukuk@thkukuk.de>
1507 * modules/pam_unix/support.c (_unix_verify_password): Try system
1508 crypt() if we don't know the hash alogorithm.
1509 * modules/pam_unix/unix_chkpwd.c (_unix_verify_password): Likewise.
1511 2006-10-13 Tomas Mraz <t8m@centrum.cz>
1513 * doc/mwg/Linux-PAM_MWG.xml: Add id[s] to section[s].
1514 * doc/sag/pam_access.xml: Likewise.
1515 * doc/sag/pam_echo.xml: Likewise.
1516 * doc/sag/pam_env.xml: Likewise.
1517 * doc/sag/pam_exec.xml: Likewise.
1518 * doc/sag/pam_group.xml: Likewise.
1519 * doc/sag/pam_limits.xml: Likewise.
1520 * doc/sag/pam_namespace.xml: Likewise.
1521 * doc/sag/pam_time.xml: Likewise.
1522 * doc/sag/Linux-PAM_SAG.xml: Add id to book.
1523 * doc/adg/Linux-PAM_ADG.xml: Add id to book.
1524 * doc/mwg/Linux-PAM_MWG.xml: Add id to book.
1527 2006-10-07 Thorsten Kukuk <kukuk@thkukuk.de>
1529 * po/hu.po: Updated hungarian translation (from
1530 Kalman Kemenczy <kkemenczy@novell.com>)
1532 2006-09-20 Thorsten Kukuk <kukuk@thkukuk.de>
1534 * doc/adg/Makefile.am: Add manual pages as dependency.
1535 * doc/mwg/Makefile.am: Likewise.
1536 * doc/sag/Makefile.am: Likewise.
1537 * doc/sag/Linux-PAM_SAG.xml: Include pam_unix.xml.
1538 * doc/sag/pam_unix.xml: New.
1539 * modules/pam_unix/Makefile.am: Generate pam_unix.8 manual page.
1540 * modules/pam_unix/README.xml: New.
1541 * modules/pam_unix/pam_unix.8.xml: New.
1542 * modules/pam_unix/README: Regenerate from XML.
1543 * modules/pam_unix/pam_unix.8: Generated from XML.
1545 2006-09-09 Dmitry V. Levin <ldv@altlinux.org>
1547 * modules/pam_wheel/pam_wheel.8.xml: Fix typo.
1548 * modules/pam_wheel/pam_wheel.8: Likewise.
1549 * modules/pam_wheel/README: Likewise.
1551 2006-09-08 Thorsten Kukuk <kukuk@thkukuk.de>
1553 * po/de.po: Fix typo.
1555 2006-09-06 Thorsten Kukuk <kukuk@thkukuk.de>
1557 * release version 0.99.6.3
1559 2006-09-01 Thorsten Kukuk <kukuk@thkukuk.de>
1561 * modules/pam_loginuid/pam_loginuid.8.xml: Fix typo in
1564 2006-08-31 Thorsten Kukuk <kukuk@thkukuk.de>
1566 * modules/pam_env/environment: New, dummy environment example
1569 * modules/pam_namespace/Makefile.am: Don't install
1570 manual page if we don't build module.
1572 * m4/ld-as-needed.m4: Don't set LDFLAGS if check failed.
1573 * m4/ld-O1: Likewise.
1575 2006-08-30 Tomas Mraz <t8m@centrum.cz>
1577 * modules/pam_access/pam_access.8.xml: All services supported.
1578 * modules/pam_access/pam_access.c (pam_sm_open_session): New.
1579 (pam_sm_close_session): New.
1580 (pam_sm_chauthtok): New.
1582 * modules/pam_access/pam_succeed_if.8.xml: All services supported.
1583 * modules/pam_access/pam_succeed_if.c (pam_sm_setcred): Return
1584 PAM_IGNORE rather than success.
1585 (pam_sm_open_session): New.
1586 (pam_sm_close_session): New.
1587 (pam_sm_chauthtok): New.
1589 2006-08-30 Thorsten Kukuk <kukuk@thkukuk.de>
1591 * xtests/Makefile.am: Move shell code to execute tests from here ...
1592 * xtests/run-xtests.sh: ... to here.
1593 * xtests/*.c: Include config.h.
1594 * tests/*.c: Likewise.
1596 * modules/pam_namespace/pam_namespace.c: Use pam_modutil_getpwnam()
1597 instead of getpwnam().
1599 2006-08-29 Thorsten Kukuk <kukuk@thkukuk.de>
1601 * doc/sag/pam_loginuid.xml: New.
1602 * doc/sag/Linux-PAM_SAG.xml: Include pam_loginuid.xml.
1604 * configure.in: Add modules/pam_loginuid/Makefile.
1605 * modules/Makefile.am: Add pam_loginuid sub directory.
1607 * libpam/pam_static_modules.h: Add pam_loginuid.
1609 * modules/pam_loginuid/Makefile.am: New.
1610 * modules/pam_loginuid/tst-pam_loginuid: New.
1611 * modules/pam_loginuid/pam_loginuid.8.xml: New.
1612 * modules/pam_loginuid/pam_loginuid.8: New, generated from XML source.
1613 * modules/pam_loginuid/pam_loginuid.c: New.
1614 * modules/pam_loginuid/README.xml: New.
1615 * modules/pam_loginuid/README: New, generated from XML source.
1617 2006-08-29 Dmitry V. Levin <ldv@altlinux.org>
1619 * modules/pam_exec/pam_exec.c (call_exec): Add required third
1620 argument to open() call with O_CREAT flag set.
1622 2006-08-28 Thorsten Kukuk <kukuk@thkukuk.de>
1624 * modules/pam_cracklib/pam_cracklib.c (pam_sm_chauthtok): Remove
1627 2006-08-24 Thorsten Kukuk <kukuk@thkukuk.de>
1629 * release version 0.99.6.2
1631 * modules/pam_lastlog/pam_lastlog.c (last_login_date): Create
1632 lastlog file if it does not exist.
1634 * modules/pam_cracklib/pam_cracklib.c (pam_sm_chauthtok): Check
1635 for error from getting second token.
1636 * xtests/Makefile.am: Add tst-pam_cracklib1
1637 * xtests/tst-pam_cracklib1.c: New, check for pam_cracklib seg.fault.
1638 * xtests/tst-pam_cracklib1.pamd: New, config for cracklib test.
1640 2006-08-24 Thorsten Kukuk <kukuk@thkukuk.de>
1642 * xtests/tst-pam_dispatch4.c: New test.
1643 * xtests/tst-pam_dispatch4.pamd: PAM config for new test.
1645 2006-08-09 Thorsten Kukuk <kukuk@thkukuk.de>
1647 * release version 0.99.6.1
1649 2006-08-09 David Howells <dhowells@redhat.com>
1651 * modules/pam_keyinit/pam_keyinit.c (kill_keyrings): Set real uid
1652 to user's before revoking.
1653 (pam_sm_open_session): Remember the uid.
1655 2006-08-06 Thorsten Kukuk <kukuk@thkukuk.de>
1657 * modules/pam_umask/pam_umask.c (setup_limits_from_gecos):
1659 * modules/pam_umask/pam_umask.8.xml: Document silent option.
1661 * xtests/Makefile.am: Fix includes for bootstrapping.
1662 Reported by Greg Schafer <gschafer@zip.com.au>.
1664 2006-08-05 Thorsten Kukuk <kukuk@thkukuk.de>
1666 * release version 0.99.6.0
1668 * modules/pam_limits/pam_limits.c (pam_sm_open_session): Use
1669 pam_modutil_getpwnam instead of getpwnam.
1671 * modules/pam_succeed_if/pam_succeed_if.c (evaluate): Cast
1672 svc variable to char pointer for snprintf.
1674 * configure.in: Generate xtests/Makefile.
1675 * Makefile.am (SUBDIRS): Add xtests.
1676 * README: Document make check and make xtests.
1677 * xtests/Makefile.am: New.
1678 * xtests/tst-pam_dispatch1.pamd: New.
1679 * xtests/tst-pam_dispatch2.pamd: New.
1680 * xtests/tst-pam_dispatch3.pamd: New.
1681 * xtests/tst-pam_dispatch1.c: New.
1682 * xtests/tst-pam_dispatch2.c: New.
1683 * xtests/tst-pam_dispatch3.c: New.
1685 2006-08-04 Ray Strode <rstrode@redhat.com>
1687 * modules/pam_succeed_if/pam_succeed_if.c (pam_sm_authenticate):
1688 Return PAM_USER_UNKNOWN instead of PAM_SERVICE_ERR where appropriate.
1690 2006-08-03 David Howells <dhowells@redhat.com>
1692 * modules/pam_keyinit/pam_keyinit.c: Debug should be off by default.
1693 (init_keyrings): Properly handle multiple invocations of the module.
1694 (kill_keyrings, pam_sm_open_session, pam_sm_close_session): Likewise.
1696 2006-08-03 Tomas Mraz <t8m@centrum.cz>
1698 * modules/pam_succeed_if/pam_succeed_if.c (evaluate_inlist):
1699 New function for list matching.
1700 (evaluate_notinlist): Likewise.
1701 (evaluate): Add service value match, list matching.
1702 * modules/pam_succeed_if/pam_succeed_if.8.xml: Document the
1705 * modules/pam_selinux/pam_selinux.c (security_label_tty): Don't log
1706 relabelling error when the tty device doesn't exist (ENOENT).
1708 2006-08-01 Thorsten Kukuk <kukuk@thkukuk.de>
1710 * doc/man/pam_fail_delay.3.xml: Fix some Bugs and enhance
1711 rationale about when this function should be used and when not.
1713 * doc/index.html: Cleanup to look prettier.
1715 2006-08-01 Thorsten Kukuk <kukuk@thkukuk.de>
1717 * libpam/Makefile.am: Bump patchlevel of libpam.
1718 * libpam/pam_dispatch.c (_pam_dispatch_aux): If [return=die]
1719 or [return=bad] is used, don't return PAM_IGNORE. Based on
1720 patch by Tomas Mraz <t8m@centrum.cz>, [BRC#196859].
1722 2006-07-28 Thorsten Kukuk <kukuk@thkukuk.de>
1724 * ABOUT-NLS: Upgrade to gettext-0.15.
1725 * config.rpath: Likewise.
1726 * m4/gettext.m4: Upgrade to gettext-0.15.
1727 * m4/inttypes-h.m4: New file, from gettext-0.15.
1728 * m4/inttypes-pri.m4: Upgrade to gettext-0.15.
1729 * m4/lib-link.m4: Upgrade to gettext-0.15.
1730 * m4/lib-prefix.m4: Upgrade to gettext-0.15.
1731 * m4/lock.m4: New file, from gettext-0.15.
1732 * m4/longdouble.m4: Upgrade to gettext-0.15.
1733 * m4/nls.m4: Upgrade to gettext-0.15.
1734 * m4/po.m4: Upgrade to gettext-0.15.
1735 * m4/size_max.m4: Upgrade to gettext-0.15.
1736 * m4/visibility.m4: New file, from gettext-0.15.
1737 * po/Makefile.in.in: Upgrade to gettext-0.15.
1739 2006-07-24 David Quigley <dpquigl@tycho.nsa.gov>
1741 * modules/pam_namespace/Makefile.am: Add pam_namespace.h.
1742 * modules/pam_namespace/pam_namespace.c: Move includes and
1743 data structure definitions from here ...
1744 * modules/pam_namespace/pam_namespace.h: ... here. New file.
1746 * modules/pam_namespace/pam_namespace.c: Move large sections
1747 of code into new functions.
1749 2006-07-24 Thorsten Kukuk <kukuk@thkukuk.de>
1751 * doc/adg/Makefile.am: Add uninstall and distclean rules.
1752 * doc/mwg/Makefile.am: Likewise.
1753 * doc/sag/Makefile.am: Likewise.
1755 2006-07-08 Daniel Richard G. <skunk@iskunk.org>
1757 * conf/pam_conv1/Makefile.am: Fix rules for lex and yacc files.
1758 * conf/pam_conv1/pam_conv.lex: Rename to ...
1759 * conf/pam_conv1/pam_conv_l.l: ... this.
1760 * conf/pam_conv1/pam_conv.y: Rename to ...
1761 * conf/pam_conv1/pam_conv_y.y: ... this.
1762 * configure.in: Add AC_HELP_STRING()s to various AC_ARG_ENABLE()
1764 * doc/Makefile.am: Fix rule to install index.html.
1765 * doc/adg/Makefile.am: Fix test usage.
1766 * doc/mwg/Makefile.am: Likewise.
1767 * doc/sag/Makefile.am: Likewise.
1768 * doc/specs/Makefile.am: Fix rules for lex and yacc files.
1769 * specs/parse.lex: Rename to ...
1770 * doc/specs/parse_l.l: ... this.
1771 * doc/specs/parse.y: Rename to ...
1772 * doc/specs/parse_y.y: ... this.
1773 * libpam/pam_account.c: Fix #if vs. #ifdef.
1774 * libpam/pam_audit.c: Likewise.
1775 * libpam/pam_auth.c: Likewise.
1776 * libpam/pam_password.c: Likewise.
1777 * libpam/pam_private.h: Likewise.
1778 * libpam/pam_session.c: Likewise.
1779 * libpam/pam_start.c: Likewise.
1780 * libpam/pam_static.c: Fix "empty sourcefile" warning.
1781 * modules/pam_limits/pam_limits.c: Check for __linux, too.
1782 * modules/pam_userdb/Makefile.am: Don't run test if no
1784 * tests/tst-dlopen.c: Include config.h.
1786 2006-07-03 Dan Yefimov <dan@D00M.lightwave.net.ru>
1788 * configure.in: Fixed have_key_syscalls test.
1790 * modules/pam_access/pam_access.c (from_match): Fixed IPv4 network
1791 match, removed AI_ADDRCONFIG flag.
1793 2006-06-30 Tomas Mraz <t8m@centrum.cz>
1795 * modules/pam_namespace/Makefile.am(EXTRA_DIST): Add namespace.init.
1797 2006-06-29 Thorsten Kukuk <kukuk@thkukuk.de>
1799 * doc/Makefile.am (releasedocs): Fix directory layout.
1800 * doc/adg/Makefile.am: Likewise.
1801 * doc/mwg/Makefile.am: Likewise.
1802 * doc/sag/Makefile.am: Likewise.
1804 2006-06-28 Thorsten Kukuk <kukuk@thkukuk.de>
1806 * doc/sag: System Administrator Guide as XML source.
1807 * doc/sag/Makefile.am: New.
1808 * doc/sag/Linux-PAM_SAG.xml: New, main XML document.
1809 * doc/sag/pam_*.xml: New, wrapper to include module documentation.
1811 * doc/adg: Application Developers Guide as XML source.
1812 * doc/adg/Makefile.am: New.
1813 * doc/adg/Linux-PAM_ADG.xml: New, main XML document.
1814 * doc/adg/pam_*.xml: New, wrappers to include manual pages.
1816 * doc/mwg: Application Developers Guide as XML source.
1817 * doc/mwg/Makefile.am: New.
1818 * doc/mwg/Linux-PAM_MWG.xml: New, main XML document.
1819 * doc/mwg/pam_*.xml: New, wrappers to include manual pages.
1821 * doc/CREDITS: Removed.
1822 * doc/NOTES: Removed.
1823 * doc/pam_appl.sgml: Removed.
1824 * doc/pam_modules.sgml: Removed.
1825 * doc/pam_source.sgml: Removed.
1826 * doc/figs/pam_orient.txt: Removed.
1827 * doc/figs: Removed.
1829 * configure.in: Remove checks for sgml2* progrs, add sag, adg
1832 * doc/Makefile.am: Remove references to sgml, add sag, adg and mwg
1834 * doc/modules: Remove directory.
1835 * doc/html: Remove directory.
1836 * doc/ps: Remove directory.
1837 * doc/pdf: Remove directory.
1838 * doc/txts: Remove directory.
1839 * doc/index.html: Moved from html directory to here.
1841 2006-06-28 Thorsten Kukuk <kukuk@thkukuk.de>
1843 * release version 0.99.5.0
1845 * bump version number to 0.99.5.0
1847 * modules/pam_rhosts/pam_rhosts.c: New module, replaces
1849 * modules/pam_rhosts/pam_rhosts.8.xml: New.
1850 * modules/pam_rhosts/pam_rhosts.8: New, generated from XML source.
1851 * modules/pam_rhosts/tst-pam_rhosts: New.
1852 * modules/pam_rhosts/Makefile.am: Add pam_rhosts, generate
1853 manual page and README.
1854 * modules/pam_rhosts/README.xml: New.
1855 * modules/pam_rhosts/reADME: Regenerated from XML source.
1857 * doc/man/pam_sm_acct_mgmt.3.xml: Adjust syntax for module
1859 * doc/man/pam_sm_authenticate.3.xml: Likewise.
1860 * doc/man/pam_sm_chauthtok.3.xml: Likewise.
1861 * doc/man/pam_sm_close_session.3.xml: Likewise.
1862 * doc/man/pam_sm_open_session.3.xml: Likewise.
1863 * doc/man/pam_sm_setcred.3.xml: Likewise.
1865 * po/POTFILES.in: Add new source files.
1867 * libpam/pam_static_modules.h: Add new modules.
1869 * modules/pam_keyinit.c: Add _pam_keyinit_modstruct.
1871 * modules/pam_keyinit/Makefile.am (EXTRA_DIST): Add XML
1872 files and manual page.
1874 2006-06-27 Thorsten Kukuk <kukuk@thkukuk.de>
1876 * configure.in: Allow disabling of SELinux support, check for
1879 2006-06-27 Tomas Mraz <t8m@centrum.cz>
1881 * modules/pam_namespace/pam_namespace.c: New module
1882 originally written by Janak Desai.
1883 * modules/pam_namespace/Makefile.am: New.
1884 * modules/pam_namespace/README: New.
1885 * modules/pam_namespace/md5.c: New.
1886 * modules/pam_namespace/md5.h: New.
1887 * modules/pam_namespace/namespace.conf: New.
1888 * modules/pam_namespace/namespace.conf.5: New.
1889 * modules/pam_namespace/namespace.conf.5.xml: New.
1890 * modules/pam_namespace/namespace.init: New.
1891 * modules/pam_namespace/pam_namespace.8: New.
1892 * modules/pam_namespace/pam_namespace.8.xml: New.
1893 * modules/pam_namespace/tst-pam_namespace: New.
1894 * modules/Makefile.am: Added pam_namespace.
1895 * configure.in: Added pam_namespace, test for unshare
1898 2006-06-27 David Howells <dhowells@redhat.com>
1900 * modules/pam_keyinit/pam_keyinit.c: New module.
1901 * modules/pam_keyinit/pam_keyinit.8: New.
1902 * modules/pam_keyinit/pam_keyinit.8.xml: New.
1903 * modules/pam_keyinit/README: New.
1904 * modules/pam_keyinit/README.xml: New.
1905 * modules/pam_keyinit/Makefile.am: New.
1906 * modules/pam_keyinit/tst-pam_keyinit: New.
1907 * modules/Makefile.am: Added pam_keyinit.
1908 * configure.in: Added test for the key mgmt syscall.
1910 2006-06-27 Thorsten Kukuk <kukuk@thkukuk.de>
1912 * m4/libprelude.m4: Sync with upstream.
1914 2006-06-27 Tomas Mraz <t8m@centrum.cz>
1916 * modules/pam_unix/pam_unix_acct.c (_unix_run_verify_binary):
1917 signal() fails with SIG_ERR return
1918 * modules/pam_unix/pam_unix_passwd.c(_unix_run_shadow_binary):
1920 * modules/pam_unix/support.c(_unix_run_helper_binary):
1923 2006-06-25 Thorsten Kukuk <kukuk@thkukuk.de>
1925 * doc/man/misc_conv.3.xml: New.
1926 * doc/man/misc_conv.3: New.
1927 * doc/man/pam_misc_paste_env.3.xml: New.
1928 * doc/man/pam_misc_paste_env.3: New.
1929 * doc/man/pam_misc_drop_env.3.xml: New.
1930 * doc/man/pam_misc_drop_env.3: New.
1931 * doc/man/pam_misc_setenv.3.xml: New.
1932 * doc/man/pam_misc_setenv.3: New.
1933 * doc/man/Makefile.am: Add new manual pages.
1935 * doc/man/pam_acct_mgmt.3.xml: Fix syntax for inclusion
1936 in Applicatoin Developer Guide.
1937 * doc/man/pam_authenticate.3.xml: Likewise
1938 * doc/man/pam_chauthtok.3.xml: Likewise
1939 * doc/man/pam_close_session.3.xml: Likewise
1940 * doc/man/pam_conv.3.xml: Likewise
1941 * doc/man/pam_end.3.xml: Likewise
1942 * doc/man/pam_fail_delay.3.xml: Likewise
1943 * doc/man/pam_getenv.3.xml: Likewise
1944 * doc/man/pam_getenvlist.3.xml: Likewise
1945 * doc/man/pam_open_session.3.xml: Likewise
1946 * doc/man/pam_putenv.3.xml: Likewise
1947 * doc/man/pam_setcred.3.xml: Likewise
1948 * doc/man/pam_start.3.xml: Likewise
1949 * doc/man/pam_strerror.3.xml: Likewise
1951 * doc/man/pam_acct_mgmt.3: Regenerate from XML source.
1952 * doc/man/pam_authenticate.3: Likewise
1953 * doc/man/pam_chauthtok.3: Likewise
1954 * doc/man/pam_close_session.3: Likewise
1955 * doc/man/pam_conv.3: Likewise
1956 * doc/man/pam_end.3: Likewise
1957 * doc/man/pam_fail_delay.3: Likewise
1958 * doc/man/pam_getenv.3: Likewise
1959 * doc/man/pam_getenvlist.3: Likewise
1960 * doc/man/pam_open_session.3: Likewise
1961 * doc/man/pam_putenv.3: Likewise
1962 * doc/man/pam_setcred.3: Likewise
1963 * doc/man/pam_sm_close_session.3: Likewise
1964 * doc/man/pam_start.3: Likewise
1965 * doc/man/pam_strerror.3: Likewise
1966 * doc/man/pam_syslog.3: Likewise
1967 * doc/man/PAM.8: Likewise
1969 2006-06-24 Thorsten Kukuk <kukuk@thkukuk.de>
1971 * modules/pam_limits/pam_limits.c (setup_limits): Don't
1972 reset priority for root.
1974 2006-06-23 Thorsten Kukuk <kukuk@thkukuk.de>
1976 * modules/pam_access/access.conf.5.xml: Fix syntax for SAG.
1977 * modules/pam_access/pam_access.8.xml: Likewise.
1978 * modules/pam_deny/pam_deny.8.xml: Likewise.
1979 * modules/pam_echo/pam_echo.8.xml: Likewise.
1980 * modules/pam_env/pam_env.8.xml: Likewise.
1981 * modules/pam_env/pam_env.conf.5.xml: Likewise.
1982 * modules/pam_group/group.conf.5.xml: Likewise.
1983 * modules/pam_group/pam_group.8.xml: Likewise.
1984 * modules/pam_limits/limits.conf.5.xml: Likewise.
1985 * modules/pam_listfile/pam_listfile.8.xml: Likewise.
1986 * modules/pam_succeed_if/pam_succeed_if.8.xml: Likewise.
1987 * modules/pam_time/pam_time.8.xml: Likewise.
1988 * modules/pam_time/time.conf.5.xml: Likewise.
1990 * modules/pam_access/access.conf.5: Regenerate.
1991 * modules/pam_access/pam_access.8: Likewise.
1992 * modules/pam_deny/pam_deny.8: Likewise.
1993 * modules/pam_echo/README: Likewise.
1994 * modules/pam_echo/pam_echo.8: Likewise.
1995 * modules/pam_env/pam_env.8: Likewise.
1996 * modules/pam_env/pam_env.conf.5: Likewise.
1997 * modules/pam_group/README: Likewise.
1998 * modules/pam_group/group.conf.5: Likewise.
1999 * modules/pam_group/pam_group.8: Likewise.
2000 * modules/pam_limits/limits.conf.5: Likewise.
2001 * modules/pam_listfile/README: Likewise.
2002 * modules/pam_listfile/pam_listfile.8: Likewise.
2003 * modules/pam_succeed_if/pam_succeed_if.8: Likewise.
2004 * modules/pam_time/pam_time.8: Likewise.
2005 * modules/pam_time/time.conf.5: Likewise.
2007 * doc/man/Makefile.am: Add pam.conf-desc.xml, pam.conf-dir.xml
2008 and pam.conf-syntax.xml.
2009 * doc/man/pam.conf.5.xml: Split into different pieces for SAG.
2010 * doc/man/pam.conf.5: Regenerated.
2011 * doc/man/pam.conf-desc.xml: New.
2012 * doc/man/pam.conf-dir.xml: New.
2013 * doc/man/pam.conf-syntax.xml: New.
2015 2006-06-21 Thorsten Kukuk <kukuk@thkukuk.de>
2017 * modules/pam_selinux/Makefile.am: Fix "make dist" if libselinux
2020 * modules/pam_issue/pam_issue.8.xml: Fix listing of escapes.
2021 * modules/pam_issue/pam_issue.8: Regenerate.
2023 2006-06-20 Thorsten Kukuk <kukuk@thkukuk.de>
2025 * configure.in: Remove unused check for libcap.
2027 * m4/ld-as-needed.m4: New.
2029 * configure.in: Call PAM_LD_AS_NEEDED and PAM_LD_O1,
2030 require docbook version 4.4.
2032 2006-06-19 Thorsten Kukuk <kukuk@thkukuk.de>
2034 * doc/man/pam.8.xml: Syntax cleanup.
2035 * doc/pam/PAM.8: Regenerated from xml source.
2036 * man/pam_sm_chauthtok.3: New.
2037 * man/pam_sm_chauthtok.3.xml: New.
2038 * man/pam_sm_close_session.3: New.
2039 * man/pam_sm_close_session.3.xml: New.
2040 * man/pam_sm_open_session.3: New.
2041 * man/pam_sm_open_session.3.xml: New.
2042 * man/pam_sm_authenticate.3: New.
2043 * man/pam_sm_authenticate.3.xml: New.
2044 * man/pam_sm_setcred.3: New.
2045 * man/pam_sm_setcred.3.xml: New.
2046 * man/Makefile.am: Add new pam_sm_* manual pages.
2048 * specs/Makefile.am: Fix rule to generate draft.
2050 2006-06-18 Thorsten Kukuk <kukuk@thkukuk.de>
2052 * modules/pam_tally/Makefile.am: Include Make.xml.rules.
2053 * modules/pam_tally/pam_tally.8.xml: New.
2054 * modules/pam_tally/pam_tally.8: New, generated from xml file.
2055 * modules/pam_tally/README.xml: New.
2056 * modules/pam_tally/README: Regenerated from xml file.
2058 * modules/pam_selinux/Makefile.am: Include Make.xml.rules.
2059 * modules/pam_selinux/pam_selinux.8.xml: New.
2060 * modules/pam_selinux/pam_selinux.8: Regenerated from xml file.
2061 * modules/pam_selinux/README.xml: New.
2062 * modules/pam_selinux/README: Regenerated from xml file.
2064 2006-06-17 Thorsten Kukuk <kukuk@thkukuk.de>
2066 * modules/pam_debug/Makefile.am: Include Make.xml.rules.
2067 * modules/pam_debug/pam_debug.8.xml: New.
2068 * modules/pam_debug/pam_debug.8: New, generated from xml file.
2069 * modules/pam_debug/README.xml: New.
2070 * modules/pam_debug/README: Regenerated from xml file.
2072 * examples/vpass.c: UID is unsigned on Linux.
2073 * modules/pam_exec/pam_exec.c: Likewise.
2074 * modules/pam_unix/pam_unix_acct.c: Likewise.
2075 * modules/pam_unix/pam_unix_sess.c: Likewise.
2077 * modules/pam_succeed_if/pam_succeed_if.8.xml: Fix syntax error.
2078 * modules/pam_succeed_if/pam_succeed_if.8: Regenerated.
2079 * modules/pam_succeed_if/README: Regenerated.
2081 * modules/pam_limits/Makefile.am: Include Make.xml.rules.
2082 * modules/pam_limits/limits.conf.5: New, generated from xml file.
2083 * modules/pam_limits/limits.conf.5.xml: New.
2084 * modules/pam_limits/pam_limits.8: New, generated from xml file.
2085 * modules/pam_limits/pam_limits.8.xml: New.
2086 * modules/pam_limits/README.xml: New.
2087 * modules/pam_limits/README: Regenerated from README.xml.
2089 2006-06-16 Thorsten Kukuk <kukuk@thkukuk.de>
2091 * modules/pam_unix/pam_unix_passwd.c (save_old_password): UIDs
2092 are unsigned on Linux, don't truncate them.
2093 (_do_setpass): err is of type clnt_stat, not int.
2095 * modules/pam_lastlog/pam_lastlog.c (last_login_read): Don't
2096 truncate UID for syslog output.
2098 * modules/pam_time/pam_time.c: Replace type boolean with int.
2099 * modules/pam_group/pam_group.c: Likewise.
2101 2006-06-15 Thorsten Kukuk <kukuk@thkukuk.de>
2103 * modules/pam_unix/bigcrypt.h: New.
2104 * modules/pam_unix/Makefile.am: Add bigcrypt.h.
2105 * modules/pam_unix/bigcrypt.c: Include bigcrypt.h.
2106 * modules/pam_unix/support.c: Include bigcrypt.h, remove
2108 * modules/pam_unix/bigcrypt_main.c: Include bigcrypt.h, remove
2110 * modules/pam_unix/pam_unix_passwd.c: Include bigcrypt.h, remove
2113 * modules/pam_time/pam_time.c (logic_member): Remove unused
2116 * modules/pam_group/pam_group.c (logic_field): Accept
2117 colon in tty name. [#1428276].
2118 (logic_member): Remove unused variable len.
2119 (check_account): Fix usage of err variable in debug code.
2121 * modules/pam_time/pam_time.c (logic_field): Likewise.
2123 * configure.in: Add special exceptions for icc: different
2124 compiler warnings, no PIE support.
2126 2006-06-14 Thorsten Kukuk <kukuk@thkukuk.de>
2128 * libpam/pam_misc.c (_pam_strdup): Use strlen and strcpy.
2130 * configure.in: Remove --enable-memory-debug, add option
2131 to disable prelude if installed.
2133 * modules/pam_tally/pam_tally.c: Remove MEMORY_DEBUG
2134 * modules/pam_filter/upperLOWER/upperLOWER.c: Likewise.
2135 * modules/pam_unix/unix_chkpwd.c: Likewise.
2136 * libpam/include/security/_pam_types.h: Likewise.
2137 * libpam/libpam.map: Remove LIBPAM_MALLOC_DEBUG export.
2138 * libpam/pam_malloc.c: Remove file.
2139 * libpam/Makefile.am: Remove pam_malloc.c and pam_malloc.h.
2141 * libpam/pam_handlers.c (extract_modulename): Use _pam_strdup
2144 * libpam/pam_private.h: Remove _pam_strCMP.
2145 * libpam/pam_misc.c: Likewise.
2146 * libpam/pam_handlers.c: Replaced _pam_strCMP with strcasecmp.
2148 2006-06-12 Thorsten Kukuk <kukuk@thkukuk.de>
2150 * modules/pam_tally/Makefile.am (AM_LDFLAGS): Remove flags
2151 for modules from main application.
2153 2006-06-09 Thorsten Kukuk <kukuk@thkukuk.de>
2155 * modules/pam_time/Makefile.am: Include Make.xml.rules.
2156 * modules/pam_time/time.conf.5: New, generated from xml file.
2157 * modules/pam_time/time.conf.5.xml: New.
2158 * modules/pam_time/pam_time.8: New, generated from xml file.
2159 * modules/pam_time/pam_time.8.xml: New.
2160 * modules/pam_time/README.xml: New.
2161 * modules/pam_time/README: Regenerated from README.xml.
2163 * modules/pam_wheel/Makefile.am: Include Make.xml.rules.
2164 * modules/pam_wheel/pam_wheel.8.xml: New.
2165 * modules/pam_wheel/pam_wheel.8: New, generated from xml file.
2166 * modules/pam_wheel/README.xml: New.
2167 * modules/pam_wheel/README: Regenerated from xml file.
2169 * modules/pam_xauth/Makefile.am: Include Make.xml.rules.
2170 * modules/pam_xauth/pam_xauth.8.xml: New.
2171 * modules/pam_xauth/pam_xauth.8: Regenerated from xml file.
2172 * modules/pam_xauth/README.xml: New.
2173 * modules/pam_xauth/README: Regenerated from xml file.
2175 * modules/pam_deny/pam_deny.8.xml: Fix syntax errors.
2176 * modules/pam_deny/pam_deny.8: Regenerate from xml file.
2177 * modules/pam_deny/README: Likewise.
2179 * modules/pam_warn/Makefile.am: Include Make.xml.rules.
2180 * modules/pam_warn/pam_warn.8.xml: New.
2181 * modules/pam_warn/pam_warn.8: New, generated from xml file.
2182 * modules/pam_warn/README.xml: New.
2183 * modules/pam_warn/README: Regenerated from xml file.
2185 * modules/pam_userdb/Makefile.am: Include Make.xml.rules.
2186 * modules/pam_userdb/pam_userdb.8.xml: New.
2187 * modules/pam_userdb/pam_userdb.8: New, generated from xml file.
2188 * modules/pam_userdb/README.xml: New.
2189 * modules/pam_userdb/README: Regenerated from xml file.
2191 2006-06-06 Thorsten Kukuk <kukuk@thkukuk.de>
2193 * modules/pam_shells/Makefile.am: Include Make.xml.rules.
2194 * modules/pam_shells/pam_shells.8.xml: New.
2195 * modules/pam_shells/pam_shells.8: New, generated from xml file.
2196 * modules/pam_shells/README.xml: New.
2197 * modules/pam_shells/README: Regenerated from xml file.
2199 * libpam/include/security/pam_malloc.h: Add missing license
2202 * libpam/include/security/pam_ext.h: Add brackets for C++.
2203 * libpam/include/security/pam_modutil.h: Likewise.
2205 * libpam/include/security/pam_modules.h: Document where to
2206 find the copyright/license informations.
2208 * libpam/include/security/pam_appl.h: Move _pam_compat.h
2209 include inside of brackets.
2211 2006-06-04 Thorsten Kukuk <kukuk@thkukuk.de>
2213 * modules/pam_securetty/Makefile.am: Include Make.xml.rules.
2214 * modules/pam_securetty/pam_securetty.8.xml: New.
2215 * modules/pam_securetty/pam_securetty.8: Regenerated from xml file.
2216 * modules/pam_securetty/README.xml: New.
2217 * modules/pam_securetty/README: Regenerated from xml file.
2219 * modules/pam_rootok/Makefile.am: Include Make.xml.rules.
2220 * modules/pam_rootok/pam_rootok.8.xml: New.
2221 * modules/pam_rootok/pam_rootok.8: New, generated from xml file.
2222 * modules/pam_rootok/README.xml: New.
2223 * modules/pam_rootok/README: Regenerated from xml file.
2225 * modules/pam_permit/Makefile.am: Include Make.xml.rules.
2226 * modules/pam_permit/pam_permit.8.xml: New.
2227 * modules/pam_permit/pam_permit.8: New, generated from xml file.
2228 * modules/pam_permit/README.xml: New.
2229 * modules/pam_permit/README: Regenerated from xml file.
2231 * modules/pam_nologin/Makefile.am: Include Make.xml.rules.
2232 * modules/pam_nologin/pam_nologin.8.xml: New.
2233 * modules/pam_nologin/pam_nologin.8: Regenerated from xml file.
2234 * modules/pam_nologin/README.xml: New.
2235 * modules/pam_nologin/README: Regenerated from xml file.
2237 2006-06-03 Thorsten Kukuk <kukuk@thkukuk.de>
2239 * modules/pam_motd/Makefile.am: Include Make.xml.rules.
2240 * modules/pam_motd/pam_motd.8.xml: New.
2241 * modules/pam_motd/pam_motd.8: New, generated from xml file.
2242 * modules/pam_motd/README.xml: New.
2243 * modules/pam_motd/README: New, generated from xml file.
2245 2006-06-02 Thorsten Kukuk <kukuk@thkukuk.de>
2247 * modules/pam_mail/Makefile.am: Include Make.xml.rules.
2248 * modules/pam_mail/pam_mail.8.xml: New.
2249 * modules/pam_mail/pam_mail.8: New, generated from xml file.
2250 * modules/pam_mail/README.xml: New.
2251 * modules/pam_mail/README: Regenerated from xml file.
2253 * modules/pam_localuser/Makefile.am: Include Make.xml.rules.
2254 * modules/pam_localuser/pam_localuser.8.xml: New.
2255 * modules/pam_localuser/pam_localuser.8: New, generated from xml file.
2256 * modules/pam_localuser/README.xml: New.
2257 * modules/pam_localuser/README: Regenerated from xml file.
2259 * doc/man/PAM.8: Regenerate with DocBook XSL Stylesheets v1.70.1.
2260 * doc/man/pam.3: Likewise.
2261 * doc/man/pam.conf.5: Likewise.
2262 * doc/man/pam_acct_mgmt.3: Likewise.
2263 * doc/man/pam_authenticate.3: Likewise.
2264 * doc/man/pam_chauthtok.3: Likewise.
2265 * doc/man/pam_close_session.3: Likewise.
2266 * doc/man/pam_conv.3: Likewise.
2267 * doc/man/pam_end.3: Likewise.
2268 * doc/man/pam_error.3: Likewise.
2269 * doc/man/pam_fail_delay.3: Likewise.
2270 * doc/man/pam_get_data.3: Likewise.
2271 * doc/man/pam_get_item.3: Likewise.
2272 * doc/man/pam_get_user.3: Likewise.
2273 * doc/man/pam_getenv.3: Likewise.
2274 * doc/man/pam_getenvlist.3: Likewise.
2275 * doc/man/pam_info.3: Likewise.
2276 * doc/man/pam_open_session.3: Likewise.
2277 * doc/man/pam_prompt.3: Likewise.
2278 * doc/man/pam_putenv.3: Likewise.
2279 * doc/man/pam_set_data.3: Likewise.
2280 * doc/man/pam_set_item.3: Likewise.
2281 * doc/man/pam_setcred.3: Likewise.
2282 * doc/man/pam_sm_acct_mgmt.3: Likewise.
2283 * doc/man/pam_start.3: Likewise.
2284 * doc/man/pam_strerror.3: Likewise.
2285 * doc/man/pam_syslog.3: Likewise.
2286 * modules/pam_access/access.conf.5: Likewise.
2287 * modules/pam_access/pam_access.8: Likewise.
2288 * modules/pam_cracklib/pam_cracklib.8: Likewise.
2289 * modules/pam_deny/pam_deny.8: Likewise.
2290 * modules/pam_echo/pam_echo.8: Likewise.
2291 * modules/pam_env/pam_env.8: Likewise.
2292 * modules/pam_env/pam_env.conf.5: Likewise.
2293 * modules/pam_exec/pam_exec.8: Likewise.
2294 * modules/pam_filter/pam_filter.8: Likewise.
2295 * modules/pam_ftp/pam_ftp.8: Likewise.
2296 * modules/pam_group/group.conf.5: Likewise.
2297 * modules/pam_group/pam_group.8: Likewise.
2298 * modules/pam_issue/pam_issue.8: Likewise.
2299 * modules/pam_lastlog/pam_lastlog.8: Likewise.
2300 * modules/pam_mkhomedir/pam_mkhomedir.8: Likewise.
2301 * modules/pam_succeed_if/pam_succeed_if.8: Likewise.
2302 * modules/pam_umask/pam_umask.8: Likewise.
2304 * modules/pam_unix/pam_unix_acct.c (pam_sm_acct_mgmt): Use
2305 dngettext if available [#1427738].
2306 * configure.in: Check for dngettext [#1427738].
2307 * po/*.po: Update to dngettext usage.
2309 * modules/pam_listfile/Makefile.am: Include Make.xml.rules.
2310 * modules/pam_listfile/pam_listfile.8.xml: New.
2311 * modules/pam_listfile/pam_listfile.8: New, generated from xml file.
2312 * modules/pam_listfile/README.xml: New.
2313 * modules/pam_listfile/README: Regenerated from xml file.
2315 2006-06-01 Thorsten Kukuk <kukuk@thkukuk.de>
2317 * modules/pam_lastlog/Makefile.am: Include Make.xml.rules.
2318 * modules/pam_lastlog/pam_lastlog.8.xml: New.
2319 * modules/pam_lastlog/pam_lastlog.8: New, generated from xml file.
2320 * modules/pam_lastlog/README.xml: New.
2321 * modules/pam_lastlog/README: Regenerated from xml file.
2323 * modules/pam_group/Makefile.am: Include Make.xml.rules.
2324 * modules/pam_group/group.conf.5.xml: New.
2325 * modules/pam_group/group.conf.5: New, generated from xml file.
2326 * modules/pam_group/pam_group.8.xml: New.
2327 * modules/pam_group/pam_group.8: New, generated from xml file.
2328 * modules/pam_group/README.xml: New.
2329 * modules/pam_group/README: Regenerated from xml file.
2331 * modules/pam_ftp/Makefile.am: Include Make.xml.rules.
2332 * modules/pam_ftp/pam_ftp.8.xml: New.
2333 * modules/pam_ftp/pam_ftp.8: New, generated from xml file.
2334 * modules/pam_ftp/README.xml: New.
2335 * modules/pam_ftp/README: Regenerated from xml file.
2337 * modules/pam_issue/Makefile.am: Include Make.xml.rules.
2338 * modules/pam_issue/pam_issue.8.xml: New.
2339 * modules/pam_issue/pam_issue.8: New, generated from xml file.
2340 * modules/pam_issue/README.xml: New.
2341 * modules/pam_issue/README: Regenerated from xml file.
2343 * modules/pam_filter/Makefile.am: Include Make.xml.rules.
2344 * modules/pam_filter/pam_filter.8.xml: New.
2345 * modules/pam_filter/pam_filter.8: New, generated from xml file.
2346 * modules/pam_filter/README.xml: New.
2347 * modules/pam_filter/README: Regenerated from xml file.
2349 2006-05-30 Thorsten Kukuk <kukuk@thkukuk.de>
2351 * modules/pam_mkhomedir/pam_mkhomedir.8.xml: Fix umask and skel
2352 directory documentation.
2354 * modules/pam_umask/Makefile.am: Include Make.xml.rules.
2355 * modules/pam_umask/pam_umask.8.xml: New.
2356 * modules/pam_umask/pam_umask.8: New, generated from xml file.
2357 * modules/pam_umask/README.xml: New.
2358 * modules/pam_umask/README: Regenerated from xml file.
2360 2006-05-29 Thorsten Kukuk <kukuk@thkukuk.de>
2362 * modules/pam_mkhomedir/Makefile.am: Include Make.xml.rules.
2363 * modules/pam_mkhomedir/pam_mkhomedir.8.xml: New.
2364 * modules/pam_mkhomedir/pam_mkhomedir.8: New, generated from xml file.
2365 * modules/pam_mkhomedir/README.xml: New.
2366 * modules/pam_mkhomedir/README: Regenerated from xml file.
2368 2006-05-23 Thorsten Kukuk <kukuk@thkukuk.de>
2370 * modules/pam_echo/pam_echo.c (pam_echo): Use pam_modutil_read()
2373 2006-05-22 Thorsten Kukuk <kukuk@thkukuk.de>
2375 * modules/pam_listfile/pam_listfile.c (pam_sm_authenticate):
2376 Fix memory leaks, [#1490956] found by Coverity.
2378 * modules/pam_tally/pam_tally.c (pam_get_uid): Check return
2379 value of pam_get_user().
2380 (tally_get_data): Check if oldtime is not NULL.
2381 [#1489818] found by Coverity.
2383 * modules/pam_mkhomedir/pam_mkhomedir.c (create_homedir): Don't
2384 ignore return value of stat(). [#1489808] found by Coverity.
2386 * modules/pam_mail/pam_mail.c (get_folder): Fix a potential
2387 NULL pointer dereference. [#1489792] found by Coverity.
2389 * libpam/Makefile.am: bump release number of libpam.so.
2390 * libpam/pam_misc.c (_pam_mkargv): Fix memory leak,
2391 [#1489804] found by Coverity.
2393 * modules/pam_echo/pam_echo.c (replace_and_print): Initialize
2394 str, [#1489658] found by Coverity.
2396 * modules/pam_cracklib/pam_cracklib.c (_pam_unix_approve_pass): Fix
2397 a potential NULL pointer dereference.
2398 (pam_sm_chauthtok): Remove dead code.
2399 [#1489634] found by Coverity.
2401 2006-05-04 Thorsten Kukuk <kukuk@thkukuk.de>
2403 * configure.in: Check for fseeko.
2404 * modules/pam_tally/pam_tally.c: Use fseeko if available
2405 (Based on patch by IBM).
2407 2006-05-04 Thorsten Kukuk <kukuk@thkukuk.de>
2409 * release version 0.99.4.0
2411 * libpam/pam_strerror.c: Unify error messages.
2413 * po/zh_TW.po: Adjust for last pam_strerror changes.
2414 * po/zh_CN.po: Likewise.
2415 * po/uk.po: Likewise.
2416 * po/tr.po: Likewise.
2417 * po/pt.po: Likewise.
2418 * po/pt_BR.po: Likewise.
2419 * po/pl.po: Likewise.
2420 * po/ja.po: Likewise.
2421 * po/nl.po: Likewise.
2422 * po/nb.po: Likewise.
2423 * po/it.po: Likewise.
2424 * po/hu.po: Likewise.
2425 * po/fr.po: Likewise.
2426 * po/fi.po: Likewise.
2427 * po/es.po: Likewise.
2428 * po/de.po: Likewise.
2429 * po/cs.po: Likewise.
2431 * doc/man/pam.3.xml: New.
2432 * doc/man/pam.3. New, generated from XML file.
2434 * doc/man/pam_sm_acct_mgmt.3.xml: New.
2435 * doc/man/pam_sm_acct_mgmt.3: New, generated from XML file.
2437 * doc/man/*.xml: Fix encoding and use always UTF-8, regenerate
2440 * doc/pam_modules.sgml (PAM_NEW_AUTHTOKEN_REQD): Fix typo.
2442 2006-05-02 Thorsten Kukuk <kukuk@thkukuk.de>
2444 * modules/pam_unix/pam_unix_acct.c (pam_sm_acct_mgmt): Use
2445 different strings for plural or not [#1427738]
2447 * po/*.po: Adjust for pam_unix.so translation fix.
2449 * modules/pam_tally/pam_tally.c: Always close file handle
2450 in error case, don't close it depending on *TALLY value [#1478180]
2452 2006-04-21 Thorsten Kukuk <kukuk@thkukuk.de>
2454 * po/fr.po: Updated.
2456 2006-04-11 Thorsten Kukuk <kukuk@thkukuk.de>
2458 * po/km.po: Updated.
2460 2006-03-27 Thorsten Kukuk <kukuk@thkukuk.de>
2462 * po/LINGUAS: Add uk.
2465 * po/cs.po: Updated.
2466 * po/po/es.po: Updated.
2467 * po/fi.po: Updated.
2468 * po/fr.po: Updated.
2469 * po/hu.po: Updated.
2470 * po/it.po: Updated.
2471 * po/ja.po: Updated.
2472 * po/nb.po: Updated.
2473 * po/pl.po: Updated.
2474 * po/pt.po: Updated.
2475 * po/pt_BR.po: Updated.
2476 * po/zh_CN.po: Updated.
2477 * po/zh_TW.po: Updated.
2479 2006-03-21 Thorsten Kukuk <kukuk@thkukuk.de>
2481 * configure.in: Remove ALL_LINGUAS.
2483 * po/tr.po: New (from Ismail Donmez <ismail@pardus.org.tr>).
2485 2006-03-13 Thorsten Kukuk <kukuk@thkukuk.de>
2487 * doc/man/pam_error.3.xml: New.
2488 * doc/man/pam_error.3: New, generated from XML file.
2489 * doc/man/pam_verror.3: New, generated from XML file.
2490 * doc/man/Makefile.am: Add pam_error.3 and pam_verror.3.
2492 * modules/pam_lastlog/Makefile.am: Fix typo.
2494 * modules/pam_lastlog/pam_lastlog.c: Move comment for
2495 translators in right line.
2496 * po/*.po: Update po files with comment for translator.
2498 2006-03-12 Thorsten Kukuk <kukuk@thkukuk.de>
2500 * doc/man/Makefile.am: Add new manual pages.
2502 * doc/man/pam.conf.5.xml: Replace link with content
2504 * doc/man/pam.conf.5: Regenerated from XML file.
2506 * doc/man/pam_info.3.xml: New.
2507 * doc/man/pam_info.3: New, generated from XML file.
2508 * doc/man/pam_vinfo.3: New, generated from XML file.
2510 * doc/man/pam_conv.3.xml: New.
2511 * doc/man/pam_conv.3: New, generated from XML file.
2513 * doc/man/pam_putenv.3.xml: New.
2514 * doc/man/pam_putenv.3: New, generated from XML file.
2516 * doc/man/pam_getenv.3.xml: New.
2517 * doc/man/pam_getenv.3: New, generated from XML file.
2519 * doc/man/pam_getenvlist.3.xml: New.
2520 * doc/man/pam_getenvlist.3: New, generated from XML file.
2522 * libpam/pam_item.c (pam_get_user): Check for valid pamh before
2525 * configure.in: create tests/Makefile
2526 * Makefile.am (SUBDIRS): Add tests
2527 * tests/Makefile.am: New.
2528 * tests/tst-dlopen.c: New.
2529 * tests/tst-pam_acct_mgmt.c: New.
2530 * tests/tst-pam_authenticate.c: New.
2531 * tests/tst-pam_chauthtok.c: New.
2532 * tests/tst-pam_close_session.c: New.
2533 * tests/tst-pam_end.c: New.
2534 * tests/tst-pam_fail_delay.c: New.
2535 * tests/tst-pam_getenvlist.c: New.
2536 * tests/tst-pam_get_item.c: New.
2537 * tests/tst-pam_open_session.c: New.
2538 * tests/tst-pam_setcred.c: New.
2539 * tests/tst-pam_set_item.c: New.
2540 * tests/tst-pam_start.c: New.
2541 * tests/tst-pam_get_user.c: New.
2543 * modules/pam_access/Makefile.am: Add rules for make check
2544 * modules/pam_access/tst-pam_access: New
2545 * modules/pam_cracklib/Makefile.am: Add rules for make check
2546 * modules/pam_cracklib/tst-pam_cracklib: New
2547 * modules/pam_debug/Makefile.am: Add rules for make check
2548 * modules/pam_debug/tst-pam_debug: New
2549 * modules/pam_deny/Makefile.am: Add rules for make check
2550 * modules/pam_deny/tst-pam_deny: New
2551 * modules/pam_echo/Makefile.am: Add rules for make check
2552 * modules/pam_echo/tst-pam_echo: New
2553 * modules/pam_env/Makefile.am: Add rules for make check
2554 * modules/pam_env/tst-pam_env: New
2555 * modules/pam_exec/Makefile.am: Add rules for make check
2556 * modules/pam_exec/tst-pam_exec: New
2557 * modules/pam_filter/Makefile.am: Add rules for make check
2558 * modules/pam_filter/tst-pam_filter: New
2559 * modules/pam_ftp/Makefile.am: Add rules for make check
2560 * modules/pam_ftp/tst-pam_ftp: New
2561 * modules/pam_group/Makefile.am: Add rules for make check
2562 * modules/pam_group/tst-pam_group: New
2563 * modules/pam_issue/Makefile.am: Add rules for make check
2564 * modules/pam_issue/tst-pam_issue: New
2565 * modules/pam_lastlog/Makefile.am: Add rules for make check
2566 * modules/pam_lastlog/tst-pam_lastlog: New
2567 * modules/pam_limits/Makefile.am: Add rules for make check
2568 * modules/pam_limits/tst-pam_limits: New
2569 * modules/pam_listfile/Makefile.am: Add rules for make check
2570 * modules/pam_listfile/tst-pam_listfile: New
2571 * modules/pam_localuser/Makefile.am: Add rules for make check
2572 * modules/pam_localuser/tst-pam_localuser: New
2573 * modules/pam_mail/Makefile.am: Add rules for make check
2574 * modules/pam_mail/tst-pam_mail: New
2575 * modules/pam_mkhomedir/Makefile.am: Add rules for make check
2576 * modules/pam_mkhomedir/tst-pam_mkhomedir: New
2577 * modules/pam_motd/Makefile.am: Add rules for make check
2578 * modules/pam_motd/tst-pam_motd: New
2579 * modules/pam_nologin/Makefile.am: Add rules for make check
2580 * modules/pam_nologin/tst-pam_nologin: New
2581 * modules/pam_permit/Makefile.am: Add rules for make check
2582 * modules/pam_permit/tst-pam_permit: New
2583 * modules/pam_rhosts/Makefile.am: Add rules for make check
2584 * modules/pam_rhosts/tst-pam_rhosts: New
2585 * modules/pam_rootok/Makefile.am: Add rules for make check
2586 * modules/pam_rootok/tst-pam_rootok: New
2587 * modules/pam_securetty/Makefile.am: Add rules for make check
2588 * modules/pam_securetty/tst-pam_securetty: New
2589 * modules/pam_selinux/Makefile.am: Add rules for make check
2590 * modules/pam_selinux/tst-pam_selinux: New
2591 * modules/pam_shells/Makefile.am: Add rules for make check
2592 * modules/pam_shells/tst-pam_shells: New
2593 * modules/pam_stress/Makefile.am: Add rules for make check
2594 * modules/pam_stress/tst-pam_stress: New
2595 * modules/pam_succeed_if/Makefile.am: Add rules for make check
2596 * modules/pam_succeed_if/tst-pam_succeed_if: New
2597 * modules/pam_tally/Makefile.am: Add rules for make check
2598 * modules/pam_tally/tst-pam_tally: New
2599 * modules/pam_time/Makefile.am: Add rules for make check
2600 * modules/pam_time/tst-pam_time: New
2601 * modules/pam_umask/Makefile.am: Add rules for make check
2602 * modules/pam_umask/tst-pam_umask: New
2603 * modules/pam_unix/Makefile.am: Add rules for make check
2604 * modules/pam_unix/tst-pam_unix: New
2605 * modules/pam_userdb/Makefile.am: Add rules for make check
2606 * modules/pam_userdb/tst-pam_userdb: New
2607 * modules/pam_warn/Makefile.am: Add rules for make check
2608 * modules/pam_warn/tst-pam_warn: New
2609 * modules/pam_wheel/Makefile.am: Add rules for make check
2610 * modules/pam_wheel/tst-pam_wheel: New
2611 * modules/pam_xauth/Makefile.am: Add rules for make check
2612 * modules/pam_xauth/tst-pam_xauth: New
2614 2006-03-11 Thorsten Kukuk <kukuk@thkukuk.de>
2616 * doc/man/pam_fail_delay.3.xml: New.
2617 * doc/man/pam_fail_delay.3: New, generated from xml.
2618 * doc/man/pam_prompt.3.xml: New.
2619 * doc/man/pam_prompt.3: New, generated from xml.
2620 * doc/man/pam_syslog.3.xml: New.
2621 * doc/man/pam_syslog.3: New, generated from xml.
2622 * doc/man/pam_vprompt.3: New, generated from xml.
2623 * doc/man/pam_vsyslog.3: New, generated from xml.
2625 2006-02-24 Thorsten Kukuk <kukuk@thkukuk.de>
2627 * po/km.po: Update Khmer translation.
2629 2006-02-24 Thorsten Kukuk <kukuk@thkukuk.de>
2631 * modules/pam_succeed_if/pam_succeed_if.8.xml: New, based on
2632 version from #1425487.
2633 * modules/pam_succeed_if/pam_succeed_if.8: Regenerated from xml.
2634 * modules/pam_succeed_if/Makefile.am: Include XML rules.
2635 * modules/pam_succeed_if/README.xml: New.
2636 * modules/pam_succeed_if/README: Regenerated from xml.
2637 * modules/pam_succeed_if/pam_succeed_if.c: Fix comment about
2640 2006-02-22 Thorsten Kukuk <kukuk@thkukuk.de>
2642 * configure.in: Fix check for incomplete libaudit installations
2643 (Patch from Ruediger Oertel <ro@suse.de>).
2645 * modules/pam_lastlog/pam_lastlog.c (last_login_write): Initialize
2646 correct last_login field [#1427401].
2648 * modules/pam_lastlog/pam_lastlog.c (last_login_read): Mark strftime
2649 format string for translation to allow reorder [#1428269].
2650 * po/*.po: Update with last pam_lastlog change.
2653 2006-02-17 Thorsten Kukuk <kukuk@thkukuk.de>
2655 * doc/man/Makefile.am: Add new manual pages.
2656 * doc/man/pam_end.3: Regenerated from xml file.
2657 * doc/man/pam_end.3.xml: Document freeing of item data.
2658 * doc/man/pam_get_user.3: New.
2659 * doc/man/pam_get_user.3.xml: New.
2660 * modules/pam_access/access.conf.5.xml: Fix typos.
2661 * modules/pam_env/Makefile.am: Add new manual pages.
2662 * modules/pam_env/README: Regenerate from xml file.
2663 * modules/pam_env/README.xml: New.
2664 * modules/pam_env/pam_env.8: New.
2665 * modules/pam_env/pam_env.8.xml: New.
2666 * modules/pam_env/pam_env.conf.5: New.
2667 * modules/pam_env/pam_env.conf.5.xml New.
2669 2006-02-14 Thorsten Kukuk <kukuk@thkukuk.de>
2671 * po/fi.po: Updated translations.
2672 * po/pl.po: Likewise.
2673 * po/km.po: New translation.
2674 * configure.in: Add km as new language.
2676 2006-02-13 Thorsten Kukuk <kukuk@thkukuk.de>
2678 * modules/pam_echo/pam_echo.8.xml: New.
2679 * modules/pam_echo/pam_echo.8: Regenerated from xml file.
2680 * modules/pam_echo/Makefile.am: Include Make.xml.rules.
2681 * modules/pam_echo/pam_echo.c: Fix return value.
2683 * doc/modules/pam_chroot.sgml: Remove obsolete sgml file.
2685 2006-02-12 Thorsten Kukuk <kukuk@thkukuk.de>
2687 * configure.in: Add doc/man/Makefile.
2688 * Make.xml.rules: Enable xincludes for manual pages.
2689 * doc/Makefile.am (EXRA_DIST): Remove manual pages.
2690 (SUBDIR): Add man subdirectory.
2691 * doc/man/Makefile.am: New.
2692 * doc/man/pam_acct_mgmt.3: New.
2693 * doc/man/pam_acct_mgmt.3.xml: New.
2694 * doc/man/pam_get_data.3: New.
2695 * doc/man/pam_get_data.3.xml: New.
2696 * doc/man/pam_set_data.3: New.
2697 * doc/man/pam_set_data.3.xml: New.
2698 * doc/man/pam.8.xml: New.
2699 * doc/man/pam.8: Regenerated from xml file.
2700 * doc/man/pam_authenticate.3.xml: New.
2701 * doc/man/pam_authenticate.3: Regenerated from xml file.
2702 * doc/man/pam_chauthtok.3.xml: New.
2703 * doc/man/pam_chauthtok.3: Regenerated from xml file.
2704 * doc/man/pam_close_session.3.xml: New.
2705 * doc/man/pam_close_session.3: Regenerated from xml file.
2706 * doc/man/pam_end.3.xml: New.
2707 * doc/man/pam_end.3: Regenerated from xml file.
2708 * doc/man/pam_fail_delay.3.xml: New.
2709 * doc/man/pam_fail_delay.3: Regenerated from xml file.
2710 * doc/man/pam_get_item.3.xml: New.
2711 * doc/man/pam_get_item.3: Regenerated from xml file.
2712 * doc/man/pam_item_types.inc.xml: New.
2713 * doc/man/pam_open_session.3.xml: New.
2714 * doc/man/pam_open_session.3: Regenerated from xml file.
2715 * doc/man/pam_set_item.3.xml: New.
2716 * doc/man/pam_set_item.3: Regenerated from xml file.
2717 * doc/man/pam_setcred.3.xml: New.
2718 * doc/man/pam_setcred.3: Regenerated from xml file.
2719 * doc/man/pam_start.3.xml: New.
2720 * doc/man/pam_start.3: Regenerated from xml file.
2721 * doc/man/pam_strerror.3.xml: New.
2722 * doc/man/pam_strerror.3: Regenerated from xml file.
2723 * doc/man/template-man: Removed.
2725 2006-02-10 Thorsten Kukuk <kukuk@thkukuk.de>
2727 * configure.in: Remove pam_pwdb support.
2728 * modules/Makefile.am: remove pam_pwdb.
2729 * modules/pam_pwdb: Remove complete directory.
2730 * libpam/Makefile.am: Remove LIBPWDB references.
2731 * libpam/pam_static_modules.h: Remove pam_pwdb references.
2732 * doc/modules/pam_pwdb.sgml: Removed.
2733 * po/POTFILES.in: Remove modules/pam_pwdb/*.c entries.
2734 * doc/pam_source.sgml: Remove references to libpwdb.
2735 * doc/modules/pam_limits.sgml: Remove wrong reference to libpwdb.
2736 * doc/modules/pam_group.sgml: Likewise.
2737 * doc/modules/pam_cracklib.sgml: Replace pam_pwdb with pam_unix.
2738 * doc/modules/pam_userdb.sgml: Likewise.
2739 * modules/pam_cracklib/pam_cracklib.8.xml: Replace pam_pwdb
2741 * modules/pam_mkhomedir/pam_mkhomedir.c: Likewise.
2742 * modules/pam_group/pam_group.c: Remove dead code for libpwdb.
2744 * modules/pam_access/Makefile.am: Fix EXTRA_DIST.
2745 * modules/pam_cracklib/Makefile.am: Likewise.
2746 * modules/pam_deny/Makefile.am: Likewise.
2747 * modules/pam_exec/Makefile.am: Likewise.
2749 2006-02-07 Thorsten Kukuk <kukuk@thkukuk.de>
2751 * configure.in: Check for text browser.
2752 * Make.xml.rules: Add rule to generate README from README.xml.
2754 * modules/pam_access/Makefile.am: Include Make.xml.rules.
2755 * modules/pam_access/README: Regenerated from README.xml.
2756 * modules/pam_access/README.xml: New.
2757 * modules/pam_access/access.conf: Extended by new examples.
2758 * modules/pam_access/access.conf.5: New, generated from xml file.
2759 * modules/pam_access/access.conf.5.xml: New.
2760 * modules/pam_access/pam_access.8: New, generated from xml file.
2761 * modules/pam_access/pam_access.8.xml: New.
2762 * modules/pam_access/pam_access.c: Add rules for IPv6 and
2764 Based on patch from Mike Becher <Mike.Becher@lrz-muenchen.de>.
2766 * modules/pam_deny/Makefile.am: Include Make.xml.rules.
2767 * modules/pam_deny/pam_deny.8.xml: New.
2768 * modules/pam_deny/pam_deny.8: New, generated from xml file.
2769 * modules/pam_deny/README.xml: New.
2770 * modules/pam_deny/README: Regenerated from xml file.
2772 * modules/pam_cracklib/Makefile.am: Include Make.xml.rules.
2773 * modules/pam_cracklib/pam_cracklib.8.xml: New.
2774 * modules/pam_cracklib/pam_cracklib.8: New, generated from xml file.
2775 * modules/pam_cracklib/README.xml: New.
2776 * modules/pam_cracklib/README: Regenerated from xml file.
2778 * modules/pam_exec/Makefile.am: Add rule to generate README.
2779 * modules/pam_exec/README: Regenerated from xml file.
2780 * modules/pam_exec/pam_exec.8: Regenerated from xml file.
2781 * modules/pam_exec/pam_exec.8.xml: Syntax files.
2783 2006-02-06 Thorsten Kukuk <kukuk@thkukuk.de>
2786 * po/pt.po: Update translations.
2787 * configure.in: Add nl as new language.
2789 2006-01-30 Thorsten Kukuk <kukuk@thkukuk.de>
2791 * modules/pam_exec/pam_exec.8.xml: Fix syntax of Return Value section.
2792 * modules/pam_exec/Makefile.am: Include Make.xml.rules.
2794 * Make.xml.rules: New.
2796 * Makefile.am (EXTRA_DIST): Add Make.xml.rules.
2798 2006-01-27 Thorsten Kukuk <kukuk@thkukuk.de>
2800 * configure.in: Prefer libdb over libndbm, fix check for
2801 libcrack and remove not needed BACKUP_LIBS.
2803 2006-01-24 Thorsten Kukuk <kukuk@thkukuk.de>
2805 * modules/pam_debug/pam_debug.c: Fix name of pam_module struct.
2807 * po/de.po: Fix one translation.
2809 * configure.in: Add modules/pam_exec.
2810 * modules/Makefile.am: Add pam_exec subdirectory.
2811 * modules/pam_exec/README: New.
2812 * modules/pam_exec/Makefile.am: New.
2813 * modules/pam_exec/pam_exec.8: New.
2814 * modules/pam_exec/pam_exec.c: New.
2815 * modules/pam_exec/pam_exec.8.xml: New.
2816 * po/POTFILES.in: Add modules/pam_exec/pam_exec.c.
2817 * po/*.po: Merge new pam_exec strings.
2819 * libpam/pam_static_modules.h: New.
2820 * Makefile.am: Reorder subdirectories for static modules.
2821 * configure.in: Add --enable-static-modules option.
2822 * libpam/Makefile.am: Define WITH_SELINUX and WITH_PWDB if
2823 necessary, add pam_static_modules.h, link against all PAM
2824 module object files if STATIC_MODULES is defined.
2825 * libpam/pam_static.c: Remove old _static_module* includes,
2826 include pam_static_modules.h.
2828 * configure.in: Add checks for xsltproc, xmllint and docbook
2830 * m4/jh_path_xml_catalog.m4: New.
2832 2006-01-22 Thorsten Kukuk <kukuk@thkukuk.de>
2834 * modules/pam_succeed_if/pam_succeed_if.c: Add support for
2836 * modules/pam_xauth/pam_xauth.c: Likewise.
2838 * libpam/pam_static.c (_pam_open_static_handler): Add pamh
2840 * libpam/pam_private.h: Adjust prototype.
2841 * libpam/pam_handlers.c (_pam_add_handler): Add pamh to
2842 _pam_open_static_handler call.
2844 * configure.in: Don't define PAM_DYNAMIC.
2845 * libpam/pam_handlers.c: Get ride of PAM_DYNAMIC, don't
2846 include pam_dynamic.h
2847 * libpam/pam_dynamic.c: Don't include pam_dynamic.h,
2848 exclude functions if we compile with PAM_STATIC.
2849 * libpam/pam_dynamic.h: Remove.
2850 * libpam/pam_private.h: Add function prototypes from pam_dynamic.h.
2851 * libpam/Makefile.am: Bump version number of libpam, remove
2854 2006-01-21 Thorsten Kukuk <kukuk@thkukuk.de>
2856 * modules/pam_listfile/pam_listfile.c: Add support for session
2857 and password management.
2859 2006-01-19 Thorsten Kukuk <kukuk@thkukuk.de>
2861 * doc/specs/Makefile.am (spec): Add padout to fix parallel
2862 build (Reported by Andreas Haumer <andreas@xss.co.at>).
2864 2006-01-15 Thorsten Kukuk <kukuk@thkukuk.de>
2866 * modules/pam_echo/pam_echo.c: Define HOST_NAME_MAX if not
2869 2006-01-13 Thorsten Kukuk <kukuk@thkukuk.de>
2871 * release version 0.99.3.0
2873 * libpam_misc/misc_conv.c (misc_conv): Fix strict aliasing
2876 * modules/pam_umask/pam_umask.c (search_key): Don't ignore
2877 EOF/error return value from fgets().
2879 * configure.in: Check for getline and getdelim
2881 * po/fi.po: Add new translations.
2882 * po/de.po: Likewise.
2883 * po/es.po: Likewise.
2884 * po/fr.po: Likewise.
2885 * po/it.po: Likewise.
2886 * po/ja.po: Likewise.
2887 * po/pt_BR.po: Likewise.
2888 * po/zh_CH.po: Likewise.
2889 * po/zh_TW.po: Likewise.
2891 2006-01-13 Dmitry V. Levin <ldv@altlinux.org>
2893 * libpam/pam_audit.c (_pam_auditlog): Replace strerror(errno)
2894 call with %m specifier.
2896 2006-01-12 Thorsten Kukuk <kukuk@thkukuk.de>
2898 * configure.in: Add check for -fpie/-pie
2899 * modules/pam_filter/upperLOWER/Makefile.am: Compile/link
2900 upperLOWER with -fpie/-pie if supported.
2901 * modules/pam_unix/Makefile.am: Compile/link unix_chkpwd
2902 with -fpie/-pie if supported.
2904 2006-01-12 Steve Grubb <sgrubb@redhat.com>
2906 * configure.in: Add check for audit library.
2907 * libpam/Makefile.am (libpam_la_LDFLAGS): Add LIBAUDIT.
2908 (libpam_la_SOURCES): Add pam_audit.c.
2909 * libpam/pam_account.c (pam_acct_mgmt): Add _pam_auditlog() call.
2910 * libpam/pam_auth.c (pam_authenticate), (pam_setcred): Likewise.
2911 * libpam/pam_password.c (pam_chauthtok): Likewise.
2912 * libpam/pam_session.c (pam_open_session),
2913 (pam_close_session): Likewise.
2914 * libpam/pam_private.h: Add audit_state member to pam_handle,
2915 declare _pam_auditlog and _pam_audit_end.
2916 * libpam/pam_start.c (pam_start): Initialize audit_state.
2917 * libpam/pam_audit.c: New file with _pam_auditlog and _pam_audit_end
2919 * libpam/pam_end.c (pam_end): Add _pam_audit_end() call.
2920 * NEWS: Note about added auditing.
2922 2006-01-11 Thorsten Kukuk <kukuk@thkukuk.de>
2924 * libpam/Makefile.am (AM_CFLAGS): Define LIBPAM_COMPILE.
2926 * libpam/include/security/_pam_types.h: Don't define PAM_NONNULL
2927 if we compile libpam itself.
2929 * po/hu.po: Update with new translations.
2931 2006-01-08 Thorsten Kukuk <kukuk@thkukuk.de>
2933 * modules/pam_cracklib/pam_cracklib.c: Use PAM_AUTHTOK_RECOVERY_ERR
2934 instead of PAM_AUTHTOK_RECOVER_ERR.
2935 * modules/pam_pwdb/support.-c: Likewise.
2936 * modules/pam_unix/support.c: Likewise.
2937 * modules/pam_userdb/pam_userdb.c (pam_sm_authenticate): Likewise.
2938 * libpam/pam_strerror.c (pam_strerror): Likewise.
2940 * libpam/include/security/_pam_compat.h: Define
2941 PAM_AUTHTOK_RECOVER_ERR for backward compatibility.
2943 * libpam/include/security/_pam_types.h: Rename
2944 PAM_AUTHTOK_RECOVER_ERR to PAM_AUTHTOK_RECOVERY_ERR.
2946 2006-01-05 Thorsten Kukuk <kukuk@thkukuk.de>
2948 * libpam/include/security/_pam_types.h: Remove nonnull attribute
2949 from third paramter (item) of pam_get_item.
2950 * libpam/Makefile.am: Bump version number of shared library.
2952 2005-12-21 Tomas Mraz <t8m@centrum.cz>
2954 * modules/pam_succeed_if/pam_succeed_if.c (evaluate_ingroup),
2955 (evaluate_notingroup): Simplified.
2956 (evaluate_innetgr), (evaluate_notinnetgr): New functions.
2957 (evaluate): Added calls to evaluate_(not)innetgr().
2958 * modules/pam_succeed_if/README: Documented netgroup matching.
2959 * NEWS: Mentioned the added netgroup matching support.
2961 2005-12-20 Thorsten Kukuk <kukuk@thkukuk.de>
2963 * modules/pam_lastlog/pam_lastlog.c (last_login_read): Use
2964 strftime instead of ctime.
2966 * po/de.po: Fix typo.
2968 2005-12-19 Thorsten Kukuk <kukuk@thkukuk.de>
2970 * libpam/pam_syslog.c: Define LOG_AUTHPRIV as LOG_AUTH on Solaris.
2971 Reported by Charles_H_Bedford@nbc.gov.
2973 * modules/pam_time/pam_time.c (check_account): Implement
2974 support for netgroups.
2976 * modules/pam_time/time.conf: Document usage of netgroups.
2978 2005-12-16 Thorsten Kukuk <kukuk@thkukuk.de>
2980 * modules/pam_group/pam_group.c (check_account): Implement
2981 support for netgroups.
2983 * modules/pam_group/group.conf: Add all documentation to this
2984 example config file and don't reference to outdated configs.
2986 * modules/pam_group/README: New.
2988 * modules/pam_group/Makefile.am: Add README to EXTRADIST.
2990 2005-12-15 Thorsten Kukuk <kukuk@suse.de>
2992 * modules/pam_lastlog/pam_lastlog.c (last_login_read): Don't report an
2993 error if user logins the first time.
2995 * modules/pam_lastlog/README: New.
2997 * modules/pam_lastlog/Makefile.am: Add README to EXTRADIST.
2999 2005-12-14 Thorsten Kukuk <kukuk@suse.de>
3001 * modules/pam_deny/pam_deny.c: Fix comment.
3003 * doc/pam_appl.sgml: Fix typo.
3005 Reported by Russell Bateman <russ@windofkeltia.com>
3007 2005-12-12 Thorsten Kukuk <kukuk@thkukuk.de>
3009 * release version 0.99.2.1
3011 * po/de.po: Remove new fuzzy entry
3013 * NEWS: Add 0.99.2.1 changes
3015 * configure.in: bump version number to 0.99.2.1
3017 2005-12-12 Dmitry V. Levin <ldv@altlinux.org>
3019 Cleanup pam_syslog messages.
3021 * modules/pam_env/pam_env.c (_expand_arg): Fix compiler warning.
3022 * modules/pam_filter/pam_filter.c (set_filter): Append %m
3023 specifier to pam_syslog messages where appropriate.
3024 * modules/pam_group/pam_group.c (read_field): Likewise.
3025 * modules/pam_mkhomedir/pam_mkhomedir.c (make_remark): Remove.
3026 (create_homedir): Do not use make_remark() wrapper, call
3027 pam_info() directly. Call pam_syslog() right after failed
3028 operation and append %m specifier to pam_syslog messages where
3030 * modules/pam_rhosts/pam_rhosts_auth.c (pam_iruserok): Replace
3031 sequence of malloc(), strcpy() and strcat() calls with asprintf().
3032 Append %m specifier to pam_syslog messages where appropriate.
3033 * modules/pam_securetty/pam_securetty.c (securetty_perform_check):
3034 Append %m specifier to pam_syslog messages where appropriate.
3035 * modules/pam_shells/pam_shells.c (perform_check): Likewise.
3037 2005-12-12 Tomas Mraz <t8m@centrum.cz>
3039 * modules/pam_mail/pam_mail.c (report_mail): Fixed typo in string.
3040 * po/Linux-PAM.pot: Likewise.
3041 * po/de.po: Likewise.
3042 * po/es.po: Likewise.
3043 * po/fi.po: Likewise.
3044 * po/fr.po: Likewise.
3045 * po/hu.po: Likewise.
3046 * po/it.po: Likewise.
3047 * po/ja.po: Likewise.
3048 * po/nb.po: Likewise.
3049 * po/pa.po: Likewise.
3050 * po/pl.po: Likewise.
3051 * po/pt.po: Likewise.
3052 * po/pt_BR.po: Likewise.
3053 * po/zh_CN.po: Likewise.
3054 * po/zh_TW.po: Likewise.
3055 * po/de.po: Add new translation, fixed typo in string.
3057 2005-12-12 Mike Becher <Mike.Becher@lrz-muenchen.de>
3059 * doc/Makefile.am: Fixed install of PS, PDF, TXT and HTML files.
3061 2005-12-12 Thorsten Kukuk <kukuk@suse.de>
3063 * modules/pam_mail/README: Document "quiet" and "standard"
3066 2005-12-07 Thorsten Kukuk <kukuk@suse.de>
3068 * modules/pam_mail/pam_mail.c: Modify assembling of output
3069 for easier translation.
3071 * po/de.po: Translate new pam_mail messages.
3074 2005-11-24 Thorsten Kukuk <kukuk@thkukuk.de>
3076 * po/de.po: Add new translation, fix wrong format specifier.
3077 * po/cs.po: Fix wrong format specifier.
3078 * po/es.po: Likewise.
3079 * po/fi.po: Likewise.
3080 * po/fr.po: Likewise.
3081 * po/hu.po: Likewise.
3082 * po/it.po: Likewise.
3083 * po/ja.po: Likewise.
3084 * po/nb.po: Likewise.
3085 * po/pa.po: Likewise.
3086 * po/pl.po: Likewise.
3087 * po/pt.po: Likewise.
3088 * po/pt_BR.po: Likewise.
3089 * po/zh_CN.po: Likewise.
3090 * po/zh_TW.po: Likewise.
3092 2005-11-24 Dmitry V. Levin <ldv@altlinux.org>
3094 * config.h.in: Remove generated file.
3095 * .cvsignore: Add config.h.in.
3097 * configure.in: Do not check for strerror.
3098 * libpam_misc/misc_conv.c (read_string): Replace strerror()
3099 call with %m specifier.
3100 * libpamc/pamc_converse.c (pamc_converse): Likewise.
3101 * modules/pam_echo/pam_echo.c (pam_echo): Likewise.
3102 * modules/pam_localuser/pam_localuser.c (pam_sm_authenticate):
3104 * modules/pam_selinux/pam_selinux.c (security_label_tty):
3106 (security_restorelabel_tty, security_label_tty): Append %m
3107 specifier where appropriate.
3108 * modules/pam_selinux/pam_selinux_check.c (main): Replace
3109 strerror() call with %m specifier.
3110 * modules/pam_unix/pam_unix_passwd.c (save_old_password,
3111 _update_passwd, _update_shadow): Likewise.
3112 * modules/pam_unix/support.c (_unix_run_helper_binary): Likewise.
3113 * modules/pam_unix/unix_chkpwd.c (_update_shadow): Likewise.
3114 * po/Linux-PAM.pot: Update strings from pam_selinux.
3115 * po/cs.po: Likewise.
3116 * po/de.po: Likewise.
3117 * po/es.po: Likewise.
3118 * po/fi.po: Likewise.
3119 * po/fr.po: Likewise.
3120 * po/hu.po: Likewise.
3121 * po/it.po: Likewise.
3122 * po/ja.po: Likewise.
3123 * po/nb.po: Likewise.
3124 * po/pa.po: Likewise.
3125 * po/pl.po: Likewise.
3126 * po/pt.po: Likewise.
3127 * po/pt_BR.po: Likewise.
3128 * po/zh_CN.po: Likewise.
3129 * po/zh_TW.po: Likewise.
3131 2005-11-23 Thorsten Kukuk <kukuk@suse.de>
3133 * modules/pam_xauth/pam_xauth.c (pam_sm_open_session): Introduce
3134 new variable to fix compiler warning.
3136 * libpam/pam_modutil_getlogin.c (pam_modutil_getlogin): PAM_TTY
3137 don't need to start with /dev/.
3139 2005-11-21 Thorsten Kukuk <kukuk@thkukuk.de>
3141 * release version 0.99.2.0
3143 * libpam_misc/Makefile.am: Increase release number (for change
3146 * NEWS: Adjust for 0.99.2.0
3148 2005-11-17 Thorsten Kukuk <kukuk@thkukuk.de>
3150 * libpam/include/security/_pam_compat.h: Fix wrong #ifdef nesting.
3151 Redefine PAM_CHANGE_EXPIRED_AUTHTOK [#604380]
3153 2005-11-16 Thorsten Kukuk <kukuk@thkukuk.de>
3155 * libpam/pam_handlers.c: Replace code for all dlopen variants with
3157 * libpam/pam_dynamic.c: Implement generic wrapper for dlopen.
3158 * libpam/pam_dynamic.h: Provide prototypes.
3159 For Mac OS X support [#534205]
3161 2005-11-09 Tomas Mraz <t8m@centrum.cz>
3163 * modules/pam_access/pam_access.c (pam_sm_acct_mgmt): Parse correctly
3165 * modules/pam_time/pam_time.c (pam_sm_acct_mgmt): Parse correctly
3166 full path tty name. Allow unset tty.
3167 (logic_member): Allow matching ':' in tty name.
3168 * modules/pam_group/pam_group.c (pam_sm_acct_mgmt): Parse correctly
3169 full path tty name. Allow unset tty.
3170 (logic_member): Allow matching ':' in tty name.
3172 * libpam_misc/misc_conv.c (read_string): Read only up to EOL if stdin
3175 2005-11-07 Thorsten Kukuk <kukuk@thkukuk.de>
3177 * modules/pam_unix/pam_unix_passwd.c (_unix_verify_shadow): Use
3178 correct variable names.
3180 2005-11-06 Steve Langasek <vorlon@debian.org>
3182 * modules/pam_env/pam_env.c: don't treat a missing
3183 /etc/environment as a fatal error when attempting to read it,
3184 and try to read this file by default; this restores the behavior
3185 from Linux-PAM 0.76.
3187 2005-11-02 Tomas Mraz <t8m@centrum.cz>
3189 * modules/pam_unix/support.c (_unix_getpwnam): Fix typo [#1224807]
3192 * modules/pam_unix/pam_unix_passwd.c (_unix_verify_shadow): Change the
3193 logic when comparing dates to handle corner cases better [#1245888].
3195 2005-10-31 Thorsten Kukuk <kukuk@suse.de>
3197 * modules/pam_filter/pam_filter.c: Use XCASE only if defined
3200 2005-10-27 Thorsten Kukuk <kukuk@suse.de>
3202 * doc/man/pam.8: Fix wording for authentication chapter [#1197444]
3204 2005-10-26 Tomas Mraz <t8m@centrum.cz>
3206 * modules/pam_unix/pam_unix_acct.c (_unix_run_verify_binary),
3207 modules/pam_unix/pam_unix_passwd.c (_unix_run_shadow_binary),
3208 modules/pam_unix/support.c (_unix_run_shadow_binary_): Set real
3209 uid to 0 before executing the helper if SELinux is enabled.
3210 * modules/pam_unix/unix_chkpwd.c (main): Disable user check only
3211 if real uid is 0 (CVE-2005-2977). Log failed password check attempt.
3214 2005-10-20 Tomas Mraz <t8m@centrum.cz>
3216 * configure.in: Added check for xauth binary and --with-xauth option.
3217 * config.h.in: Added configurable PAM_PATH_XAUTH.
3218 * modules/pam_xauth/README,
3219 modules/pam_xauth/pam_xauth.8: Document where xauth is looked for.
3220 * modules/pam_xauth/pam_xauth.c (pam_sm_open_session): Implement
3221 searching xauth binary on multiple places.
3222 (run_coprocess): Don't use execvp as it can be a security risk.
3224 2005-10-04 Steve Langasek <vorlon@debian.org>
3226 * libpam/include/security/pam_malloc.h,
3227 libpam/include/security/pam_modules.h: Declare public header
3228 files extern "C" so that they are C++-safe.
3230 2005-10-02 Dmitry V. Levin <ldv@altlinux.org>
3231 Steve Langasek <vorlon@debian.org>
3233 Cleanup gratuitous use of strdup().
3234 Fix "missing argument" checks.
3236 * modules/pam_env/pam_env.c (_pam_parse): Add const qualifier
3237 to conffile and envfile arguments. Do not use x_strdup() for
3238 conffile and envfile initialization. Fix "missing argument"
3240 (_parse_config_file): Take conffile argument of type "const char *"
3241 instead of "char **". Do not free conffile.
3242 (_parse_env_file): Take env_file argument of type "const char *"
3243 instead of "char **". Do not free env_file.
3244 (pam_sm_setcred): Add const qualifier to conf_file and env_file.
3245 Pass conf_file and env_file to _parse_config_file() and
3246 _parse_env_file() by value.
3247 (pam_sm_open_session): Likewise.
3249 * modules/pam_ftp/pam_ftp.c (_pam_parse): Add const qualifier to
3250 users argument. Do not use x_strdup() for users initialization.
3251 (lookup): Add const qualifier to list argument.
3252 (pam_sm_authenticate): Add const qualifier to users argument.
3254 * modules/pam_mail/pam_mail.c (_pam_parse): Add const qualifier
3255 to maildir argument. Do not use x_strdup() for maildir
3256 initialization. Fix "missing argument" check.
3257 (get_folder): Take path_mail argument of type "const char *"
3258 instead of "char **". Do not free path_mail.
3259 (_do_mail): Add const qualifier to path_mail argument.
3260 Pass path_mail to get_folder() by value.
3262 * modules/pam_motd/pam_motd.c: Include <syslog.h>.
3263 (pam_sm_open_session): Add const qualifier to motd_path.
3264 Do not use x_strdup() for motd_path initialization. Do not
3265 free motd_path. Fix "missing argument" check. Add "unknown
3268 * modules/pam_userdb/pam_userdb.c (_pam_parse): Add const
3269 qualifier to database and cryptmode arguments. Fix "missing
3271 (pam_sm_authenticate): Add const qualifier to database and cryptmode.
3272 (pam_sm_acct_mgmt): Likewise.
3274 2005-10-01 Steve Langasek <vorlon@debian.org>
3276 * modules/pam_userdb/pam_userdb.c: spelling fix in log message.
3278 2005-09-30 Steve Langasek <vorlon@debian.org>
3280 * modules/pam_userdb/pam_userdb.c: Fix memory leak due to
3281 gratuitous use of strdup().
3283 2005-09-27 Thorsten Kukuk <kukuk@thkukuk.de>
3287 * doc/specs/Makefile.am (install-data-local): Install
3289 (all): Copy rfc if we build outside of source directory.
3291 2005-09-27 Thorsten Kukuk <kukuk@suse.de>
3293 * NEWS: Document removal of pam_radius.
3294 * autogen.sh: Make configure script executeable.
3296 * conv/pam_conv1/Makefile (EXTRA_DIST): Removed lex.yy.c
3297 (lex.yy.c): Fixed out of tree build.
3299 * conv/pam_conv1/pam_conv.y: Fix main prototype.
3303 * po/POTFILES.in: Remove files not distributed by tar archive
3304 and not containing strings for translation.
3306 2005-09-26 Tomas Mraz <t8m@centrum.cz>
3308 * NEWS: Add a few missing entries from CHANGELOG.
3310 * AUTHORS: Fixed entries for Toady and me.
3312 * Makefile.am (M4_FILES): Fixed out of tree build.
3313 * doc/specs/Makefile.am (EXTRA_DIST): Removed lex.yy.c
3314 (spec, lex.yy.c): Fixed out of tree build.
3316 * modules/pam_userdb/README: Document try_first_pass and
3317 use_first_pass options, remove use_authtok option.
3320 2005-09-26 Dmitry V. Levin <ldv@altlinux.org>
3322 * NEWS: Mention changes in pam_lastlog.
3324 2005-09-26 Thorsten Kukuk <kukuk@suse.de>
3327 * autogen.sh: Don't generate NEWS file.
3328 * CHANGELOG: Document it as obsolete.
3330 2005-09-26 Tomas Mraz <t8m@centrum.cz>
3332 * modules/pam_unix/pam_unix_acct.c (_unix_run_verify_binary):
3333 _log_err() -> pam_syslog()
3334 (pam_sm_acct_mgmt): _log_err() -> pam_syslog(), fix warning.
3335 * modules/pam_unix/pam_unix_auth.c (pam_sm_authenticate):
3336 _log_err() -> pam_syslog()
3337 * modules/pam_unix/pam_unix_passwd.c: removed obsolete ifdef
3338 (getNISserver, _unix_run_shadow_binary, _update_passwd,
3339 _update_shadow, _do_setpass, _pam_unix_approve_pass,
3340 pam_sm_chauthtok): _log_err() -> pam_syslog()
3341 * modules/pam_unix/pam_unix_sess.c: removed obsolete ifdef
3342 (pam_sm_open_session, pam_sm_close_session):
3343 _log_err() -> pam_syslog()
3344 * modules/pam_unix/support.c (_log_err, converse): removed
3345 (_make_remark): use pam_prompt() instead of converse()
3346 (_set_ctrl, _cleanup_failures, _unix_run_helper_binary,
3347 _unix_verify_password, _unix_read_password):
3348 _log_err() -> pam_syslog()
3349 _cleanup(), _unix_cleanup(): Silence unused param warnings.
3350 (_cleanup_failures, _unix_verify_password, _unix_getpwnam,
3351 _unix_run_helper_binary): Silence incorrect type warnings.
3352 (_unix_read_password): Use multiple pam_prompt() and pam_info() calls
3353 instead of converse().
3354 * modules/pam_unix/support.h (_log_err): removed
3355 * modules/pam_unix/unix_chkpwd.c (_log_err): LOG_AUTH -> LOG_AUTHPRIV
3357 2005-09-26 Thorsten Kukuk <kukuk@suse.de>
3359 * configure.in: Add doc/specs/Makefile.
3360 * Makefile.am: Add releasedocs rule.
3361 * doc/Makefile.am: Add specs subdir, remove files from specs
3362 directory, add rfc86.0.txt to releasedocs.
3363 * doc/specs/Makefile.am: New file.
3364 * doc/specs/formatter/parse.y: move from here ...
3365 * doc/specs/parse.y: ... here.
3366 * doc/specs/formatter/parse.lex: move from here ...
3367 * doc/specs/parse.lex: ... here.
3369 * modules/pam_mail/pam_mail.c: Mark missing strings for translation
3370 * po/Linux-PAM.pot: Add new strings from pam_mail
3371 * po/cs.po: Likewise.
3372 * po/de.po: Likewise.
3373 * po/es.po: Likewise.
3374 * po/fi.po: Likewise.
3375 * po/fr.po: Likewise.
3376 * po/hu.po: Likewise.
3377 * po/it.po: Likewise.
3378 * po/ja.po: Likewise.
3379 * po/nb.po: Likewise.
3380 * po/pa.po: Likewise.
3381 * po/pl.po: Likewise.
3382 * po/pt.po: Likewise.
3383 * po/pt_BR.po: Likewise.
3384 * po/zh_CN.po: Likewise.
3385 * po/zh_TW.po: Likewise.
3387 2005-09-23 Tomas Mraz <t8m@centrum.cz>
3389 * modules/pam_access/pam_access.c (from_match): Support NULL from.
3390 (string_match): Support NULL string, add NONE keyword matching it.
3391 (pam_sm_acct_mgmt): Don't fail when ttyname returns NULL.
3392 * modules/pam_access/access.conf: NONE keyword description
3393 * modules/pam_access/README: NONE keyword description
3395 2005-09-22 Dmitry V. Levin <ldv@altlinux.org>
3397 * modules/pam_xauth/pam_xauth.c: (check_acl, pam_sm_open_session,
3398 pam_sm_close_session): Strip redundant "pam_xauth: " prefix from
3399 text of log messages.
3400 (pam_sm_open_session): Replace sequence of malloc(), strcpy()
3401 and strcat() calls with asprintf(). Replace syslog() calls
3404 * modules/pam_nologin/pam_nologin.c (parse_args): Use strncmp()
3405 instead of memcmp() for string comparison.
3407 2005-09-21 Dmitry V. Levin <ldv@altlinux.org>
3409 * modules/pam_nologin/pam_nologin.c: Include <syslog.h>.
3410 (parse_args): Add pam_handle_t* argument. Log unrecognized
3412 (perform_check): Log pam_get_user() and malloc() failures.
3413 (pam_sm_authenticate, pam_sm_setcred, pam_sm_acct_mgmt):
3414 Pass pam_handle_t* to parse_args().
3416 * modules/pam_mail/pam_mail.c: Include <errno.h>.
3417 Remove YOUR_MAIL_VERBOSE_FORMAT, YOUR_MAIL_STANDARD_FORMAT and
3418 NO_MAIL_STANDARD_FORMAT macros.
3419 (parse_args, get_folder): Cleanup error messages.
3420 (get_folder): Fix leak of the path_mail variable in case of
3421 pam_get_user() failure. Cleanup memory management.
3422 (get_mail_status): Add pam_handle_t* argument. Fix leaks of
3423 namelist variable. Cleanup memory management. Log memory
3424 allocation failures. Remove 250-byte limit on Maildir pathname.
3425 (report_mail): Mark text messages for translation.
3426 (_do_mail): Cleanup memory management. Pass pam_handle_t*
3427 to get_mail_status().
3429 * po/Linux-PAM.pot: Update with new strings from pam_mail for
3431 * po/cs.po: Likewise.
3432 * po/de.po: Likewise.
3433 * po/es.po: Likewise.
3434 * po/fi.po: Likewise.
3435 * po/fr.po: Likewise.
3436 * po/hu.po: Likewise.
3437 * po/it.po: Likewise.
3438 * po/ja.po: Likewise.
3439 * po/nb.po: Likewise.
3440 * po/pa.po: Likewise.
3441 * po/pl.po: Likewise.
3442 * po/pt.po: Likewise.
3443 * po/pt_BR.po: Likewise.
3444 * po/zh_CN.po: Likewise.
3445 * po/zh_TW.po: Likewise.
3447 2005-09-20 Thorsten Kukuk <kukuk@suse.de>
3449 * configure.in: Add finish translation.
3452 * acinclude.m4: remove libprelude macros.
3453 * m4/libprelude.m4: New.
3455 * Makefile.am (EXTRA_DIST): make sure we include all m4 macros.
3457 * libpamc/Makefile.am (EXTRA_DIST): Add License.
3459 See CHANGELOG for earlier changes.