*BSD News Article 4048


Return to BSD News archive

Path: sserve!manuel!munnari.oz.au!mips!mips!swrinde!zaphod.mps.ohio-state.edu!menudo.uh.edu!sugar!karl
From: karl@NeoSoft.com (Karl Lehenbauer)
Newsgroups: comp.unix.bsd
Subject: Re: (386BSD) finger
Message-ID: <1992Aug23.150825.15374@NeoSoft.com>
Date: 23 Aug 92 15:08:25 GMT
References: <AeZf8Pi00WB3EqYkQj@andrew.cmu.edu>
Organization: NeoSoft Communications Services -- (713) 684-5900
Lines: 17

In article <AeZf8Pi00WB3EqYkQj@andrew.cmu.edu> Tao Jiang <tj2n+@andrew.cmu.edu> writes:
>I had a problem in using finger (or users etc.) command in X386.
>Whenever I execute finger, it says that: No one logged on. But
>this can not be true. If I use finger without x386 runing, I get
>the correct response.

This is caused by your xterm sessions coming in through pty pseudoterminals
which do not, by default, have utmp entries written for them when they
start up.  Consequently anything that looks at /etc/utmp, including ttyname(3),
won't find your session.

If you start xterm with the +ut option, it should appear in finger, who,
and so forth.
-- 
-- Email info@NeoSoft.com for info on getting interactive Internet access.
You will now awaken feeling relaxed and refreshed, remembering everything 
you've read except the details of the Omega contingency plan.