Closed Torrekie closed 2 years ago
OPENPAM_MODULES_DIRECTORY
gets replaced by OPENPAM_MODULES_DIR
in the patch softcode_paths.patch. Did you build the openpam manually, instead of with Procursus?
oh, I didn't check the updates, this patch was not included when I clone this repo few months ago, my bad
I have compiled a
su
fromshell-cmds
, and it cannot callpam_start
After checking the console log, I found this one
But I'm sure that there is a
pam_rootok.so
lying in /usr/lib/pam, after checking openpam's source code, I found this part might be a bugthere was no
OPENPAM_MODULES_DIRECTORY
defined entire time, causing modules in/usr/lib/pam
not being searched by libpam. In fact there is a macroOPENPAM_MODULES_DIR
refers to modules directory which defined inconfig.h
, changingOPENPAM_MODULES_DIRECTORY
toOPENPAM_MODULES_DIR
can fix that problem.