ICA: Some shadow programs incorrectly reference /bin/passwd after first build
|Reported by:||Bruce Dubbs||Owned by:||lfs-book|
login, expiry, and su hardcode /bin/passwd insted of /usr/bin/passwd. This may lead to the impossibility of renewing a password when it is expired.
Explanation Shadow's configure tests whether /usr/bin/passwd exists, and if not, hardcodes /bin/passwd. This is close to a bug: it should harcode $prefix/bin/passwd. Anyway...
Solution touch /usr/bin/passwd before building shadow.
Possible side effect None that I can think of: the empty file is almost immediately replaced when installing shadow.