Hi Tamino,

On Fri, May 19, 2023 at 03:47:10PM +0200, Tamino Bauknecht wrote:
> 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.

could you provide more informations about your use case? As PTXdist
is not normally used to build "user friendly" distribution, there
are no users logging in...

        ladis

> 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