Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86821 - sys-process/procps 3.2.4-r3 ps command lists usernames over 8 chars as user id #'s
Summary: sys-process/procps 3.2.4-r3 ps command lists usernames over 8 chars as user...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 200734 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-03-26 19:20 UTC by Charles Becker
Modified: 2007-11-29 11:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Charles Becker 2005-03-26 19:20:21 UTC
The ps command lists userid numbers instead of usernames in the username column. This only applies to usernames over 8 characters. I have procps 3.2.4-r3.

Reproducible: Always
Steps to Reproduce:
1.get sys-process/procps 3.2.4-r3
2.create a user with more than 8 chars in the username
3.type "ps aux" at the command line and see usernames appear as userid numbers

Actual Results:  
1000      7231  0.0  2.3 144928 12116 ?        S    05:33   0:26 gaim
1000      8290  0.0  1.2  84316  6656 ?        S    15:39   0:15 xchat-2
1000      8323  0.0  0.0   4612   256 ?        S    15:48   0:00 /bin/bash 

Expected Results:  
transistor    7231  0.0  2.3 144928 12116 ?        S    05:33   0:26 gaim
transistor    8290  0.0  1.2  84316  6656 ?        S    15:39   0:15 xchat-2
transistor    8323  0.0  0.0   4612   256 ?        S    15:48   0:00 /bin/bash
Comment 1 SpanKY gentoo-dev 2005-03-28 20:25:12 UTC
from the procps source code:
// The Open Group Base Specifications Issue 6 (IEEE Std 1003.1, 2004 Edition)
// requires that user and group names print as decimal numbers if there is
// not enough room in the column, so tough luck if you don't like it.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-11-29 11:07:56 UTC
*** Bug 200734 has been marked as a duplicate of this bug. ***