macOS
brew install xauthlocal Homebrew formula metadata
sudo port install xauthMacPorts ports tree · x11/xauth/Portfile · 来源: api.github.com
安装
brew install xauthlocal Homebrew formula metadata
sudo port install xauthMacPorts ports tree · x11/xauth/Portfile · 来源: api.github.com
sudo apk add xauthAlpine Linux edge package indexes · xauth · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#xauthnixpkgs package indexes · pkgs/by-name/xa/xauth/package.nix · 来源: api.github.com
sudo zypper install xauthopenSUSE Tumbleweed package metadata · xauth · 来源: download.opensuse.org
sudo dnf install xorg-x11-xauthFedora Rawhide package metadata · xorg-x11-xauth · 来源: dl.fedoraproject.org
概览
X.Org Applications: xauth
历史
xauth is the X.Org X authority file utility. It edits and displays the authorization records used when X clients connect to an X server, especially records stored in the user's X authority file.
The xauth manual credits Jim Fulton of the MIT X Consortium as author, placing the utility in the long-running X11 security and display-access toolchain. The current upstream project is maintained as an X.Org application under freedesktop.org, where the GitLab project describes it as the 'X authority file utility.'
xauth was carried into the modular X.Org application set. X.Org's public release pages describe the post-X11R7.7 model in which individual modules are released independently, and the xauth repository follows that model with standalone tags such as xauth-1.0.3 in 2008 and later 1.1.x releases.
xauth became infrastructure rather than an end-user application: display managers, startx workflows, remote shells, and administrators use authority records so X clients can prove they are allowed to connect. Its persistence across X.Org releases, Unix distributions, and macOS X11 environments follows from that role.
The GitLab project shows the repository under the xorg/app namespace, and the mirrored cgit page lists a long X.Org history, older XFree86-era tags, and recent xauth release tags through xauth-1.1.5 in December 2025.
The manual describes xauth commands such as add, generate, extract, merge, list, and remove. A typical remote workflow is to extract the record for the current DISPLAY and merge it on another host, as in the manual's ssh pipeline example.
xauth normally uses the file named by XAUTHORITY, falling back to $HOME/.Xauthority. It does not usually create the first authority entry itself; the program that starts the X server, such as xdm or startx, usually does that.
For package maintainers and Unix users, xauth is the tiny command that makes X11 forwarding and cross-user X sessions understandable and scriptable. It is one of those small X.Org packages whose value is disproportionate to its size because many remote-GUI workflows fail without a correct authority file.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Credential-bearing paths to review before unattended agent runs.
$XAUTHORITY~/.Xauthority可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
xauth | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:xauth |
|---|---|
| 版本 | 1.1.5 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/xauth |
| 主页 | https://www.x.org/ |
| 仓库 | https://gitlab.freedesktop.org/xorg/app/xauth |
| 上游文档 | https://www.x.org/archive/X11R7.5/doc/man/man1/xauth.1.html |
| 许可证 | MIT-open-group |
| 源码归档 | https://www.x.org/pub/individual/app/xauth-1.1.5.tar.xz |
| 依赖 | libx11, libxau, libxext, libxmu |
| 构建依赖 | pkgconf, util-macros |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | xauth |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
xauth 1:1.1.2-1.1
X authentication utility
sudo apt install xauthxauth
nix profile install nixpkgs#xauthxauth 1:1.1.2-1build1
X authentication utility
sudo apt install xauthxauth 1.1.5-r0
X.Org authorization settings program
sudo apk add xauthxauth-doc 1.1.5-r0
X.Org authorization settings program (documentation)
sudo apk add xauth-docxorg-x11-xauth 1.1.5-1.fc44
X.Org X11 X authority utilities
sudo dnf install xorg-x11-xauthxauth 1.1.5-1.3
Utility to edit and display the X authorization information
sudo zypper install xauthxauth
sudo port install xauth来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.