Hi, Nicolas George wrote: > Still, this code should be using PAM instead of reinventing the wheel > and making it octagonal.
Looks like ttysnoop's wheel was invented one year before PAM's wheel. https://sources.debian.net/src/ttysnoop/0.12d-6/ttysnoops.c https://en.wikipedia.org/wiki/Pluggable_authentication_module I understand it uses the password only as extra "security" feature, because it refuses to start if geteuid() is not 0: https://sources.debian.net/src/ttysnoop/0.12d-6/ttysnoops.c/#L522 Have a nice day :) Thomas