From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 24 May 2023 11:30:57 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1q1kpe-00C6A0-Ce for lore@lore.pengutronix.de; Wed, 24 May 2023 11:30:57 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1q1kpc-0005LC-JY; Wed, 24 May 2023 11:30:56 +0200 Received: from h1.cmg1.smtp.forpsi.com ([81.2.195.162]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q1kp3-0005CX-0u for ptxdist@pengutronix.de; Wed, 24 May 2023 11:30:24 +0200 Received: from lenoch ([91.218.190.200]) by cmgsmtp with ESMTPSA id 1kozqTmzWPm6C1kp1qI3Oa; Wed, 24 May 2023 11:30:19 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=triops.cz; s=f2019; t=1684920619; bh=yJfTvjstSvbbCfwM8RqVdVMlAvi8E994yNLbTwM6Ebg=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type; b=wvbUfDegIqEyrd4IhYbIJ6TNPTZGBHkgVARQDrw9DF5LWlx436eljDkAkkrr1GpjJ wlg5kPQUtljrrUVWhJnD1Y5o/MfjfTUuMIYSCGTsK4Q3ISsy8ontiR9CQiHSjz3kRH sYjyg2H0KzSJX0O3CMpvmmKh/Uc0frYWCXBfvTi0qORjMw/g60VFUo2Aw6kFpEZ3EA pleCsAgZoc/o00K/6vgeOSuAgZq7ceNReBT/9EKWeUs5zh/XJNAX24tPfSgQ9cEv/Y 12QS/4St5f4WZLFHf9u2Yigbr1LzjFPeRvCiHqmy1gmrMtND9fafdBhRjHuYIgFbaM dI2VxjMcJ5SKQ== Date: Wed, 24 May 2023 11:30:17 +0200 From: Ladislav Michl To: ptxdist@pengutronix.de Message-ID: References: <20230519134710.9618-1-dev@tb6.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230519134710.9618-1-dev@tb6.eu> X-CMAE-Envelope: MS4wfOVqx9xcy40n/uGNh4NQMbAh9fk/o2GX9klzr/9vlyoduEz4RnDeJohtj9H2P1/rbOXJ1UXkFHL4Fu9GEqcQXq44s8Kwcs4+PqzpxpTQIq1T5kKzZK0e 7R+WfPUUaoJObfRrpJ7BGblrLIg/vnC2I79TnkCfhw92m4mpRovrvO9el4GqgipS/BVmh8q4N/FfcA== X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-2.2 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Subject: Re: [ptxdist] [PATCH] pam: add installation of /sbin/mkhomedir_helper X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Tamino Bauknecht Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false 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 > --- > 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 >