Re: ps command: too long usernames show up as numbers?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux