[lug] 'ps' command showing user id # instead of username

Justin glow at jackmoves.com
Thu Oct 4 08:49:06 MDT 2001


I have a weird problem that I've run into before. However, this time I 
can't figure out what the problem is. I have a particular user on a 
box, everything works fine for them. The problem that I see is when 
doing a "ps aux" to see all my running process's, it show that users id 
# for the process's that he is running instead of the username. 

576      15824  0.0  0.6  2156 1192 pts/8    S    18:00   0:00 -bash
576      15857  0.2  0.9  3284 1804 pts/8    S    18:00   0:00 BitchX
glowecon 16150  0.0  0.3  2568  728 pts/11   R    18:04   0:00 ps aux

Of course that 576 should show up as 'jothenull':

[glowecon at deviant glowecon]$ cat /etc/passwd |grep 576       
jothenull:x:576:100:Jothenull:/home/jothenull:/bin/bash
[glowecon at deviant glowecon]$ id jothenull
uid=576(jothenull) gid=100(users) groups=100(users)

When doing a "w" this user showed up correctly though:

[glowecon at deviant glowecon]$ w
  6:04pm  up 41 days, 20:58,  3 users,  load average: 0.00, 0.04, 0.00
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU  WHAT
jothenul pts/8    65.8.73.213       6:00pm  0.00s  0.80s  0.64s  BitchX

And lastly, here is what his /home directory looks like at the root:

drwx------    3 jothenul users        4096 Aug 14 07:46 jothenull/

I'm at a loss as to why this user is not showing up correctly in the 
process list. Anyone have any ideas or something to check next? TIA.

Justin

-----
glow at jackmoves.com
www.jackmoves.com



More information about the LUG mailing list