unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: Saeed Jamali <sdjamali7@gmail.com>
Cc: help-guix@gnu.org
Subject: Re: pam module question
Date: Fri, 11 Jan 2019 11:10:39 +0100	[thread overview]
Message-ID: <87y37ro674.fsf@elephly.net> (raw)
In-Reply-To: <CANeFL2_uWJG1pUmaY8ZRAGSdcMD_p6_Mru-ouXjdrvFu_AR8WA@mail.gmail.com>


Hi Saeed,

> I have developed a test pam module and I want to change login configuration
> 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 “unix-pam-service”, which returns a PAM service
for a given name.  The module also contains the definition of
“base-pam-services”, which uses “unix-pam-service” 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

  reply	other threads:[~2019-01-11 10:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-11  8:12 pam module question Saeed Jamali
2019-01-11 10:10 ` Ricardo Wurmus [this message]
2019-01-11 10:17   ` Saeed Jamali

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87y37ro674.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=help-guix@gnu.org \
    --cc=sdjamali7@gmail.com \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).