This binary is required by the PAM library pam_mkhomedir.so which is
installed to '/usr/lib/security'. If used in a PAM configuration, a
home directory will be automatically created when a user logs in.
Without this helper, the library will fail with an error.

Signed-off-by: Tamino Bauknecht <d...@tb6.eu>
---
 rules/pam.make | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/rules/pam.make b/rules/pam.make
index 6e97e3320..df86c8da0 100644
--- a/rules/pam.make
+++ b/rules/pam.make
@@ -84,6 +84,8 @@ $(STATEDIR)/pam.targetinstall:
        @$(call install_alternative, pam, 0, 0, 0644, 
/etc/security/pam_env.conf)
        @$(call install_alternative, pam, 0, 0, 0644, /etc/security/time.conf)
 
+       @$(call install_alternative, pam, 0, 0, 0755, /sbin/mkhomedir_helper)
+
        @$(call install_finish, pam)
 
        @$(call touch)
-- 
2.40.1


Reply via email to