Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#69715 - [shadow] Redundant PAM config files

Attached to Project: Arch Linux
Opened by lukpod (lukpod) - Saturday, 20 February 2021, 14:40 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 21 April 2021, 06:38 GMT
Task Type Bug Report
Category Packages: Core
Status Assigned
Assigned To Christian Hesse (eworm)
Giancarlo Razzolini (grazzolini)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


% pacman -Qlq shadow | grep /etc/pam.d/. | awk -F/ '{print "/usr/bin/"$NF}'| sort | xargs ldd |& grep -E ':|pam'
/usr/bin/chpasswd: => /usr/lib/ (0x00007fa01744e000)
/usr/bin/groupmems: => /usr/lib/ (0x00007f6902dc0000) => /usr/lib/ (0x00007f6902dbb000)
/usr/bin/newusers: => /usr/lib/ (0x00007f5e05416000)
/usr/bin/passwd: => /usr/lib/ (0x00007fb42c695000) => /usr/lib/ (0x00007fb42c690000)
ldd: /usr/bin/shadow: No such file or directory

% rm /etc/pam.d/{groupadd,groupdel,shadow}
% groupadd -g 12345 xyz
% grep xyz /etc/group
% groupdel xyz
% grep xyz /etc/group
This task depends upon

Comment by lukpod (lukpod) - Saturday, 20 February 2021, 19:00 GMT
pacman -Qlq shadow | sed -nr 's%/etc/pam.d/(..*)%/usr/bin/\1%p' | sort | xargs ldd |& grep -E ':|pam'

Most files in etc/pam.d are provided by Arch.