Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Feb 2004 17:24:26 +0000
From:      David Malone <dwmalone@maths.tcd.ie>
To:        "Jacques A. Vidrine" <nectar@FreeBSD.org>
Cc:        Ken Smith <kensmith@cse.Buffalo.EDU>
Subject:   Re: cvs commit: src/kerberos5/lib/libroken Makefile
Message-ID:  <20040203172426.GA34284@gosset.maths.tcd.ie>
In-Reply-To: <20040203170652.GA80415@madman.celabo.org>
References:  <200402030932.i139WBpQ054113@repoman.freebsd.org> <20040203112824.01dfdc99@localhost> <20040203163214.GD17960@electra.cse.Buffalo.EDU> <401FD252.7F56765E@freebsd.org> <401FD43E.174A6839@freebsd.org> <20040203170652.GA80415@madman.celabo.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 03, 2004 at 11:06:52AM -0600, Jacques A. Vidrine wrote:
> 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() ...

Ahhh! I've recently seen getlogin return the wrong thing on -stable
boxes and consequently programs like write announce the wrong
username. People could test this theory by writing to their own
tty on freefall and seeing if their own username shows up.

	David.



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