Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Feb 2004 11:06:52 -0600
From:      "Jacques A. Vidrine" <nectar@FreeBSD.org>
To:        Andre Oppermann <andre@freebsd.org>
Cc:        Ken Smith <kensmith@cse.Buffalo.EDU>
Subject:   Re: cvs commit: src/kerberos5/lib/libroken Makefile
Message-ID:  <20040203170652.GA80415@madman.celabo.org>
In-Reply-To: <401FD43E.174A6839@freebsd.org>
References:  <200402030932.i139WBpQ054113@repoman.freebsd.org> <20040203112824.01dfdc99@localhost> <20040203163214.GD17960@electra.cse.Buffalo.EDU> <401FD252.7F56765E@freebsd.org> <401FD43E.174A6839@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@celabo.org jvidrine@verio.net nectar@freebsd.org nectar@kth.se



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040203170652.GA80415>