Hi, While busybox is compile with PAM support only "login" use it. su and sulogin should also use it.
Patches are welcome.
Created attachment 7871 [details] patch su to use pam if ENABLE_PAM is defined This patch partially fixes the issue (only add pam support to "su", not "sulogin"). It is mostly source code taken from "networking/httpd.c” and” libbb/correct_password.c" and lightly adapted for "su". This patch was made as part of a development for Eaton (opensource.eaton.com)