From nobody Wed Apr 26 17:50:20 2023 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Q65xY2qlgz474ZB for ; Wed, 26 Apr 2023 17:50:25 +0000 (UTC) (envelope-from zirias@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q65xY2K58z3sJ0 for ; Wed, 26 Apr 2023 17:50:25 +0000 (UTC) (envelope-from zirias@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682531425; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=2lxxOKNFp82HYuQPRCQ4npIgoGUyvJbtsvARAUSDti4=; b=QKPyWFjPUFj16+x4Qc+2F1BndNB2oz3vSmwXgSKST23ns/+5POOvPSTerZCscIPecx7hff 2luAXpLRGUxiV7dJmnCYPLofrjEWQfGMs+FCo9SKuKnbbMFoubh6gj/GeMUOZlO2r/yFWZ gJt3nvctG+HJhCmSTKn57hQKA1BiHJe4Tn9Ca/cIOkI4RUQMYuYlHWTtJH530l1+GrwTtn iNPmZchXEAG/VFUNSDuP8DupgaVhJrE7qtO7xNFcH2RkYsRtHoWM2P4EmrfV+RtNsU50Ei BSdLp39sVw/8dAFQoULk62c9gHszOspE9TJflAxVhKZBeZAdOUnW0KB/tJmWhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682531425; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references:dkim-signature; bh=2lxxOKNFp82HYuQPRCQ4npIgoGUyvJbtsvARAUSDti4=; b=yJKOzKe1PhH7Vuton00xd29v1f9iKi7ig2HjJqzwoRwnAx1z4TsT44hzWAdNjYMvZU6XAW RV6y7luinzHhhFvNGPAJN1Ix4neidozCGiYwW7RoyGhY58c4D0nFlDGQlXlE5BdP4l6Hmz bJaTgqaCrSeu6HufjyhKtaYa6PmJCaOd0Jnoe3MV4JMfm84e8LXbbD4dDw3YLwGCGJAa19 tH6gDBo04rIcYd/27YDJd0ukEVgLrdGP2Dilz1WaLySRAsFojBgMCOagV3/ilJvSqpYwUb /dhSNzr/J55DRgcyq0qR2lLPvUk5X7rVP7CBGToTko2sgenXDDO4JZ88/ngZ4g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682531425; a=rsa-sha256; cv=none; b=ujE+mEFhfNdOpL9nwyhzGysR+76c41qoCg+HOe22C7RaMhtChLE4Iy+/8l0QcddnWSk0Il OQCsx3nqkXvXxvc5qXUiXeHHus0doNOSY6hM6DRVDngCJ793RV7AljkQy+Z9GpMLWNbYJt m3NOTtVRhK/9CzGQupUMNeiY29zaAprW1qyZEEPpl+6hT+B4GmNpvR/5cUbPR9qlBb32C+ pLI+zIYN3d8pBvZNv2v7ZTtSYLFvKWviwgzWnG09FrPJ1C+HuH+vPBLgPnnHLPh7bjugZi oyGvwKIKYNpaL5ZM2joV3t+U5pPDlmvw/TFOTC9x1XUy4LTccSBZkVPTrYj+Wg== Received: from stef.palmen-it.de (stef.palmen-it.de [IPv6:2001:470:1f0b:bbb:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: zirias/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Q65xY1FH6zgRW for ; Wed, 26 Apr 2023 17:50:25 +0000 (UTC) (envelope-from zirias@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=palmen-it.de; s=20200414; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:To:From:Date:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=2lxxOKNFp82HYuQPRCQ4npIgoGUyvJbtsvARAUSDti4=; b=cGApz6QsCvpmUShd2jWrTGsbwu sOxJa+TOHfWSzcWErFnKgmtMUxOW1Gp0rTXrGVlCATF1zkQkG0KVy5SOIQxNpQiJA3mfQfsakKHMu dRHC9Mp4+xduQCjWB+4EKYysw7eqlB8BjUfU063wMjaxgMDX8ndsfinxbp2RIlUwBTFRg+U5Zah/J MvTfvDh6epjjQuVkvsWdjqNjopg72F/i4saBySzAkJsL6RqkdCejQXEBc1SgBr1dpYFFnb2C7HDBA plkjOvb+L8jAPdrzhpVI1RNVpMvjzfoi9jVF3g85MCh6GbM5ShrGIEmB4P3svM1bNa1bSDZ8dBeep lk3YDICQ==; Received: from [192.168.71.101] (helo=mail.home.palmen-it.de) by stef.palmen-it.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1prjHa-006AyC-2m for freebsd-hackers@freebsd.org; Wed, 26 Apr 2023 19:50:22 +0200 Received: from nexus.home.palmen-it.de ([192.168.99.2]) by mail.home.palmen-it.de with esmtpsa (TLS1.3) tls TLS_CHACHA20_POLY1305_SHA256 (Exim 4.95 (FreeBSD)) (envelope-from ) id 1prjHZ-000CMk-IN for freebsd-hackers@freebsd.org; Wed, 26 Apr 2023 17:50:21 +0000 Date: Wed, 26 Apr 2023 19:50:20 +0200 From: Felix Palmen To: freebsd-hackers@freebsd.org Subject: Re: Fwd: Interacting with PAM issues Message-ID: Mail-Followup-To: freebsd-hackers@freebsd.org X-Face: /1K@t"h.}e~pR@]c7HorQ!T`F^RJCa'BCr#e>IKA{>C/9OTGB4|xh"y2{?1Z5M i2w"AH^pN_LlHR^{+f',_Np~;.B;!M/bL}*qk]p5*r7F5vW};{:@4u5S?T&f0$7BJ-71Q5SV]:v$`5 A0[DZ:=?S52x8HJ~5@^P_\T@MsjG{R( Organization: FreeBSD.org References: <31aa9f0f-44d9-fb61-2eb3-36af63ce9ed7@yahoo.com> <9e35b8cb-e5de-bdb5-c2da-cee44e18683c@yahoo.com> List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="j5ezzw55fpgndyyb" Content-Disposition: inline In-Reply-To: <9e35b8cb-e5de-bdb5-c2da-cee44e18683c@yahoo.com> User-Agent: NeoMutt/20230322 X-ThisMailContainsUnwantedMimeParts: N --j5ezzw55fpgndyyb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Mikhail Zakharov [20230426 08:25]: > FWD to record the solution in the history of the maillist. >=20 > Exactly what is required, for the exact mentioned purpose of a terminal > screenlocker application: https://github.com/mezantrop/sclocka. Thank you > again! If you create a port of it, consider adding a run dependency to my little helper and providing a PAM service policy calling it, example is in the manpage of the port :) (some screen lockers already do that) Note I consider this whole thing a bug (just like LinuxPAM's workaround is a bug), but the "sane" solution, providing some authentication service for the local passwd database that pam_unix could use, would be a *lot* of work ... --=20 Felix Palmen {private} felix@palmen-it.de -- ports committer (mentee) -- {web} http://palmen-it.de {pgp public key} http://palmen-it.de/pub.txt {pgp fingerprint} 6936 13D5 5BBF 4837 B212 3ACC 54AD E006 9879 F231 --j5ezzw55fpgndyyb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEABYKAH0WIQRpNhPVW79IN7ISOsxUreAGmHnyMQUCZElkXF8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0Njkz NjEzRDU1QkJGNDgzN0IyMTIzQUNDNTRBREUwMDY5ODc5RjIzMQAKCRBUreAGmHny MV+yAQDRDYbOL2WPFgcEtYF1a0j9rBo3ga5diNW4TMpCfEf+gAD8DwTonWC/Gqa8 Tb9F+nWvPBSqP+2g378TfuNJyTbx3ws= =rq4t -----END PGP SIGNATURE----- --j5ezzw55fpgndyyb--