[lug] RE: 'ps' command showing user id # instead of username

D. Stimits stimits at idcomm.com
Sun Oct 7 12:49:53 MDT 2001


"D. Stimits" wrote:
> 
> One possibility is that the ps command, or something that ps references,
> doesn't have permissions to allow it to do the reverse lookups of name.
> Either due to the command, or to a file that is being accessed. Else it
> means the uid given doesn't have a valid name associated with it, that
> would worry me.

Additional note: try logging with:
strace -ops.log ps
(then view the ps.log file)

> 
> D. Stimits, stimits at idcomm.com
> 
> Justin wrote:
> >
> > Well, that is exactly what I thought it was at first too. I have
> > checked that and also removed and re-added the user as well. I have no
> > idea what is going on...
> >
> > Justin
> >
> > > You may want to check this user's passwd (or shadow) entry. This looks
> > > like a symptom of a username not properly mapped to the uid.
> > > James
> > >
> > > _______________________________________________
> > > Web Page:  http://lug.boulder.co.us
> > > Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> > >
> > >
> >
> > -----
> > glow at jackmoves.com
> > www.jackmoves.com
> > _______________________________________________
> > Web Page:  http://lug.boulder.co.us
> > Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug



More information about the LUG mailing list