Re: UID issue

2005-04-21 Thread Bruce Dubbs
Randy McMurchy wrote: Jeremy Huntwork wrote these words on 04/21/05 07:23 CST: I'm just curious what causes this, whether it's a 2.6.x issue or a ps issue. Belgarath which runs a 2.4 kernel and procps 3.1.8 doesn't seem to have this problem. My username is longer than 8 characters and it

Re: UID issue

2005-04-21 Thread Bruce Dubbs
Jeremy Huntwork wrote: Bruce Dubbs wrote: Randy McMurchy wrote: The kernel version has nothing to do with the display of usernames. It doesn't even know about usernames--only uids and gids. It has to be in the ls/ps code. That makes sense. Might shadow have an effect on this as well?

Re: UID issue

2005-04-21 Thread Bruce Dubbs
Bruce Dubbs wrote: I just did an experiment. I created a user 'averylongname' and ps does indeed change this to a number, but ls -l adjusts the column width to accomodate the long name. Investigating... Investiation complete. The following comment is in the procps source at line 1018 of

Re: UID issue

2005-04-21 Thread Jeremy Huntwork
Bruce Dubbs wrote: Investiation complete. The following comment is in the procps source at line 1018 of ps/output.c: // 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