The attached patch fixes GitHub issue #159
https://github.com/linux-pam/linux-pam/issues/159
If the pw->pw_shell is empty string we use /bin/sh.
OK to commit?
--
Tomáš Mráz
No matter how far down the wrong road you've gone, turn back.
Turkish proverb
[You'll know whether the road is wrong if you carefully listen to your
conscience.]