Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

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!
Tasklist

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

Details

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

% rm /etc/pam.d/{groupadd,groupdel,shadow}
% groupadd -g 12345 xyz
% grep xyz /etc/group
xyz:x:12345:
% 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'
https://pastebin.com/raw/nV2Ttvjb

Most files in etc/pam.d are provided by Arch.
https://github.com/archlinux/svntogit-packages/tree/packages/shadow/trunk
https://github.com/archlinux/svntogit-packages/blob/packages/shadow/trunk/PKGBUILD

Loading...