Bug 219759 - ps doesn't display usernames > 8 characters
Summary: ps doesn't display usernames > 8 characters
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: procps
Version: 6
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Karel Zak
QA Contact: Brian Brock
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-12-15 07:37 UTC by Pavel Urban
Modified: 2007-11-30 22:11 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2006-12-25 20:30:39 UTC


Attachments (Terms of Use)

Description Pavel Urban 2006-12-15 07:37:08 UTC
Description of problem:
When a prosess runs under username with length > 8 characters, only UID is
displayed.

Version-Release number of selected component (if applicable):
procps-3.2.7-8

How reproducible:
Always

Steps to Reproduce:
1. useradd longusername
2. su -
3. ps -f
  
Actual results:
[longusername@mufinek ~]$ ps -f
UID        PID  PPID  C STIME TTY          TIME CMD
500       4070  4069  1 09:31 pts/1    00:00:00 -bash
500       4088  4070  0 09:31 pts/1    00:00:00 ps -f


Expected results:
[longusername@mufinek ~]$ ps -f
UID        PID  PPID  C STIME TTY          TIME CMD
longusername       4070  4069  1 09:31 pts/1    00:00:00 -bash
longusername       4088  4070  0 09:31 pts/1    00:00:00 ps -f

...or maybe the username cut after the eigth character?

Additional info:
Maybe it's just a flavor, but I haven't noticed this behaviour mentioned in
docs/man page/etc

Comment 1 Albert Cahalan 2006-12-25 19:00:14 UTC
http://procps.sourceforge.net/faq.html


Comment 2 Pavel Urban 2006-12-25 20:30:39 UTC
Ahh... so another place to look at. Thanks a lot!


Note You need to log in before you can comment on or make changes to this bug.