Show Table of Contents
3.8. デフォルトユーザー設定の変更
realmd システムは、デフォルトのユーザーホームディレクトリーや shell POSIX 属性の変更に対応しています。例えば、POSIX 属性が Windows のユーザーアカウントで設定されていなかったり、これらの属性がローカルシステム上の他のユーザーの POSIX 属性と異なる場合などにこれが必要になることがあります。
重要
本セクションに記載の設定変更が可能なのは、
realm join コマンドを実行していない場合のみになります。システムが既に参加している場合は、デフォルトのホームディレクトリーと shell は /etc/sssd/sssd.conf に記載の 「オプション: ユーザーのホームディレクトリーおよびシェルの設定」 ファイルで変更します。
デフォルトのホームディレクトリーと shell POSIX 属性を上書きするには、
[users] ファイルの /etc/realmd.conf セクションで以下のオプションを指定します。
default-homedefault-homeオプションは、ホームディレクトリーが明示的に設定されていないアカウントのホームディレクトリーを作成するテンプレートを設定します。一般的な形式は/home/%d/%uとなり、ここでの%dはドメイン名、%uはユーザー名になります。default-shelldefault-shellオプションはデフォルトのユーザーシェルを定義します。サポートされるシステムシェルを受け付けます。
例:
[users] default-home = /home/%u default-shell = /bin/bash
これらのオプションについての詳細は、realmd.conf(5) man ページを参照してください。

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.