[Midnightbsd-cvs] [MidnightBSD/src] f8da53: pam: use pam_xdg for the system session stack

Lucas Holt noreply at github.com
Mon Jul 13 00:48:32 EDT 2026


  Branch: refs/heads/stable/4.1
  Home:   https://github.com/MidnightBSD/src
  Commit: f8da5389845e2187ea2a08c92f38821ccef61ba0
      https://github.com/MidnightBSD/src/commit/f8da5389845e2187ea2a08c92f38821ccef61ba0
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-07-13 (Mon, 13 Jul 2026)

  Changed paths:
    M lib/libpam/pam.d/system

  Log Message:
  -----------
  pam: use pam_xdg for the system session stack

Add pam_xdg to the system PAM policy so that console logins get
XDG_RUNTIME_DIR, matching FreeBSD, which enables the module in both
the system and xdm policies.

Only login(1) includes the system session stack; sshd and su declare
their own (pam_permit), so remote and su sessions are unaffected.

Obtained from:	FreeBSD

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply at anthropic.com>


  Commit: 06bbfba1a1e05f21e787bb2a1961fae2e6773612
      https://github.com/MidnightBSD/src/commit/06bbfba1a1e05f21e787bb2a1961fae2e6773612
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-07-13 (Mon, 13 Jul 2026)

  Changed paths:
    M UPDATING

  Log Message:
  -----------
  UPDATING: note pam_xdg(8) in the system PAM policy

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply at anthropic.com>


  Commit: 639440dbc10350af22a1380a75469588dca5754f
      https://github.com/MidnightBSD/src/commit/639440dbc10350af22a1380a75469588dca5754f
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-07-13 (Mon, 13 Jul 2026)

  Changed paths:
    M sys/sys/param.h

  Log Message:
  -----------
  bump __MidnightBSD_version to 401003 for pam_xdg(8)

Base now provides pam_xdg(8) and enables it in the system and xdm PAM
policies.  Bump so that mports can gate on OSVERSION >= 401003 to
detect a base that supplies XDG_RUNTIME_DIR.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply at anthropic.com>


Compare: https://github.com/MidnightBSD/src/compare/458d101cf417...639440dbc103

To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/src/settings/notifications


More information about the Midnightbsd-cvs mailing list