* pam module question
@ 2019-01-11 8:12 Saeed Jamali
2019-01-11 10:10 ` Ricardo Wurmus
0 siblings, 1 reply; 3+ messages in thread
From: Saeed Jamali @ 2019-01-11 8:12 UTC (permalink / raw)
To: help-guix
[-- Attachment #1: Type: text/plain, Size: 304 bytes --]
Hello and thank you for you great work,
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,
Thank you.
[-- Attachment #2: Type: text/html, Size: 368 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: pam module question
2019-01-11 8:12 pam module question Saeed Jamali
@ 2019-01-11 10:10 ` Ricardo Wurmus
2019-01-11 10:17 ` Saeed Jamali
0 siblings, 1 reply; 3+ messages in thread
From: Ricardo Wurmus @ 2019-01-11 10:10 UTC (permalink / raw)
To: Saeed Jamali; +Cc: help-guix
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: pam module question
2019-01-11 10:10 ` Ricardo Wurmus
@ 2019-01-11 10:17 ` Saeed Jamali
0 siblings, 0 replies; 3+ messages in thread
From: Saeed Jamali @ 2019-01-11 10:17 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 852 bytes --]
Thank you!
On Fri, Jan 11, 2019, 13:41 Ricardo Wurmus <rekado@elephly.net wrote:
>
> 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
>
>
[-- Attachment #2: Type: text/html, Size: 1143 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-01-11 10:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-11 8:12 pam module question Saeed Jamali
2019-01-11 10:10 ` Ricardo Wurmus
2019-01-11 10:17 ` Saeed Jamali
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.