setlogin failed: Function not implemented

Darren Tucker dtucker at
Mon Oct 27 08:48:57 EST 2003

Eivind Magnus Hvidevold wrote:
> When configuring openssh I get this in config.log:
> configure:6557: checking for setlogin
> configure:6594: gcc -o conftest -g -O2 -Wall -Wpointer-arith -Wno-uninitialized   conftest.c -lutil -lz -lnsl  >&5
> /tmp/cc4nGZCj.o: In function `main':
> /tmp/build/openssh-3.7.1p2/configure:6585: warning: setlogin is not implemented and will always fail

One other thing: maybe configure could test for errno == ENOSYS when
checking for setlogin?

Darren Tucker (dtucker at
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

More information about the openssh-unix-dev mailing list