Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ps aux shows id numbers, not names
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
El_Presidente_Pufferfish
Veteran
Veteran


Joined: 11 Jul 2002
Posts: 1179
Location: Seattle

PostPosted: Sun Dec 19, 2004 3:49 am    Post subject: ps aux shows id numbers, not names Reply with quote

but only sometimes!

running ps aux yields the normal information, except for the USER column.

Code:
...
root       589  0.0  0.0   1360   336 ?        S<s  20:04   0:00 udevd
...
102       8152  0.0  0.1  26512   792 ?        SNl  20:04   0:02 /opt/foldingathome/client1/foldingathome -advmethods
...
mysql     9378  0.0  0.7  23336  3716 ?        Sl   20:04   0:00 /usr/sbin/mysqld
...
1000     10854  0.1  2.2  15492 11808 ?        Ss   20:05   0:12 xchat-2


It correctly shows things running as root as root, and mysql works too, but otherwise it shows 1000 for my user ( pufferfish ), and 102 for foldingathome

I assume the proper format is to show the username always.
Back to top
View user's profile Send private message
papal_authority
Veteran
Veteran


Joined: 31 Mar 2004
Posts: 1823
Location: Canada

PostPosted: Sun Dec 19, 2004 4:26 am    Post subject: Reply with quote

Did the UIDs in /etc/passwd get edited?
_________________
The free market gave me gonorrhea.
Back to top
View user's profile Send private message
El_Presidente_Pufferfish
Veteran
Veteran


Joined: 11 Jul 2002
Posts: 1179
Location: Seattle

PostPosted: Sun Dec 19, 2004 2:20 pm    Post subject: Reply with quote

I dunno, what should the entry look like
right now it's
Code:
pufferfish:x:1000:100:,,,:/home/pufferfish:/bin/bash
Back to top
View user's profile Send private message
papal_authority
Veteran
Veteran


Joined: 31 Mar 2004
Posts: 1823
Location: Canada

PostPosted: Sun Dec 19, 2004 3:46 pm    Post subject: Reply with quote

Okay I figured it out. It's because pufferfish is too long a string. The maximum is 8 characters. HTH :D
_________________
The free market gave me gonorrhea.
Back to top
View user's profile Send private message
El_Presidente_Pufferfish
Veteran
Veteran


Joined: 11 Jul 2002
Posts: 1179
Location: Seattle

PostPosted: Sun Dec 19, 2004 5:21 pm    Post subject: Reply with quote

i cant make it truncate it or anything?
Back to top
View user's profile Send private message
landon
Apprentice
Apprentice


Joined: 09 Mar 2004
Posts: 159

PostPosted: Sun Dec 19, 2004 5:36 pm    Post subject: Reply with quote

vipw + vigr,

and shorten it to p-diddy.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum