Thanks  a lot for your information. I guess it is the gnome thing, as was
also pointed out by somebody the other day.


On Sat, 26 Feb 2000, Michael H. Warfield wrote:

> On Sun, Feb 27, 2000 at 06:21:17PM +1100, Danny wrote:
> 
> > The command is who username
> 
>       Bzzzttt...  Wrong answer...
> 
>       I suggest doing a "man who" and finding out what it really does.
> 
>       Just running "who" should provide a list of everyone who is
> currently logged into the system.  This is derived from the /var/run/utmp
> file.  An optional parameter is to specify an alternate "utmp" style file
> such as /var/log/wtmp, which would give you a dump of who had logged
> in during the period of time covered by that file.
> 
>       Another set of option parameters is the unique sequence "who am i"
> which returns your user name and terminal identifier for that shell.
> 
> > I hope that sufficently answered your question
> 
>       The real answer to the question that was asked is to look at a
> couple of things.  The permissions on /var/run/utmp may be wrong and may
> be refusing read permission to you.  The programs in question (login
> programs such as gdm, xterm, ETerm, gnome-terminal or such) may not
> be properly updating utmp (this might indicate a version skew problem in
> the installation).  You may have been broken into and the intruder may
> have replaced your programs with "root kit" versions which are not
> providing/displaying that information.
> 
>       Check the time of last modification of your /var/run/utmp file
> and see if it's getting properly updated.
> 
>       Playing with "gnome-terminal" from RedHat 6.1, it appears that it
> is NOT updating /var/run/utmp properly.  This should be considered a bug
> in gnome-terminal, and possibly a security problem.  Personally, I
> prefer Eterm or xterm.  Doing a "who" on my system shows all the users
> that are using xterm or Eterm and none of the ones using gnome-terminal.
> 
>       If it's a problem with gnome-terminal, then the solution is to
> report the bug and then quit using gnome-terminal.  There are equally
> viable, usable, terminal programs which don't have this bug.
> 
> > Looking forwad to your feedback
> 
> > dannyh
> 
> > [EMAIL PROTECTED]
> 
> 
> > On Sat, 26 Feb 2000, Zaigui Wang wrote:
> > > I sent out this message sometime ago but did not get much response.
> > > Someone on the list did point out that it has to do with the GNome
> > > manager, but no remedy was suggested. 
> > > 
> > > Can anybody help please?
> > > 
> > > ---------- Forwarded message ----------
> > > Date: Tue, 22 Feb 2000 02:12:34 -0600 (CST)
> > > From: Zaigui Wang <[EMAIL PROTECTED]>
> > > Reply-To: [EMAIL PROTECTED]
> > > To: [EMAIL PROTECTED]
> > > Subject: "who" command does not produce any output?
> > > Resent-Date: 22 Feb 2000 08:13:00 -0000
> > > Resent-From: [EMAIL PROTECTED]
> > > Resent-cc: recipient list not shown: ;
> > > 
> > > I just noticed that the "who" command will nto produce any output. What
> > > could be the problem? I am using rh6.1. 
> > > 
> > > ------ 
> > > 
> > >  | Zaigui Wang         |
> > >  | 650-930-5335(office)|
> > >  | TAOS sysAdmin Inc.  |   
> > > /////////////////////////
> 
>       Mike
> -- 
>  Michael H. Warfield    |  (770) 985-6132   |  [EMAIL PROTECTED]
>   (The Mad Wizard)      |  (770) 331-2437   |  http://www.wittsend.com/mhw/
>   NIC whois:  MHW9      |  An optimist believes we live in the best of all
>  PGP Key: 0xDF1DD471    |  possible worlds.  A pessimist is sure of it!
> 
> 
> -- 
> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> as the Subject.
> 
> 

------ 

 | Zaigui Wang         |
 | 650-930-5335(office)|
 | TAOS sysAdmin Inc.  |   
/////////////////////////


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to