authselect/SOURCES/0023-profiles-mention-pam_oddjob_mkhomedir-in-requirement.patch
2021-09-09 14:53:19 +00:00

59 lines
4.4 KiB
Diff

From 5f1615d85c038b98b631d808c70e3557264b8a56 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pavel=20B=C5=99ezina?= <pbrezina@redhat.com>
Date: Mon, 12 Nov 2018 13:05:50 +0100
Subject: [PATCH 05/15] profiles: mention pam_oddjob_mkhomedir in requirements
Resolves:
https://github.com/pbrezina/authselect/issues/111
---
profiles/nis/REQUIREMENTS | 3 ++-
profiles/sssd/REQUIREMENTS | 3 ++-
profiles/winbind/REQUIREMENTS | 3 ++-
3 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/profiles/nis/REQUIREMENTS b/profiles/nis/REQUIREMENTS
index 920d57eb1374633776c379eea75d8a9632abe4b3..12b5879e8530a8c0bc3dfb4dc3c29dc38c4dcc07 100644
--- a/profiles/nis/REQUIREMENTS
+++ b/profiles/nis/REQUIREMENTS
@@ -2,6 +2,7 @@ Make sure that NIS service is configured and enabled. See NIS documentation for
{include if "with-fingerprint"}
- with-fingerprint is selected, make sure fprintd service is configured and enabled {include if "with-fingerprint"}
{include if "with-mkhomedir"}
-- with-mkhomedir is selected, make sure oddjobd service is enabled {include if "with-mkhomedir"}
+- with-mkhomedir is selected, make sure pam_oddjob_mkhomedir module {include if "with-mkhomedir"}
+ is present and oddjobd service is enabled {include if "with-mkhomedir"}
- systemctl enable oddjobd.service {include if "with-mkhomedir"}
- systemctl start oddjobd.service {include if "with-mkhomedir"}
\ No newline at end of file
diff --git a/profiles/sssd/REQUIREMENTS b/profiles/sssd/REQUIREMENTS
index 2516ac35796cd4b38842b2269938b37aea7a845c..7fcfed9cccae346faa0f4dace1873a772453ddc0 100644
--- a/profiles/sssd/REQUIREMENTS
+++ b/profiles/sssd/REQUIREMENTS
@@ -5,6 +5,7 @@ Make sure that SSSD service is configured and enabled. See SSSD documentation fo
{include if "with-fingerprint"}
- with-fingerprint is selected, make sure fprintd service is configured and enabled {include if "with-fingerprint"}
{include if "with-mkhomedir"}
-- with-mkhomedir is selected, make sure oddjobd service is enabled {include if "with-mkhomedir"}
+- with-mkhomedir is selected, make sure pam_oddjob_mkhomedir module {include if "with-mkhomedir"}
+ is present and oddjobd service is enabled {include if "with-mkhomedir"}
- systemctl enable oddjobd.service {include if "with-mkhomedir"}
- systemctl start oddjobd.service {include if "with-mkhomedir"}
\ No newline at end of file
diff --git a/profiles/winbind/REQUIREMENTS b/profiles/winbind/REQUIREMENTS
index f3bad76114c6ae996e62d4088dc7d70113d12fe6..786538caf83104d114820f56516bf3e68dce86fe 100644
--- a/profiles/winbind/REQUIREMENTS
+++ b/profiles/winbind/REQUIREMENTS
@@ -2,6 +2,7 @@ Make sure that winbind service is configured and enabled. See winbind documentat
{include if "with-fingerprint"}
- with-fingerprint is selected, make sure fprintd service is configured and enabled {include if "with-fingerprint"}
{include if "with-mkhomedir"}
-- with-mkhomedir is selected, make sure oddjobd service is enabled {include if "with-mkhomedir"}
+- with-mkhomedir is selected, make sure pam_oddjob_mkhomedir module {include if "with-mkhomedir"}
+ is present and oddjobd service is enabled {include if "with-mkhomedir"}
- systemctl enable oddjobd.service {include if "with-mkhomedir"}
- systemctl start oddjobd.service {include if "with-mkhomedir"}
\ No newline at end of file
--
2.17.2