ps does not convert uid to user name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
procps (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
# grep haldaemon /etc/passwd
haldaemon:
# ps -fu haldaemon
UID PID PPID C STIME TTY TIME CMD
113 4041 1 0 00:56 ? 00:00:02 /usr/sbin/hald
113 4047 4042 0 00:56 ? 00:00:00 /usr/lib/
113 4097 4042 0 00:56 ? 00:00:00 /usr/lib/
113 4111 4042 0 00:56 ? 00:00:00 /usr/lib/
113 4112 4042 0 00:56 ? 00:00:00 /usr/lib/
as you can see the uid (113) is listed not the user name, however for other users the name is listed
# ps -fusam|head -2
UID PID PPID C STIME TTY TIME CMD
sam 6452 4452 0 01:13 ? 00:00:00 /usr/bin/
using dapper beta, DISTRIB_ RELEASE= 6.06
procps version 3.2.6-2ubuntu4