It would be nice to give a simple template for a PAM-aware application here. I guess it need not grant any privileges, but rather just print ``authentication succeeded/failed''. It would also be rather useful for developing modules.