setlogin failed: Function not implemented

Ben Lindstrom mouring at
Mon Oct 27 09:17:51 EST 2003

On Mon, 27 Oct 2003, Darren Tucker wrote:

> 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?

If it detects more stupid groups that don't have enough common sense to
not implemention an API instead of doing a stub then I say go for it.

- Ben

More information about the openssh-unix-dev mailing list