Removing /etc/pam.d after Linux-Pam tests is hazardous
|Reported by:||Pierre Labastie||Owned by:||Pierre Labastie|
The instructions of the current Linux-Pam page have that:
rm -rfv /etc/pam.d
after the test. This is very dangerous if shadow has already been compiled with PAM support, because you cannot login nor su anymore, so it is very likely that you get locked out of your system.
The only solution in this case is to recreate the /etc/pam.d files from a rescue system.