> For the complete documentation index, see [llms.txt](https://docs.keeper.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.keeper.io/keeperpam/jp/privileged-access-manager/password-rotation/rotation-use-cases/local-network/macos-user.md).

# macOSユーザー

![](/files/hEazIFcBxs7A0emhbLzv)

## 概要 <a href="#overview" id="overview"></a>

本ページでは、Keeperローテーションを使用してSSH経由でmacOSアカウントをリモートからローテーションする方法を取り扱います。ローカルネットワークにおけるローテーションの概要については、こちらの[ページ](/keeperpam/jp/privileged-access-manager/password-rotation/rotation-use-cases.md#local-network)をご参照ください。

## 要件 <a href="#prerequisites" id="prerequisites"></a>

以下がすでに完了していることを前提としています。

* [ロール](/keeperpam/jp/privileged-access-manager/password-rotation/rotation-overview.md#enabling-rotation-on-the-admin-console)でKeeperシークレットマネージャーが有効になっていること
* [ロール](/keeperpam/jp/privileged-access-manager/password-rotation/rotation-overview.md#enabling-rotation-on-the-admin-console)でKeeperローテーションが有効になっていること
* Keeperシークレットマネージャー[アプリケーション](/keeperpam/jp/privileged-access-manager/getting-started/applications.md)が作成済みであること
* Keeperローテーション[ゲートウェイ](/keeperpam/jp/privileged-access-manager/getting-started/gateways.md)がインストール済みで稼働しており、[SSH](/keeperpam/jp/privileged-access-manager/references/setting-up-ssh.md)でmacOSデバイスと通信できること

## 1. PAMマシンリソースの設定 <a href="#id-1-set-up-a-pam-machine-resource" id="id-1-set-up-a-pam-machine-resource"></a>

Keeperローテーションでは、リンクされた管理者認証情報で、環境内の他のアカウントをローテーションします。このアカウントにドメイン参加や完全な管理者権限は不要ですが、他のアカウントのパスワードを正常に変更できる必要があります。

#### PAMマシンレコードのフィールド

<table><thead><tr><th width="194.5">フィールド</th><th>説明</th></tr></thead><tbody><tr><td><strong>レコードタイプ</strong></td><td>PAMマシン</td></tr><tr><td><strong>タイトル</strong></td><td>My macOS User</td></tr><tr><td><strong>ホスト名またはIPアドレス</strong></td><td>macOSデバイスのIPアドレスまたはホスト名。ゲートウェイがデバイス上にインストールされている場合は <code>localhost</code> を使用。例: <code>10.10.10.10</code>、<code>MarysMacBook</code>、<code>localhost</code></td></tr><tr><td><strong>ポート</strong></td><td>SSHポート。通常は <code>22</code>。ローテーションにはSSHが必要</td></tr><tr><td><strong>SSLの使用</strong></td><td>有効化必須</td></tr><tr><td><strong>管理者認証情報</strong></td><td>ローテーションを実行する管理者アカウントのユーザー名とパスワード (またはSSHキー) を含む、リンク済みPAMユーザーレコード</td></tr><tr><td><strong>オペレーティングシステム</strong></td><td>macOSのローテーションでは <code>MacOS</code> を使用</td></tr></tbody></table>

## 2. PAM構成の設定 <a href="#id-2-set-up-a-pam-configuration" id="id-2-set-up-a-pam-configuration"></a>

{% hint style="info" icon="pencil-line" %}
環境にPAM構成がすでにある場合は、この手順を省略できます。
{% endhint %}

ボルトの左メニューで **\[シークレットマネージャー]** を選択し、**\[PAM構成]** タブで新しい構成を作成します。

<table><thead><tr><th width="200">フィールド</th><th>説明</th><th data-hidden></th></tr></thead><tbody><tr><td><strong>タイトル</strong></td><td>構成名。例: <code>MAC Rotation</code></td><td></td></tr><tr><td><strong>環境</strong></td><td><code>Local Network</code> を選択</td><td></td></tr><tr><td><strong>ゲートウェイ</strong></td><td>macOSデバイスへSSHアクセスできるゲートウェイを選択</td><td></td></tr><tr><td><strong>アプリケーションフォルダ</strong></td><td>PAM構成を格納する共有フォルダを選択。マシンリソースではなく、PAMユーザーレコードと同じ共有フォルダへの配置を推奨</td><td></td></tr><tr><td><strong>デフォルトのローテーションスケジュール</strong></td><td>オプション</td><td></td></tr></tbody></table>

## 3. PAMユーザーレコードを1件以上設定 <a href="#id-3-set-up-one-or-more-pam-user-records" id="id-3-set-up-one-or-more-pam-user-records"></a>

Keeperローテーションでは、**PAMマシン**レコードにリンクされた認証情報で、環境内の**PAMユーザー**レコードをローテーションします。

#### PAMユーザーレコードのフィールド

<table><thead><tr><th width="194.5">フィールド</th><th>説明</th></tr></thead><tbody><tr><td><strong>レコードタイプ</strong></td><td>PAMユーザー</td></tr><tr><td><strong>タイトル</strong></td><td>Keeperレコードのタイトル</td></tr><tr><td><strong>ログイン</strong></td><td>ローテーション対象アカウントのユーザー名 (大文字と小文字を区別)。例: <code>msmith</code></td></tr><tr><td><strong>パスワード</strong></td><td>アカウントパスワードはオプション。空白の場合はローテーション時に設定</td></tr><tr><td><strong>その他のフィールド</strong></td><td>空白のまま</td></tr></tbody></table>

## 4. PAMユーザーレコードでローテーションを構成 <a href="#id-4-configure-rotation-on-the-pam-user-records" id="id-4-configure-rotation-on-the-pam-user-records"></a>

PAMユーザーレコードを選択し、編集して **\[パスワードローテーション設定]** を開きます。

* 希望するスケジュールとパスワードの複雑さを選択
* **\[ローテーション設定]** では、以前に設定したPAM構成を使用
* **\[リソースクレデンシャル]** フィールドでは、以前に設定した**PAMマシン**認証情報を選択
* 保存すると、ローテーションボタンが有効になり、オンデマンドまたは選択したスケジュールでローテーション可能

**PAMユーザー**レコードに `edit` 権限を持つユーザーは、そのレコードのローテーションを設定できます。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.keeper.io/keeperpam/jp/privileged-access-manager/password-rotation/rotation-use-cases/local-network/macos-user.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
