Automic VaultAutomic Vault

brew

使用 Homebrew, apk, Nix 安装 linux-pam

查看 linux-pam 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install linux-pam

local Homebrew formula metadata

Linux

Alpine Linux apk已验证 · 92%
sudo apk add linux-pam

Alpine Linux edge package indexes · linux-pam · 来源: dl-cdn.alpinelinux.org

Nix已验证 · 92%
nix profile install nixpkgs#linux-pam

nixpkgs package indexes · pkgs/by-name/li/linux-pam/package.nix · 来源: api.github.com

概览

软件包摘要

Pluggable Authentication Modules for Linux

命令和别名

  • faillock
  • mkhomedir_helper
  • pam_namespace_helper
  • pam_timestamp_check
  • pwhistory_helper
  • unix_chkpwd

历史

项目历史与用法

Linux-PAM is the Linux implementation of the Pluggable Authentication Modules model: applications call a common PAM API, while administrators compose authentication, account, password, and session behavior through loadable modules and policy files.

项目历史

The PAM design entered the Unix security vocabulary through the October 1995 Open Software Foundation RFC by SunSoft authors Vipin Samar and Roland Schemers. That document framed PAM as a way to keep login, ftp, telnet, rlogin, and similar entry points independent from rapidly changing authentication mechanisms such as Kerberos, RSA, S/Key, smart cards, and local Unix passwords.

Linux-PAM carried that model into Linux distributions. The project repository identifies Andrew G. Morgan, Dmitry V. Levin, Thorsten Kukuk, Sebastien Tricaud, and Tomas Mraz among the original authors and maintainers, and the repository history preserves a long-running C codebase, manual pages, examples, tests, and release notes.

采用历史

PAM became part of the expected shape of a Linux login stack: distribution packages, service files under /etc/pam.d, and modules such as pam_unix, pam_limits, pam_env, pam_access, pam_faillock, and pam_mkhomedir made authentication policy composable without rebuilding every consumer program.

The Homebrew formula is Linux-only and packages Linux-PAM for Homebrew-on-Linux use cases, which is a good example of why package managers care about it: many higher-level packages assume the PAM ABI and module layout even when installed outside a traditional distribution.

使用方式

Administrators use Linux-PAM by editing service-specific policy stacks in /etc/pam.d or the older /etc/pam.conf style, choosing modules and control flags for authentication, account checks, password changes, and session setup.

For developers and packagers, Linux-PAM matters as a C library and module ABI. Applications link to libpam and call pam_start, pam_authenticate, pam_acct_mgmt, pam_open_session, and related interfaces, while distributions ship modules and policy defaults.

为什么软件包爱好者会关心

Linux-PAM sits at the uncomfortable but important boundary between package management and machine security: installing or upgrading it can affect login, sudo, SSH, desktop sessions, password policy, resource limits, and home-directory creation.

Its release notes show a classic system-library evolution story: security fixes, module deprecations, distro integration, build-system changes, Y2038-related cleanup, SELinux and audit support, and compatibility work across authentication stacks.

时间线

  • 1995: OSF RFC 86.0 described the PAM architecture for unified login with pluggable authentication modules.
  • 2005: The 0.99 release series included Linux audit support, module additions, and packaging-era cleanup visible in the Linux-PAM NEWS history.
  • 2009: The 1.0.x release series marked Linux-PAM's transition out of the 0.99 series.
  • 2020: Linux-PAM 1.5.0 removed deprecated pam_cracklib and pam_tally modules and pointed users toward pam_pwquality, passwdqc, and pam_faillock.
  • 2024: Linux-PAM 1.6.0 added long-line configuration support and several parser-hardening changes.
  • 2025: Linux-PAM 1.7.0 switched the build system from autotools to Meson.
  • 2026: Linux-PAM 1.7.2 was published on GitHub on January 22, 2026.

Related projects

  • OpenPAM and Solaris PAM are related PAM-family implementations; libpwquality, passwdqc, lastlog2, and wtmpdb appear in Linux-PAM's own release notes as neighboring projects for password quality and login accounting.
  • System services such as sudo, OpenSSH, login managers, shadow utilities, and distribution installers commonly integrate with PAM policy rather than embedding all authentication policy themselves.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 2 个平台目标。
  • 安装时包含 3 个运行时依赖。
  • 构建元数据列出 3 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Linux
/etc/pam.conf/etc/pam.d/

可执行文件

已安装的可执行文件

命令类型暴露范围备注
faillockcli全局可执行文件
mkhomedir_helpercli全局可执行文件
pam_namespace_helpercli全局可执行文件
pam_timestamp_checkcli全局可执行文件
pwhistory_helpercli全局可执行文件
unix_chkpwdcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本1.7.2
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/linux-pam/linux-pam

安装元数据

软件包元数据

软件包键brew:linux-pam
版本1.7.2
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/linux-pam
主页https://github.com/linux-pam/linux-pam
仓库https://github.com/linux-pam/linux-pam
上游文档https://github.com/linux-pam/linux-pam/tree/master/doc
许可证BSD-3-Clause OR GPL-1.0-only
源码归档https://github.com/linux-pam/linux-pam/releases/download/v1.7.2/Linux-PAM-1.7.2.tar.xz
依赖libnsl, libtirpc, libxcrypt
构建依赖meson, ninja, pkgconf
Bottle可用 (于 arm64_linux, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelinux-pam
Version Scheme0
Revision0
Head VersionHEAD
Requirements
  • linux
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

linux-pam

nix profile install nixpkgs#linux-pam
  • normalized package name match
  • 匹配方式:Linux Pam
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/li/linux-pam/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

linux-pam 1.7.1-r2

Linux PAM (Pluggable Authentication Modules for Linux)

https://www.kernel.org/pub/linux/libs/pam

sudo apk add linux-pam
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: linux-pam
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Linux Pam
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: linux-pam from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

linux-pam-dev 1.7.1-r2

Linux PAM (Pluggable Authentication Modules for Linux) (development files)

https://www.kernel.org/pub/linux/libs/pam

sudo apk add linux-pam-dev
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: linux-pam
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Linux Pam
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: linux-pam-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

linux-pam-doc 1.7.1-r2

Linux PAM (Pluggable Authentication Modules for Linux) (documentation)

https://www.kernel.org/pub/linux/libs/pam

sudo apk add linux-pam-doc
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: linux-pam
  • normalized package name match
  • 匹配方式:Linux Pam
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: linux-pam-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

linux-pam-manual 1.7.1-r2

Linux PAM (Pluggable Authentication Modules for Linux) (manual)

https://www.kernel.org/pub/linux/libs/pam

sudo apk add linux-pam-manual
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: linux-pam
  • normalized package name match
  • 匹配方式:Linux Pam
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: linux-pam-manual from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

linux-pam-systemd 1.7.1-r2

Linux PAM (Pluggable Authentication Modules for Linux) (systemd files)

https://www.kernel.org/pub/linux/libs/pam

sudo apk add linux-pam-systemd
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: linux-pam
  • normalized package name match
  • 匹配方式:Linux Pam
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: linux-pam-systemd from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment