From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: pam module question Date: Fri, 11 Jan 2019 11:10:39 +0100 Message-ID: <87y37ro674.fsf@elephly.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:45455) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ghu1O-0002WV-56 for help-guix@gnu.org; Fri, 11 Jan 2019 05:26:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ghu1N-00015r-E6 for help-guix@gnu.org; Fri, 11 Jan 2019 05:26:38 -0500 Received: from sender-of-o53.zoho.com ([135.84.80.218]:21847) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ghu1N-000110-2I for help-guix@gnu.org; Fri, 11 Jan 2019 05:26:37 -0500 In-reply-to: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Saeed Jamali Cc: help-guix@gnu.org Hi Saeed, > I have developed a test pam module and I want to change login configurati= on > to use it during opening and closing sessions but I do not have any Idea > how to change login configuration in /etc/pam.d/login (its a symlink to > store) can you please help me, (gnu system pam) defines =E2=80=9Cunix-pam-service=E2=80=9D, which returns = a PAM service for a given name. The module also contains the definition of =E2=80=9Cbase-pam-services=E2=80=9D, which uses =E2=80=9Cunix-pam-service= =E2=80=9D and returns a list of PAM services. This is how the PAM configuration is changed on Guix systems. You would not modify /etc/pam.d directly, as it is generated on system reconfiguration and checked out from /gnu/store. -- Ricardo