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-1697: Numerous "Cannot find yes command" error messages from

Centrify DirectAudit ,   Centrify DirectControl ,   Centrify Identity Service, Mac Edition ,  

12 April,16 at 11:14 AM

Applies to: Centrify DirectControl 4.4.x on Solaris 8



Numerous "Cannot find yes command" error messages filling up syslog. Is there anyway to stop these messages from filling up logs"

Jul 15 06:10:48 testserver[19630]: [ID 702911] >>> /usr/share/centrifydc/mappers/machine/ : 604 : Cannot find yes command


Cause: is used for synchronize the Active Directory password for local mapped users and it uses /usr/bin/yes. However Sun does not provide /usr/bin/yes binary on Solaris 8 platform.


If you are not planning to synchronize password for mapped user, please disable the sync for mapped users group policy via GPO.

a)     Edit GPO : Computer Configuration > Centrify Settings > DirectControl Settings > Login Settings > “Set sync mapped users” group policy by selecting Disabled

b)     Run adgpupdate on the box to refresh GP or wait for next GP replication.

If you want to synchronize password for mapped user, please use attached script file (This script is used to return a echo 'y') to address this issue.

1)      Put attached in /usr/local/bin;

2)      chmod to make it executable;

3)      ln -s /usr/local/bin/ /usr/bin/yes

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