Both helpers, update-pam and update-nsswitch are ready for testing.
I’ve tried as many combinations and possible use errors as I could imagine, but probably I’ve missed up some one. If you try and find something not spected, something strange or have any suggestions, do not hesitate to contact me.
update-nsswitch can modify nsswitch.conf, and update-pam, modifies, the different pam.d/common-* files
To use them, you need to copy your nsswitch and pam.d in the same directory where the code is unpacked, this is for preventing on modifying the real files. If you want to try it with real ones is up to you and under your responsability.
None documentation is done yet, but with the usage() may be enough.