# 使用 Homebrew, apt, dnf 安装 msktutil

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

## 安装

```sh
sudo av install brew:msktutil
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install msktutil
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install msktutil
```

  证据: Debian stable package indexes: msktutil from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install msktutil
```

  证据: Fedora Rawhide package metadata: msktutil from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

## 软件包事实

- **软件包键:** brew:msktutil
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/msktutil>
- **版本:** 1.2.2
- **来源摘要:** Active Directory keytab management
- **主页:** <https://github.com/msktutil/msktutil>
- **仓库:** <https://github.com/msktutil/msktutil>
- **上游文档:** <https://github.com/msktutil/msktutil#readme>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://github.com/msktutil/msktutil/releases/download/1.2.2/msktutil-1.2.2.tar.bz2>
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- msktutil (cli)
- msktutil (别名)

## 依赖

- krb5

## macOS 提供的库

- cyrus-sasl
- openldap

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 1.2.2
- 本地数据: OK
- 上游仓库: https://github.com/msktutil/msktutil
- 信息: No package-manager update timestamp was available.
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

msktutil is a Unix/Linux utility for interoperability with Microsoft Active Directory Kerberos environments. Its README says it creates user or computer accounts in Active Directory, creates system and service keytabs, adds and removes principals, and changes account passwords. Ubuntu's man page describes the same role: creating AD accounts, adding service principals, and creating local keytab files so Kerberized services can use Active Directory as their Kerberos infrastructure.

### 项目历史

The project's own early-history note identifies Dan Perry as the original author, Brian Elliott Finley as the person who Debianized it in March 2006, Doug Engbert as a 2009 contributor, and James Knight's 2010 import of the Debian package as the point where history and contributions began being tracked in Git. The README lists Mark Proehl, Michael Osipov, and Daniel Kobras as maintainers.

### 使用方式

In practice, msktutil is used by administrators who need non-Windows hosts or services to participate in an AD realm without manually constructing keytabs and service principals. Its package-manager niche is narrow but important: it complements broader AD-join tools by focusing on keytab lifecycle and Kerberos principal management for services.

### 来源

- <https://formulae.brew.sh/formula/msktutil>
- <https://github.com/msktutil/msktutil>
- <https://manpages.ubuntu.com/manpages/focal/man1/msktutil.1.html>
- <https://packages.debian.org/bookworm/net/msktutil>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** msktutil
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 其他软件包管理器记录

- Debian apt - msktutil - 1.2.2-1: normalized package name match | Debian stable package indexes: msktutil from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Utility for interoperability with Active Directory | https://github.com/msktutil/msktutil
- Ubuntu apt - msktutil - 1.2.1-2: normalized package name match | Ubuntu 24.04 LTS package indexes: msktutil from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Utility for interoperability with Active Directory | https://github.com/msktutil/msktutil
- dnf - msktutil - 1.2.2-3.fc44: normalized package name match | Fedora Rawhide package metadata: msktutil from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Program for interoperability with Active Directory | https://github.com/msktutil/msktutil


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://www.automicvault.com/zh-hans/pkg/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [krb5](https://www.automicvault.com/zh-hans/pkg/brew/krb5/) - Runtime dependency declared by Homebrew.
- [kstart](https://www.automicvault.com/zh-hans/pkg/brew/kstart/) - Shares av.db curated category or tags: authentication, cli, kerberos, keytab, security.
- [heimdal](https://www.automicvault.com/zh-hans/pkg/brew/heimdal/) - Shares av.db curated category or tags: authentication, cli, kerberos, security.
- [cyrus-sasl](https://www.automicvault.com/zh-hans/pkg/brew/cyrus-sasl/) - Shares av.db curated category or tags: authentication, cli, security.
- [google-authenticator-libpam](https://www.automicvault.com/zh-hans/pkg/brew/google-authenticator-libpam/) - Shares av.db curated category or tags: authentication, cli, security.
- [libjwt](https://www.automicvault.com/zh-hans/pkg/brew/libjwt/) - Shares av.db curated category or tags: authentication, cli, security.
- [libu2f-server](https://www.automicvault.com/zh-hans/pkg/brew/libu2f-server/) - Shares av.db curated category or tags: authentication, cli, security.
- [libyubikey](https://www.automicvault.com/zh-hans/pkg/brew/libyubikey/) - Shares av.db curated category or tags: authentication, cli, security.
- [certsync](https://www.automicvault.com/zh-hans/pkg/brew/certsync/) - Security-sensitive metadata or terminology overlaps. Shared terms: active, active-directory, cli, directory, kerberos.

## Combined YAML source

View the package source record on GitHub. [combined/msktutil.yml](https://github.com/automic-vault/db/blob/main/combined/msktutil.yml)


## 来源

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