Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
What app is using /etc/pam.d/{shadow,shfn} [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
fpemud
Guru
Guru


Joined: 15 Feb 2012
Posts: 352

PostPosted: Thu Feb 16, 2023 1:51 pm    Post subject: What app is using /etc/pam.d/{shadow,shfn} [SOLVED] Reply with quote

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
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3948

PostPosted: Thu Feb 16, 2023 5:15 pm    Post subject: Reply with quote

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"
_________________
:)
Back to top
View user's profile Send private message
fpemud
Guru
Guru


Joined: 15 Feb 2012
Posts: 352

PostPosted: Fri Feb 17, 2023 1:07 am    Post subject: Reply with quote

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
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 2000

PostPosted: Fri Feb 17, 2023 1:36 am    Post subject: Reply with quote

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
View user's profile Send private message
fpemud
Guru
Guru


Joined: 15 Feb 2012
Posts: 352

PostPosted: Mon Feb 20, 2023 1:11 am    Post subject: Reply with quote

Great to hear that, thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum