From d7c14d65cfece8b6c6c430544c0efe66b2cc9ce3 Mon Sep 17 00:00:00 2001 From: Konrad Bucheli Date: Thu, 5 Jun 2025 13:30:24 +0200 Subject: [PATCH] how to configure the home directory --- _toc.yml | 1 + .../configuration/basic/home_directory.md | 22 +++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 admin-guide/configuration/basic/home_directory.md diff --git a/_toc.yml b/_toc.yml index 4e8270ec..15a7fd5f 100644 --- a/_toc.yml +++ b/_toc.yml @@ -59,6 +59,7 @@ chapters: sections: - file: admin-guide/configuration/basic/networking - file: admin-guide/configuration/basic/users_and_groups + - file: admin-guide/configuration/basic/home_directory - file: admin-guide/configuration/basic/ad_integration - file: admin-guide/configuration/basic/static_host_entries - file: admin-guide/configuration/basic/host_rename diff --git a/admin-guide/configuration/basic/home_directory.md b/admin-guide/configuration/basic/home_directory.md new file mode 100644 index 00000000..eed0f1ce --- /dev/null +++ b/admin-guide/configuration/basic/home_directory.md @@ -0,0 +1,22 @@ +# Home Directory + +The home directory can be locally on the machine or on AFS where the actual path is part of the AD user settings. + +The Linux team heavily suggest not using a home drive shared between different computers, be it AFS or NFS as certain software can get irritated if there is parallel access to their "local" data. +A nice example is Firefox which at lease behaves gracefully by showing an error message and refusing to start if it detects another system already already having the profile open. + +Local homes are default starting with RHEL9 (there is no AFS support any more), before it depends if AFS is enabled and on the Puppet role. + +You may control local homes in Hiera with: +``` +base::local_homes: true +``` +which then will use `/home/$USER` as home directory and creates it if missing. + +Independent of this you may control the exact location of the home directory with +``` +aaa::override_homedir: /data/%u' +``` +and control the automatic creation of the home directory upon first login with +``` +aaa::create_homes: true