Now that gshadow support has been added to nss, it would be nice to be able to get the values using getent. That's the purpose of the patch that will follow.
Created attachment 3968 [details] Patch
I checked in a slightly changed patch.