Quantcast
Viewing all articles
Browse latest Browse all 19115

0006333: A daemon authenticating users against PAM 'login' service increases memory by 56K each time it does it.

I have a daemon that uses the PAM API to authenticate incoming user IDs against the ‘login’ service, this daemon increases by around 56K each time it performs an authentication.<br /> <br /> Investigation has shown that it is occurring in the pam_authenticate function and, by a process of elimination, it was found to occur in the finger print authentication module, pam_fprintd.so. This opens a local socket to /var/run/dbus/system_bus_socket but does not close it, so each time pam_authenticate is called the daemon increases its memory size by 56K.<br /> <br /> The problem can be worked around by disabling finger print authentication with the following command:<br /> <br /> authconfig --disablefingerprint --updateall

Viewing all articles
Browse latest Browse all 19115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>