From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 02 Jun 2023 09:18:37 +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 1q4z3W-006ysP-TH for lore@lore.pengutronix.de; Fri, 02 Jun 2023 09:18:37 +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 1q4z3S-0003b9-Dz; Fri, 02 Jun 2023 09:18:34 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q4z2g-0000yF-JY; Fri, 02 Jun 2023 09:17:46 +0200 Received: from [2a0a:edc0:0:1101:1d::54] (helo=dude05.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1q4z2f-004XAM-Ui; Fri, 02 Jun 2023 09:17:45 +0200 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1q4z2f-006L3a-8X; Fri, 02 Jun 2023 09:17:45 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Fri, 2 Jun 2023 09:17:45 +0200 Message-Id: <20230602071745.1510799-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230519134710.9618-1-dev@tb6.eu> References: <20230519134710.9618-1-dev@tb6.eu> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] 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 Thanks, applied as 9a34285a727ce52af68995d4c04eed84541c86c2. Michael [sent from post-receive hook] On Fri, 02 Jun 2023 09:17:45 +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. > > Signed-off-by: Tamino Bauknecht > Message-Id: <20230519134710.9618-1-dev@tb6.eu> > Signed-off-by: Michael Olbrich > > diff --git a/rules/pam.make b/rules/pam.make > index 6e97e33200eb..df86c8da0bc0 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)