Translated message

A translation of this page exists in English.

初回ログイン時にホームディレクトリーを作成する方法 (pam_oddjob_mkhomedir.so を使用)

Solution In Progress - Updated -

Issue

  • 外部ユーザー (IDM/LDAP/AD) にはホームディレクトリーがありません。
  • adcli を使用して RHEL マシンを AD ドメインに参加させた後、ユーザーは ssh を使用して正常にログインできますが、最初のログイン時に期待されるホームディレクトリーが作成されません。

    [root@rhel7 ~]# ssh aduser@ADdomain@localhost
    aduser@ADdomain@localhost's password: 
    Last login: Fri Sep  1 14:54:31 2017
    Could not chdir to home directory /home/ADdomain/aduser: No such file or directory
    -bash-4.2$ 
    

Environment

  • Red Hat Enterprise Linux 7
    • authconfig
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
    • authselect
  • pam_oddjob_mkhomedir.so

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content