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  >

KB-10575: id: cannot find name for user ID

Authentication Service ,  

27 June,18 at 06:07 PM


When running id or whoami from the command line interface (CLI), the Unix username is not returned and the error "cannot find name for user ID" is returned.  It is possible that the error, "No such user" could also be seen.
-bash-4.1$ id
id: cannot find name for user ID 1234567890

-bash-4.1$ whoami
whoami: cannot find name for user ID 1234567890

[root@server ~]# id dwirth
id: dwirth: No such user


The /var directory needs to have 755 or rwxr-xr-x permissions, so that the Centrify socket files (/var/centrifydc/daemon and /var/centrifydc/daemon2) can be reached and accessed correctly.


Verify the /var directory has the correct permissions (755 or rwxr-xr-x).
ls -al /var
drwxr-xr-x. 26 root root 4096 May 15 12:07 .

If they are not correct, they can be changed using the chmod command.
chmod 755 /var
After changing the permissions, restart the Centrifydc agent.
/usr/share/centrifydc/bin/centrifydc restart