Tips for finding Knowledge Articles

  • - Enter just a few key words related to your question or problem
  • - Add Key words to refine your search as necessary
  • - Do not use punctuation
  • - Search is not case sensitive
  • - Avoid non-descriptive filler words like "how", "the", "what", etc.
  • - If you do not find what you are looking for the first time,reduce the number of key words you enter and try searching again.
  • - Minimum supported Internet Explorer version is IE9
Home  >
article

KB-8020: The Output From the ps Command Displays the UID Instead of Unixname

Centrify DirectControl ,  

30 December,16 at 08:42 PM

Applies to:
  
All versions of Centrify DirectControl

 
Question:
  
When the process status (ps) command is run, the owner of the process is seen as the UID instead of the unixname.  In the image below, there are two Active Directory zone users that are running the sleep command.
  
user 1) unixname = Wade, UID = 1627391111
user 2) unixname = longusername, UID = 1627391376

The output from the ps -ef command is seen below:
  
User-added image
  
Why does the ps command show process owner on one process as the UID, 1627391376, instead of the unixname, longusername, while the second process shows the unixname, Wade, as the process owner?
  
Answer:
  
The output from ps will display the unixname if the unixname is 8 characters or less. Anything longer than 8 characters will cause ps to display the UID. 

Still have questions? Click here to log a technical support case, or collaborate with your peers in Centrify's Online Community.