User doesn't show up with who command

User doesn't show up with who command

Post by Chuck Roy » Wed, 22 Jul 1992 09:23:37



Configuration:  RS/6000 530  AIX 3.2 no patches installed

Does anyone know why a user would NOT show up with a "who" command
even though he is logged in and shows up with "ps"?

{HiRollers:croyer}813: who
croyer      pts/0       Jul 20 06:59                          
   .        pts/1       Jul 17 06:54                          
ddefores    pts/2       Jul 17 07:25                          
croyer      pts/4       Jul 20 16:02                          
croyer      pts/3       Jul 20 06:59                          
efraser     pts/7       Jul 20 15:13          (brahms)        
ehestene    pts/8       Jul 20 12:01                          

{HiRollers:croyer}814: ps | grep tcasey
tcasey   19424  0.0  0.0  344  412      - S    08:29:03  0:01 xterm
tcasey   32227  0.0  0.0  168  360  pts/6 S    08:29:08  0:00 -csh
tcasey   33005  0.0  0.0  156   60  pts/6 S    08:29:20  0:00 rlogin brainiac
tcasey   33259  0.0  0.0  152   40  pts/6 S    08:29:19  0:00 rlogin brainiac
tcasey   33505  0.0  1.0  568  640      - S    08:29:05  0:14 mwm

This seems to happen ONLY with this user.  I have looked at all his startup
files and see nothing terribly out of the ordinary.

******************************************************
                Chuck Royer
******************************************************

 
 
 

User doesn't show up with who command

Post by Fred Stear » Thu, 23 Jul 1992 21:32:25



>Configuration:  RS/6000 530  AIX 3.2 no patches installed

>Does anyone know why a user would NOT show up with a "who" command
>even though he is logged in and shows up with "ps"?

>This seems to happen ONLY with this user.  I have looked at all his startup
>files and see nothing terribly out of the ordinary.

>******************************************************
>            Chuck Royer
>******************************************************

Look for utmpInhibit in ~tcasey/.Xdefaults

 
 
 

User doesn't show up with who command

Post by Jo Ann Mali » Fri, 24 Jul 1992 06:22:59


|>
|> Configuration:  RS/6000 530  AIX 3.2 no patches installed
|>
|> Does anyone know why a user would NOT show up with a "who" command
|> even though he is logged in and shows up with "ps"?
|>
|> {HiRollers:croyer}813: who
|> croyer      pts/0       Jul 20 06:59                          
|>    .        pts/1       Jul 17 06:54                          
|> ddefores    pts/2       Jul 17 07:25                          
|> croyer      pts/4       Jul 20 16:02                          
|> croyer      pts/3       Jul 20 06:59                          
|> efraser     pts/7       Jul 20 15:13          (brahms)        
|> ehestene    pts/8       Jul 20 12:01                          
|>
|> {HiRollers:croyer}814: ps | grep tcasey
|> tcasey   19424  0.0  0.0  344  412      - S    08:29:03  0:01 xterm
|> tcasey   32227  0.0  0.0  168  360  pts/6 S    08:29:08  0:00 -csh
|> tcasey   33005  0.0  0.0  156   60  pts/6 S    08:29:20  0:00 rlogin brainiac
|> tcasey   33259  0.0  0.0  152   40  pts/6 S    08:29:19  0:00 rlogin brainiac
|> tcasey   33505  0.0  1.0  568  640      - S    08:29:05  0:14 mwm
|>
|> This seems to happen ONLY with this user.  I have looked at all his startup
|> files and see nothing terribly out of the ordinary.

We've seen this since 3.1.3 days and still see it at 3.1.7 and 3.2.1. It isn't
any one user or pts, sometimes you will log onto a machine and "w" will give
you only a header and no output -- no one is logged on. Right.

All these levels of AIX also display ghosts, users who used to be on but are
not any longer. Supposedly a problem with the utmp file.

*) *) *) *) *) *) *) *) *) *) *)!(* (* (* (* (* (* (* (* (* (* (* (* (*
Jo Ann Malina, Stanford Linear Accelerator Center

Neither Stanford nor the DOE would be caught dead with these opinions.
Nor do they consult me when formulating theirs.

 
 
 

User doesn't show up with who command

Post by Gary Henders » Sun, 26 Jul 1992 04:08:23


:
: Configuration:  RS/6000 530  AIX 3.2 no patches installed
:
: Does anyone know why a user would NOT show up with a "who" command
: even though he is logged in and shows up with "ps"?
:
: {HiRollers:croyer}813: who
: croyer      pts/0       Jul 20 06:59                          
:    .        pts/1       Jul 17 06:54                          
: ddefores    pts/2       Jul 17 07:25                          
: croyer      pts/4       Jul 20 16:02                          
: croyer      pts/3       Jul 20 06:59                          
: efraser     pts/7       Jul 20 15:13          (brahms)        
: ehestene    pts/8       Jul 20 12:01                          
:
: {HiRollers:croyer}814: ps | grep tcasey
: tcasey   19424  0.0  0.0  344  412      - S    08:29:03  0:01 xterm
: tcasey   32227  0.0  0.0  168  360  pts/6 S    08:29:08  0:00 -csh
: tcasey   33005  0.0  0.0  156   60  pts/6 S    08:29:20  0:00 rlogin brainiac
: tcasey   33259  0.0  0.0  152   40  pts/6 S    08:29:19  0:00 rlogin brainiac
: tcasey   33505  0.0  1.0  568  640      - S    08:29:05  0:14 mwm
:
: This seems to happen ONLY with this user.  I have looked at all his startup
: files and see nothing terribly out of the ordinary.

We have noticed that users who log in with aixterm are listed by who.
Users who log in via xterm are not.

Supposedly, some systems consider this "acceptable" behaviour, but
we have reported it as a bug anyway.  (This does not happen on any
of our other Unix computers).

Gary
--
Gary J. Henderson

#include <std/disclaimer.h>

 
 
 

User doesn't show up with who command

Post by Charles Hann » Thu, 30 Jul 1992 04:38:42




> We have noticed that users who log in with aixterm are listed by who.
> Users who log in via xterm are not.

Make sure `xterm' is setuid root, and that it was compiled with `UTMP'
defined in the (I)makefile.

Also, the user may be using the `-ut' option.

--

  White atheist male (WAM) pride!

 
 
 

User doesn't show up with who command

Post by Charles Hann » Thu, 30 Jul 1992 04:39:54



writes:

Quote:

> Does anyone know why a user would NOT show up with a "who" command
> even though he is logged in and shows up with "ps"?

> {HiRollers:croyer}814: ps | grep tcasey
> tcasey   19424  0.0  0.0  344  412      - S    08:29:03  0:01 xterm
> tcasey   32227  0.0  0.0  168  360  pts/6 S    08:29:08  0:00 -csh
> tcasey   33005  0.0  0.0  156   60  pts/6 S    08:29:20  0:00 rlogin brainiac
> tcasey   33259  0.0  0.0  152   40  pts/6 S    08:29:19  0:00 rlogin brainiac
> tcasey   33505  0.0  1.0  568  640      - S    08:29:05  0:14 mwm

Since he's running `xterm', there are a few possibilities:

1) He has xterm's `utmpInhibit' resource set.

2) He's using xterm's `-ut' option.

3) `xterm' isn't setuid root.

--

  White atheist male (WAM) pride!

 
 
 

1. Who command shows user that doesn't exist?

I've been having a problem with ghost users that show up when the who
command is issued and even show a process pid when I do a who -i but
doesn't exist when I try to kill it and doesn't show up with either a ps
-fu user or ps -ef |grep user.

So far, the only way I've found to get rid of this ghost is to reboot, but
I'm hoping that there is a way to kill it and even better, find out why
the ghost process is showing up.  

It appears to be on pts/0 and looks to be the first login of the
morning.  It is usually a different user name when it happens.  I'm
running AIX 4.3.2 on a H50 and we have both serial (wyse terminals) and
tcp/ip (PC workstations using Tiny Term as the emulator).

It seems to be more of a cosmetic problem then anything, but I'd like to
know what to do about it if there is something that can be done short of
re-booting.

Thanks for any suggestions.

Mike

--
-------------------  
Hillsboro, Oregon
Bouvier des Flandres - Carting, Herding & Clicker Training
WWW:  http://www.europa.com/~mjordan

2. Changing picture in linux_logo.h

3. Who command doesn't show users >= ttyS10

4. Disable sendmail at boot

5. 'last' command doesn't show complete login times

6. printer filter in SunOS 4.1.3

7. chroot'ed /bin/ls doesn't show user and group names

8. Flex/Lex

9. 'su --login user -c command' doesn't run loggin scripts

10. The 'last' command doesn't record users logout

11. Shape Ups,Men's Shape Ups,Men's Skechers Shape Ups - new styles!

12. Who command doesn't show ouput

13. Solaris 7 last command output doesn't show the full name of host