LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-23-2008, 11:13 PM   #1
linuxbird
Member
 
Registered: Feb 2006
Distribution: Slackware
Posts: 418

Rep: Reputation: 20
ps shows UID number, not name


Any suggestions on how to fix it when ps shows a UID number, instead of the name?

Thanks.
 
Old 08-24-2008, 03:39 AM   #2
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,189

Rep: Reputation: 49
can you show some sample output and the exact command you are using?
 
Old 08-24-2008, 04:35 PM   #3
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Is it possible a user account got deleted, but still had processes running? If ps comes across a process with a UID that doesn't exist in /etc/passwd (or any other authentication database such as NIS), I believe it just prints out the number.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ps -ef shows UID rather than username bazzagazza Linux - Newbie 5 05-10-2007 04:16 AM
user shows up as a number in ps aux chibi Linux - General 3 05-04-2005 08:40 AM
FREEBSD5.3 platform: PHP setcookie() successful, but $uid = $_COOKIE['uid']; fail tclwp Programming 1 03-30-2005 08:05 PM
BitchX identd shows number instead of my username?? How come? sys7em Slackware 13 01-09-2005 01:57 PM
What file in /etc shows the number of ports? thatgentleman Linux - General 2 03-22-2002 10:38 PM


All times are GMT -5. The time now is 02:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration