ps command: too long usernames show up as numbers?
kalinix
calin.kalinix.cosma at gmail.com
Thu Jan 18 12:35:29 UTC 2007
On Thu, 2007-01-18 at 06:02 -0500, Jacques B. wrote:
> > So: is my conclusion correct that usernames above
> > a certain length (longer than 8 chars?) are shown
> > only with the userid number in the 'ps' list?
> >
> > I find this rather surprising....
> >
> > Rob.
>
> Just tested that on my system and your conclusion appears to be
> correct. I created 3 new users: longusername, abcdefgh, abcdefghi. I
> then did a su to each and checked the output of the ps command and
> only abcdefgh (8 characters) showed up as username. The other two only
> displayed their user ID. Good to know if one is grepping the output
> of the ps command for a particular user (either in a script or at the
> command line).
>
> Thanks,
>
> Jacques B
>
It was a previous thread regarding this.
You can find there the explanation :D
Calin
=================================================
The only way to keep your health is to eat what you don't want, drink
what you don't like, and do what you'd rather not. -- Mark Twain
More information about the fedora-list
mailing list