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-9200: Why am I getting 'Command not Found' error when running Centrify Terminal commands on a Mac?

Centrify Identity Service, Mac Edition ,  

22 September,17 at 10:51 PM

Applies to: 

Centrify Identity Service, Mac Edition


Question: 

Why am I getting 'Command not Found' error when running Centrify Terminal commands on a Mac?


Answer:

This could be due to a permissions problem.  If this is the case, uninstalling and/or installing a new version of the Centrify Direct Control Agent might not correct the problem.

Most of the Centrify commands are located in:

/usr/local/bin
/usr/local/sbin
/usr/local/share


Use the following to view the permissions:
cd /usr/local

ls -l

The output should look similar to this:
drwxr-xr-x  21 root  wheel  714 Aug  2 09:30 bin
drwxr-xr-x  13 root  wheel  442 Oct 26  2016 lib
drwxr-xr-x  22 root  wheel  748 Aug  2 09:30 sbin
drwxr-xr-x   4 root  wheel  136 Aug  9  2016 share

To change the folder permissions use:
 
chmod 755 <foldername>
 

 

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