mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Ladislav Michl <oss-lists@triops.cz>
To: ptxdist@pengutronix.de
Cc: Tamino Bauknecht <dev@tb6.eu>
Subject: Re: [ptxdist] [PATCH] pam: add installation of /sbin/mkhomedir_helper
Date: Wed, 24 May 2023 11:30:17 +0200	[thread overview]
Message-ID: <ZG3ZKYSOLb0H/36q@lenoch> (raw)
In-Reply-To: <20230519134710.9618-1-dev@tb6.eu>

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



  reply	other threads:[~2023-05-24  9:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-19 13:47 Tamino Bauknecht
2023-05-24  9:30 ` Ladislav Michl [this message]
2023-05-25 15:48   ` Tamino Bauknecht
2023-06-02  7:17 ` [ptxdist] [APPLIED] " Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZG3ZKYSOLb0H/36q@lenoch \
    --to=oss-lists@triops.cz \
    --cc=dev@tb6.eu \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox