careful with passwd in compatibility.c
(cherry picked from commit a4a5baf0da7c77c1d29a485f26abae6fac03a4a4)