Date: Wed, 17 Jan 1996 09:37:44 +0100 (MET) From: J Wunsch <j@uriah.heep.sax.de> To: team_fbf@pristine.com.tw (ywliu) Cc: aagero@aage.aage.priv.no, wosch@cs.tu-berlin.de, freebsd-bugs@FreeBSD.org Subject: Re: getlogin() returns bogus username Message-ID: <199601170837.JAA02294@uriah.heep.sax.de> In-Reply-To: <199601171131.LAA11835@neptune.pristine.com.tw> from "ywliu" at Jan 17, 96 11:31:17 am
next in thread | previous in thread | raw e-mail | index | archive | help
As ywliu wrote: > > Just a wild guess : can it be the '-' in per-stia confusing the program ? > Probably the suggested username should consist of numbers and alphabets. Nope, there used to be a bug with getlogin(). We all remember the various CVS commit message from Peter Wemm, where `sean' (i think) appeared as the name of the commiter. Lemme think... the problem happened whenever somebody was logged in via telnet. The getlogin() name was once per session, and the entire inetd(8) uses a single session. telnetd doesn't change the session. I remember that Peter has been fixing the problem. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601170837.JAA02294>