# xauth を Homebrew, apk, apt, MacPorts, Nix, zypper, dnf でインストール

xauth のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:xauth
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install xauth
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install xauth
```

  証拠: MacPorts ports tree: x11/xauth/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add xauth
```

  証拠: Alpine Linux edge package indexes: xauth from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install xauth
```

  証拠: Debian stable package indexes: xauth from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#xauth
```

  証拠: nixpkgs package indexes: pkgs/by-name/xa/xauth/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install xauth
```

  証拠: openSUSE Tumbleweed package metadata: xauth from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

- dnf (92%):

```sh
sudo dnf install xorg-x11-xauth
```

  証拠: Fedora Rawhide package metadata: xorg-x11-xauth from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:xauth
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.1.5
- **ソース概要:** X.Org Applications: xauth
- **ホームページ:** <https://www.x.org/>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- xauth (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.1.5
## プロジェクトの歴史と使われ方

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.

### タイムライン

- MIT X Consortium era: xauth is authored as the X authority file utility by Jim Fulton.
- 2008: xauth 1.0.3 is announced on xorg-announce as an individual X.Org app release.
- 2012: X11R7.7 is released; X.Org later continues mostly with independent module releases.
- 2018: The freedesktop.org GitLab project page records creation of the xorg/app/xauth project.
- 2025: The cgit mirror lists xauth-1.1.4 and xauth-1.1.5 release tags.

### Related projects

- The xauth manual points to X(7), Xsecurity(7), xhost(1), Xserver(1), xdm(1), startx(1), and Xau(3). In practice, xauth sits beside these X11 access-control and session-startup tools.

### ソース

- <https://cgit.freedesktop.org/xorg/app/xauth>
- <https://gitlab.freedesktop.org/xorg/app/xauth>
- <https://lists.freedesktop.org/archives/xorg-announce/2008-March/000468.html>
- <https://www.x.org/archive/X11R7.5/doc/man/man1/xauth.1.html>
- <https://www.x.org/wiki/>
- <https://www.x.org/wiki/Releases/7.7/>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals


## 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.


## Credential files

- Unix: $XAUTHORITY, ~/.Xauthority
## 他のパッケージマネージャ記録

- Debian apt - xauth - 1:1.1.2-1.1: normalized package name match | Debian stable package indexes: xauth from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | X authentication utility
- Nix - xauth: normalized package name match | nixpkgs package indexes: pkgs/by-name/xa/xauth/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - xauth - 1:1.1.2-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: xauth from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | X authentication utility
- apk - xauth - 1.1.5-r0: normalized package name match | Alpine Linux edge package indexes: xauth from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | X.Org authorization settings program | https://xorg.freedesktop.org/
- apk - xauth-doc - 1.1.5-r0: normalized package name match | Alpine Linux edge package indexes: xauth-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | X.Org authorization settings program (documentation) | https://xorg.freedesktop.org/
- dnf - xorg-x11-xauth - 1.1.5-6.fc45: normalized package name match | Fedora Rawhide package metadata: xorg-x11-xauth from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | X.Org X11 X authority utilities | https://www.x.org
- zypper - xauth - 1.1.5-1.5: normalized package name match | openSUSE Tumbleweed package metadata: xauth from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Utility to edit and display the X authorization information | https://xorg.freedesktop.org/
- MacPorts - xauth: normalized package name match | MacPorts ports tree: x11/xauth/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/xauth.yml](https://github.com/mxcl/pkgdb/blob/main/combined/xauth.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
