cvs commit: src/kerberos5/lib/libroken Makefile
Jacques A. Vidrine
nectar at FreeBSD.org
Tue Feb 3 09:07:29 PST 2004
On Tue, Feb 03, 2004 at 06:02:54PM +0100, Andre Oppermann wrote:
> Hmm... getlogin might be the problem (from perl man page):
>
> getlogin
>
> Implements the C library function of the same name, which on most systems
> returns the current login from /etc/utmp, if any. If null, use getpwuid.
Only that's not correct for most systems :-)
getlogin(2) returns what was previously passed to setlogin(2) (usually
by login(1)). But this could indeed be a part of the problem,
especially since there is a known bug in ssh involving a missing
setsid() ...
Sorry to tease and run, but I have an appointment right *now*.
Will follow-up when I return.
Cheers,
--
Jacques Vidrine NTT/Verio SME FreeBSD UNIX Heimdal
nectar at celabo.org jvidrine at verio.net nectar at freebsd.org nectar at kth.se
More information about the cvs-src
mailing list