#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:
[EMAIL PROTECTED]:~# 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:
[EMAIL PROTECTED]:~# 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:
[EMAIL PROTECTED]:~# ls -l /bin/ps
lrwxrwxrwx 1 root root 9 Sep 1 21:18 /bin/ps ->
ps.procps
[EMAIL PROTECTED]:~# ls -l /bin/ps.procps
-r-xr-xr-x 1 root root 96304 Jan 1 1970 /bin/ps.procps
[EMAIL PROTECTED]:~# 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
_______________________________________________
devel mailing list
[email protected]
https://lists.openmoko.org/mailman/listinfo/devel