Xref: utzoo comp.sys.att:4027 unix-pc.general:1268 comp.unix.questions:8870 Path: utzoo!utgpu!water!watmath!uunet!cbmvax!ditto From: ditto@cbmvax.UUCP (Michael "Ford" Ditto) Newsgroups: comp.sys.att,unix-pc.general,comp.unix.questions Subject: Re: username problem Summary: Multiple links to /dev/window don't help. Keywords: unixpc multiple console window getty cuserid(3C) getlogin(3C) Message-ID: <4513@cbmvax.UUCP> Date: 18 Aug 88 19:49:55 GMT References: <578@proxftl.UUCP> <4490@cbmvax.UUCP> <2255@uhccux.uhcc.hawaii.edu> Reply-To: ditto@cbmvax.UUCP (Michael "Ford" Ditto) Organization: Commodore Technology, West Chester, PA Lines: 18 In article <2255@uhccux.uhcc.hawaii.edu> richard@uhccux.UUCP (Richard Foulk) writes: }} The passwd command is calling getlogin() [ ... ] }} It's an unfortunate side-effect of multiple console gettys. } }Perhaps making some links to /dev/window so that each getty can }refer to it by a different name would solve the problem. Nope. Good idea, though. The problem seems to be that getlogin() never even looks at the tty name at all when you're logged in on a window. -- -=] Ford [=- . . (In Real Life: Mike Ditto) . : , ford@kenobi.cts.com This space under construction, ...!ucsd!elgar!ford pardon our dust. ditto@cbmvax.commodore.com