[sf-lug] 501 and other anomolies

Tom Haddon tom at greenleaftech.net
Fri Mar 23 11:17:19 PDT 2007


On Fri, 2007-03-23 at 10:37 -0700, Jim Stockford wrote:
>  
> I log into the sf-lug.com machine (you can too, 
> if you ask for a shell account) and run ps aux 
> and see that user 501 is running a bash shell. 
>  
> Well, 501--that's me! I use the command 
> tail -20 /etc/passwd 
> and see jstockford has UID 501 and GID 501. 
>  
> The way things are supposed to work is that 
> "internally", the system uses numbers, but 
> when it prints information to standard out, it 
> converts the number to the user's login name. 

I've come across this before - I think it's when the username is too
long for the ps column output it just uses the UID instead.

Thanks, Tom

>  
> Things aren't working that way. 
>  
> Why? 
>  
> jim 
>  
> _______________________________________________
> sf-lug mailing list
> sf-lug at linuxmafia.com
> http://linuxmafia.com/mailman/listinfo/sf-lug
-- 


----------------------------------
Tom Haddon
mailto:tom at greenleaftech.net
m +1.415.871.4180
www.greenleaftech.net





More information about the sf-lug mailing list