mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] pam: add installation of /sbin/mkhomedir_helper
@ 2023-05-19 13:47 Tamino Bauknecht
  2023-05-24  9:30 ` Ladislav Michl
  2023-06-02  7:17 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 2 replies; 4+ messages in thread
From: Tamino Bauknecht @ 2023-05-19 13:47 UTC (permalink / raw)
  To: ptxdist; +Cc: Tamino Bauknecht

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 <dev@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




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-06-02  7:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-19 13:47 [ptxdist] [PATCH] pam: add installation of /sbin/mkhomedir_helper Tamino Bauknecht
2023-05-24  9:30 ` Ladislav Michl
2023-05-25 15:48   ` Tamino Bauknecht
2023-06-02  7:17 ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox