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

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

 

Problem:
 

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 syncpass.pl[19630]: [ID 702911 auth.info] >>> /usr/share/centrifydc/mappers/machine/syncpass.pl : 604 : Cannot find yes command

 

Cause:
syncpass.pl 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.

Workaround:

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 yes.sh in /usr/local/bin;

2)      chmod to make it executable;

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

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