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

Re: system users



On Sun, Nov 30, 2008 at 04:29:28PM +0100, Petter Reinholdtsen wrote:
> [Vincent Bernat]
> >> That is nice.  We will be able to get reasonable output under ps
> >> command for exim4 too.
> >
> > You are right. Too long usernames are displayed numerically.
> 
> ps, top and wtmp/utmp (ie w,last, etc) have user name limits.  For ps
> and top, it seem to be the POSIX limit of 8 characters, while
> wtmp/utmp have 32 characters as the limit (see
> /usr/include/bits/utmp.h).  To avoid admins being surprised when using
> ps and top, I would strongly recommend to avoid more than 8 characters
> in usernames.
This unfortunately doesn't match reality. Often you can't even control
how long the usernames might be if you're importing users from other
systems ldap. Not being able to see the full username (at least up to
UT_NAMESIZE, #367428) simply doesn't help and is just an anachronism.
Cheers,
 -- Guido


Reply to: