[Bug 977] duplicate log entries when using "sshd -D -e"

bugzilla-daemon at mindrot.org
Tue, 01 Feb 2005 10:30:13 -0000

------- Additional Comments From dtucker at zip.com.au  2005-02-01 21:30 -------
The is because of privilege separation: when it's on the auth loop runs in
both
privileged and unprivileged processes (add a geteuid() to your printf to see).

It doesn't occur in normal operation because the unpriviliged child is
chrooted
to /var/empty and has no /dev/log to speak to.