Problem: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
Cause: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.
Resolution: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