NEWS 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433
  1. Linux-PAM NEWS -- history of user-visible changes.
  2. Release 1.5.2
  3. * pam_exec: implemented quiet_log option.
  4. * pam_mkhomedir: added support of HOME_MODE and UMASK from /etc/login.defs.
  5. * pam_timestamp: changed hmac algorithm to call openssl instead of the bundled
  6. sha1 implementation if selected, added option to select
  7. the hash algorithm to use with HMAC.
  8. * Added pkgconfig files for provided libraries.
  9. * Added --with-systemdunitdir configure option to specify systemd unit
  10. directory.
  11. * Added --with-misc-conv-bufsize configure option to specify the buffer size
  12. in libpam_misc's misc_conv() function, raised the default value for this
  13. parameter from 512 to 4096.
  14. * Multiple minor bug fixes, portability fixes, documentation improvements,
  15. and translation updates.
  16. Release 1.5.1
  17. * pam_unix: fixed CVE-2020-27780 - authentication bypass when a user
  18. doesn't exist and root password is blank
  19. * pam_faillock: added nodelay option to not set pam_fail_delay
  20. * pam_wheel: use pam_modutil_user_in_group to check for the group membership
  21. with getgrouplist where it is available
  22. Release 1.5.0
  23. * Multiple minor bug fixes, portability fixes, and documentation improvements.
  24. * Extended libpam API with pam_modutil_check_user_in_passwd function.
  25. * configure: added --disable-unix option to disable build of pam_unix module.
  26. * pam_faillock: changed /run/faillock/$USER permissions from 0600 to 0660.
  27. * pam_limits: added support for nonewprivs item.
  28. * pam_motd: read motd files with target user credentials skipping unreadable ones.
  29. * pam_pwhistory: added a SELinux helper executable.
  30. * pam_unix, pam_usertype: implemented avoidance of certain timing attacks.
  31. * pam_wheel: implemented PAM_RUSER fallback for the case when getlogin fails.
  32. * Removed deprecated pam_cracklib module, use pam_passwdqc (from passwdqc project)
  33. or pam_pwquality (from libpwquality project) instead.
  34. * Removed deprecated pam_tally and pam_tally2 modules, use pam_faillock instead.
  35. * pam_env: Reading of the user environment is deprecated and will be removed
  36. at some point in the future.
  37. * libpam: pam_modutil_drop_priv() now correctly sets the target user's
  38. supplementary groups, allowing pam_motd to filter messages accordingly
  39. Release 1.4.0
  40. * Multiple minor bug fixes and documentation improvements
  41. * Fixed grammar of messages printed via pam_prompt
  42. * Added support for a vendor directory and libeconf
  43. * configure: Added --enable-Werror option to enable -Werror build
  44. * configure: Allowed disabling documentation through --disable-doc
  45. * pam_get_authtok_verify: Avoid duplicate password verification
  46. * pam_cracklib: Fixed parsing of options without arguments
  47. * pam_env: Changed the default to not read the user .pam_environment file
  48. * pam_exec: Require a user name to be specified before the command is executed
  49. * pam_faillock: New module for locking after multiple auth failures
  50. * pam_group, pam_time: Fixed logical error with multiple ! operators
  51. * pam_keyinit: In pam_sm_setcred do the same as in pam_sm_open_session
  52. * pam_lastlog: Do not log info about failed login if the session was opened
  53. with PAM_SILENT flag
  54. * pam_lastlog: Limit lastlog file use by LASTLOG_UID_MAX option in login.defs
  55. * pam_lastlog: With 'unlimited' option prevent SIGXFSZ due to reduced 'fsize'
  56. limit
  57. * pam_mkhomedir: Fixed return value when the user is unknown
  58. * pam_motd: Export MOTD_SHOWN=pam after showing MOTD
  59. * pam_motd: Support multiple motd paths specified, with filename overrides
  60. * pam_namespace: Added a systemd service, which creates the namespaced
  61. instance parent directories during boot
  62. * pam_namespace: Support for noexec, nosuid and nodev flags for tmpfs mounts
  63. * pam_selinux: Check unknown object classes or permissions in current policy
  64. * pam_selinux: Fall back to log to syslog if audit logging fails
  65. * pam_setquota: New module to set or modify disk quotas on session start
  66. * pam_shells: Recognize /bin/sh as the default shell
  67. * pam_succeed_if: Fixed potential override of the default prompt
  68. * pam_succeed_if: Support lists in group membership checks
  69. * pam_time: Added conffile= option to specify an alternative configuration file
  70. * pam_tty_audit: If kernel audit is disabled return PAM_IGNORE
  71. * pam_umask: Added new 'nousergroups' module argument and allowed specifying
  72. the default for usergroups at build-time
  73. * pam_unix: Added 'nullresetok' option to allow resetting blank passwords
  74. * pam_unix: Report unusable hashes found by checksalt to syslog
  75. * pam_unix: Return PAM_AUTHINFO_UNAVAIL when shadow entry is unavailable
  76. * pam_unix: Support for (gost-)yescrypt hashing methods
  77. * pam_unix: Use bcrypt b-variant when it bcrypt is chosen
  78. * pam_usertype: New module to tell if uid is in login.defs ranges
  79. * Fixed and documented possible values returned by pam_get_user()
  80. * Added new API call pam_start_confdir() for special applications that
  81. cannot use the system-default PAM configuration paths and need to
  82. explicitly specify another path
  83. * Deprecated pam_cracklib: this module is no longer built by default and will
  84. be removed in the next release, use pam_passwdqc (from passwdqc project)
  85. or pam_pwquality (from libpwquality project) instead
  86. * Deprecated pam_tally and pam_tally2: these modules are no longer built
  87. by default and will be removed in the next release, use pam_faillock instead
  88. Release 1.3.1
  89. * pam_motd: add support for a motd.d directory
  90. * pam_umask: Fix documentation to align with order of loading umask
  91. * pam_get_user.3: Fix missing word in documentation
  92. * pam_tally2 --reset: avoid creating a missing tallylog file
  93. * pam_mkhomedir: Allow creating parent of homedir under /
  94. * access.conf.5: Add note about spaces around ':'
  95. * pam.8: Workaround formatting problem
  96. * pam_unix: Check return value of malloc used for setcred data
  97. * pam_cracklib: Drop unused prompt macros
  98. * pam_tty_audit: Support matching users by uid range
  99. * pam_access: support parsing files in /etc/security/access.d/*.conf
  100. * pam_localuser: Correct documentation
  101. * pam_issue: Fix no prompting in parse escape codes mode
  102. * Unification and cleanup of syslog log levels
  103. Release 1.3.0
  104. * Remove of static modules support
  105. * pam_unix: pass_not_set was removed
  106. * Lot of documentation fixes
  107. * Use TI-RPC function calls if we build against libtirpc
  108. * Add support for new, IPv6 enabled libnsl
  109. * Lot of bug fixes
  110. * Use fedora.zanata.org for translations
  111. Release 1.2.1
  112. * Fix CVE-2015-3238, affected PAM modules are pam_unix and pam_exec
  113. Release 1.2.0
  114. * Update documentation
  115. * Update translations
  116. * pam_unix: add quiet option
  117. * libpam: support alternative configuration files in /usr/lib/pam.d
  118. as fallback
  119. * pam_env: add support for @{HOME} and @{SHELL}
  120. * libpam: add grantor field to audit records
  121. * libpam: Introduce pam_modutil_sanitize_helper_fds
  122. Release 1.1.8
  123. * pam_unix: bug fix for compiling with SELinux, fix crash at login time
  124. Release 1.1.7
  125. * Update translations
  126. * pam_exec: add stdout and type= options
  127. * pam_tty_audit: add options to control logging of passwords
  128. * pam_unix: Read defaults from /etc/login.defs
  129. * pam_userdb: Allow modern password hashes
  130. * pam_selinux/pam_tally2: Add tty and rhost to audit data
  131. * Lot of docu and code fixes
  132. Release 1.1.6
  133. * Update translations
  134. * pam_cracklib: Add more checks for weak passwords
  135. * pam_lastlog: Never lock out root
  136. * Lot of bug fixes and smaller enhancements
  137. Release 1.1.5
  138. * pam_env: Fix CVE-2011-3148 and CVE-2011-3149
  139. * pam_access: Add hostname resolution cache
  140. * Documentation: Improvements/fixes
  141. Release 1.1.4
  142. * Add vietnamese translation
  143. * pam_namepace: Add new functionality
  144. * pam_securetty: Honour console= kernel option, add noconsole option
  145. * pam_limits: Add %group syntax, drop change_uid option, add set_all option
  146. * Lot of small bug fixes
  147. * Lot of compiler warnings fixed
  148. * Add support for libtirpc
  149. Release 1.1.3
  150. * pam_namespace: Clean environment for child processes (CVE-2010-3853)
  151. * libpam: New interface to drop/regain privileges
  152. * Drop root privilegs in pam_env, pam_mail and pam_xauth before
  153. accessing user files (CVE-2010-3430, CVE-2010-3431)
  154. * pam_unix: Add minlen option, change default from 6 to 0
  155. * Documentation improvements
  156. * Lot of small bug fixes
  157. Release 1.1.2
  158. * pam_unix: Add minlen= option
  159. * pam_group: Add support for UNIX groups beside netgroups
  160. * pam_tally: Document that it is deprecated
  161. * pam_rootok: Add support for chauthtok and acct_mgmt
  162. * Update translations
  163. Release 1.1.1
  164. * Update translations
  165. * pam_access: Revert netgroup match to original behavior, add new
  166. syntax for adding the local hostname to netgroup match
  167. * libpam: Add new functions pam_get_authtok_noverify() and
  168. pam_get_authtok_verify()
  169. * Add sepermit.conf.5 manual page
  170. * Lot of bug fixes
  171. Release 1.1.0
  172. * Update translations
  173. * Documentation updates and fixes
  174. Release 1.0.92
  175. * Update translations
  176. * pam_succeed_if: Use provided username
  177. * pam_mkhomedir: Fix handling of options
  178. Release 1.0.91
  179. * Fixed CVE-2009-0579 (minimum days limit on password change is ignored).
  180. * Fix libpam internal config/argument parser
  181. * Add optional file locking to pam_tally2
  182. * Update translations
  183. * pam_access improvements
  184. * Changes in the behavior of the password stack. Results of PRELIM_CHECK
  185. are not used for the final run.
  186. Release 1.0.90
  187. * Supply hostname of the machine to netgroup match call in pam_access
  188. * Make pam_namespace to work safe on child directories of parent directories
  189. owned by users
  190. * Redefine LOCAL keyword of pam_access configuration file
  191. * Add support for try_first_pass and use_first_pass to pam_cracklib
  192. * Print informative messages for rejected login and add silent and
  193. no_log_info options to pam_tally
  194. * Add support for passing PAM_AUTHTOK to stdin of helpers from pam_exec
  195. * New password quality tests in pam_cracklib
  196. * New options for pam_lastlog to show last failed login attempt and
  197. to disable lastlog update
  198. * New pam_pwhistory module to store last used passwords
  199. * New pam_tally2 module similar to pam_tally with wordsize independent
  200. tally data format
  201. * Make libpam not log missing module if its type is prepended with '-'
  202. * New pam_timestamp module for authentication based on recent successful
  203. login.
  204. * Add blowfish support to pam_unix.
  205. * Add support for user specific environment file to pam_env.
  206. * Add pam_get_authtok to libpam as Linux-PAM extension.
  207. * Rename type option of pam_cracklib to authtok_type.
  208. Release 1.0.3
  209. * Small bug fix release
  210. Release 1.0.2
  211. * Regression fixed in pam_selinux
  212. * Problem with big UIDs fixed in pam_loginuid
  213. Release 1.0.1
  214. * Regression fixed in pam_set_item()
  215. Release 1.0.0
  216. * Small bug fixes
  217. * Translation updates
  218. Release 0.99.10.0
  219. * New substack directive in config file syntax.
  220. * New module pam_tty_audit.so for enabling and disabling tty
  221. auditing.
  222. * New PAM items PAM_XDISPLAY and PAM_XAUTHDATA.
  223. * Auditing login denials based by origin (pam_access), time (pam_time),
  224. and number of sessions (pam_limits) to the Linux audit subsystem.
  225. * Support sha256 and sha512 algorithms in pam_unix when they are supported
  226. by crypt().
  227. * New pam_sepermit.so module for allowing/rejecting access based on
  228. SELinux mode.
  229. * Improved functionality of pam_namespace.so module (method flags,
  230. namespace.d configuration directory, new options).
  231. * Finally removed deprecated pam_rhosts_auth module.
  232. Release 0.99.9.0
  233. * misc_conv no longer blocks SIGINT; applications that don't want
  234. user-interruptable prompts should block SIGINT themselves
  235. * Merge fixes from Debian
  236. * Fix parser for pam_group and pam_time
  237. Release 0.99.8.1
  238. * Fix a regression in audit code introduced with last release
  239. * Fix compiling with --disable-nls
  240. Release 0.99.8.0
  241. * Add translations for ar, ca, da, ru, sv and zu.
  242. * Update hungarian translation.
  243. * Add support for limits.d directory to pam_limits.
  244. * Improve pam_namespace module tobe more useful
  245. for MLS, fixed crash with bad config files.
  246. * Improve pam_selinux module to be more useful
  247. for MLS.
  248. * Add minclass option to pam_cracklib
  249. * Add new group syntax to pam_access
  250. Release 0.99.7.1
  251. * Security fix for pam_unix.so (CVE-2007-0003).
  252. Release 0.99.7.0
  253. * Add manual page for pam_unix.so.
  254. * Add pam_faildelay module to set pam_fail_delay() value.
  255. * Fix possible seg.fault in libpam/pam_set_data().
  256. * Cleanup of configure options.
  257. * Update hungarian translation, fix german translation.
  258. Release 0.99.6.3
  259. * pam_loginuid: New PAM module.
  260. * pam_access, pam_succeed_if: Support passwd and session services.
  261. Release 0.99.6.2
  262. * pam_lastlog: Don't refuse login if lastlog file got lost.
  263. * pam_cracklib: Fix a user triggerable crash.
  264. * documentation: Regenerate with fixed docbook stylesheet.
  265. Release 0.99.6.1
  266. * Fix bootstrapping problems.
  267. * Bug fixes: pam_keyinit, pam_umask
  268. Release 0.99.6.0
  269. * pam_namespace: Code cleanup, add init script to tar archive.
  270. * pam_succeed_if: Add support for service match.
  271. * Add xtests (to run after installation).
  272. * Documentation: Convert sgml guides to XML, unify documentation
  273. for PAM functions and modules.
  274. Release 0.99.5.0
  275. * pam_tally: Fix support for large UIDs
  276. * Fixed all problems found by Coverity
  277. * Add support for Intel C Compiler
  278. * Add manual page for pam_mkhomedir, pam_umask, pam_filter,
  279. pam_issue, pam_ftp, pam_group, pam_lastlog, pam_listfile,
  280. pam_localuser, pam_mail, pam_motd, pam_nologin, pam_permit,
  281. pam_rootok, pam_securetty, pam_shells, pam_userdb, pam_warn,
  282. pam_time, pam_limits, pam_debug, pam_tally
  283. * The libpam memory debug code was removed
  284. * pam_keyinit: New module to initialise kernel session keyring.
  285. * pam_namespace: New module to configure private namespace for a session.
  286. * pam_rhosts: New module which replaces pam_rhosts_auth, now IPv6 capable.
  287. * pam_rhosts_auth: This module is now deprecated.
  288. Release 0.99.4.0
  289. * Add test suite
  290. * Fix building of static variants of libpam, libpamc and libpam_misc
  291. * pam_listfile: Add support for password and session management
  292. * pam_exec: New PAM module to execute arbitrary commands
  293. * Fix building of a static libpam including all PAM modules
  294. * New/updated translations for: nl, pt, pl, fi, km, tr, uk, fr
  295. * pam_access: Add network(address) / netmask and IPv6 support
  296. * Add manual pages for pam_cracklib, pam_deny and pam_access
  297. * pam_pwdb: This deprecated module was removed
  298. * Manual pages: Major rewrite/cleanup
  299. Release 0.99.3.0
  300. * Fix NULL pointer checks in libpam.so
  301. * pam_succeed_if, pam_group, pam_time: Support netgroup matching
  302. * New translations for: nb, hu, fi, de, es, fr, it, ja, pt_BR, zh_CN, zh_TW
  303. * Audit PAM calls if Linux Audit is available
  304. * Compile upperLOWER and unix_chkpwd as PIE binaries
  305. Release 0.99.2.1
  306. * Fix install of PS, PDF, TXT and HTML files
  307. * pam_mail: Update README
  308. * Use %m consistent
  309. * pam_modutil_getlogin: Fix parsing of PAM_TTY variable
  310. Release 0.99.2.0
  311. * Fix parsing of full path tty name in various modules
  312. * pam_xauth: Look for xauth executable in multiple places
  313. * pam_unix: Disable user check in unix_chkpwd only if real uid
  314. is 0 (CVE-2005-2977). Log failed password check attempt.
  315. * pam_env: Support /etc/environment again, but don't treat it as
  316. error if it is missing.
  317. * pam_userdb: Fix memory leak.
  318. Release 0.99.1.0
  319. * Use autoconf/automake/libtool
  320. * Add gettext support
  321. * Add translations for cs, de, es, fr, hu, it, ja, nb, pa, pt_BR,
  322. pt, zh_CN and zh_TW
  323. * libpam: Remove pam_authenticate_secondary stub
  324. * libpam: Add pam_prompt,pam_vprompt,pam_error,pam_verror,pam_info
  325. and pam_vinfo functions for use by modules as extension
  326. * libpam: Add pam_syslog function for unified syslog messages from
  327. PAM modules
  328. * libpam: Moved functions from pammodutil to libpam
  329. * pam_umask: New module for setting umask from GECOS field, /etc/login.defs
  330. or /etc/default/login
  331. * pam_echo: New PAM module for message output
  332. * pam_userdb: Fix regression (crash when crypt param not specified)
  333. * pam_limits: Fix regression from RLIMIT_NICE support (wrong limit
  334. values for other limits are applied)
  335. * pam_access: Support for NULL tty - matches ALL and NONE keywords
  336. * pam_lastlog: Enable log to wtmp by default. Add "nowtmp" option
  337. * pam_radius: This module was removed