View previous topic :: View next topic |
Author |
Message |
fpemud Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 15 Feb 2012 Posts: 352
|
Posted: Thu Feb 16, 2023 1:51 pm Post subject: What app is using /etc/pam.d/{shadow,shfn} [SOLVED] |
|
|
I'm trying to get a clear view of /etc/pam.d/*
Could any one please tell me who is using /etc/pam.d/shadow and /etc/pam.d/shfn?
Last edited by fpemud on Mon Feb 20, 2023 1:12 am; edited 2 times in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
alamahant Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 23 Mar 2019 Posts: 3950
|
Posted: Thu Feb 16, 2023 5:15 pm Post subject: |
|
|
If you run
Code: |
eqb /etc/pam.d/shadow
* Searching for /etc/pam.d/shadow ...
sys-apps/shadow-4.13-r1 (/etc/pam.d/shadow)
$ eqb /etc/pam.d/shfn
* Searching for /etc/pam.d/shfn ...
sys-apps/shadow-4.13-r1 (/etc/pam.d/shfn)
|
The answer is sys-apps/shadow whereas "eqb" stands for "equery b" _________________
![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fpemud Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 15 Feb 2012 Posts: 352
|
Posted: Fri Feb 17, 2023 1:07 am Post subject: |
|
|
Thanks for replying.
But what program is using these two pam config?
I found in sys-apps/shadow changelog that /bin/user{add,del,mod} and /bin/group{add,del,mod} uses /etc/pam.d/shadow.
But I can't find any information on /etc/pam.d/shfn |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
grknight Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
Joined: 20 Feb 2015 Posts: 2005
|
Posted: Fri Feb 17, 2023 1:36 am Post subject: |
|
|
fpemud wrote: | Thanks for replying.
But what program is using these two pam config?
I found in sys-apps/shadow changelog that /bin/user{add,del,mod} and /bin/group{add,del,mod} uses /etc/pam.d/shadow.
But I can't find any information on /etc/pam.d/shfn |
I think you found a bug. I believe it's a typo of chfn as it only exists in the ebuild.
This commit is what added the reference and no one has seen it since.
Edit: created Bug 894998 for this |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fpemud Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 15 Feb 2012 Posts: 352
|
Posted: Mon Feb 20, 2023 1:11 am Post subject: |
|
|
Great to hear that, thanks. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|