Openmoko Bug #1951: ps u does not show all user names

Openmoko Public Trac bugs at docs.openmoko.org
Tue Sep 2 11:13:01 CEST 2008


#1951: ps u does not show all user names
----------------------+-----------------------------------------------------
 Reporter:  h.koenig  |          Owner:  openmoko-devel
     Type:  defect    |         Status:  new           
 Priority:  normal    |      Milestone:                
Component:  unknown   |        Version:                
 Severity:  normal    |       Keywords:                
Blockedby:            |   Reproducible:                
 Blocking:            |  
----------------------+-----------------------------------------------------
 "ps uax" does not show user _names_ for uid 44 and 45:

 root at om-gta02:~# ps uax | grep -v root
 USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
 daemon    1352  0.0  0.3   1500   380 ?        Ss   Sep01   0:00
 /sbin/portmap
 44        1401  0.1  0.7   2376   884 ?        Ss   Sep01   0:48 /usr/bin
 /dbus-daemon --system
 45        1408  0.0  1.7   4524  2112 ?        Ss   Sep01   0:05
 /usr/sbin/hald
 avahi     1440  0.0  1.1   2832  1408 ?        Ss   Sep01   0:00 avahi-
 daemon: running [om-gta02.local]
 nobody    1491  0.0  1.2   4296  1568 ?        S<s  Sep01   0:00 gpsd
 /dev/ttySAC1

 but there are defined in /etc/passwd:

 root at om-gta02:~# egrep '44|45' /etc/passwd
 messagebus:x:44:64004:Linux User,,,:/var/run/dbus:/bin/sh
 haldaemon:x:45:64006:HAL:/var/run/hald:/bin/sh


 this is Om 2008.8 + updates:

 root at om-gta02:~# ls -l /bin/ps
 lrwxrwxrwx    1 root     root            9 Sep  1 21:18 /bin/ps ->
 ps.procps

 root at om-gta02:~# ls -l /bin/ps.procps
 -r-xr-xr-x    1 root     root        96304 Jan  1  1970 /bin/ps.procps

 root at om-gta02:~# opkg list_installed procps
 procps - 3.2.7-r5 -

-- 
Ticket URL: <https://docs.openmoko.org/trac/ticket/1951>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac


More information about the buglog mailing list