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-6205: AIX users with bash shells are getting /bin/cdax/bash does not exist error

Centrify DirectAudit ,  

28 September,16 at 12:10 AM

Applies to: 
Centrify DirectAudit 3.2.3 and higher on AIX 

Problem:  
Users with bash shells are getting errors: 

"DirectAudit was run as -centrifyda and determined that the real executable to run is /bin/bash, however /bin/cdax/bash does not seem to exist, or the current user does not have appropriate execute permissions to start it. Please contact your administrator to either replace /bin/bash with a known good shell binary (for instance: from media, backups or network), modify the execute permissions on /bin/bash, or to manually disable auditing..........."

Cause: 
AIX 7.1 is using a freeware version of bash which doesn't write itself to /etc/shells. 


Workaround:
1) Check if the shell /bin/bash is a real file or a sym link to someplace else (ie /opt/freeware/bin/bash). If it is a sym link it's possible the bash shell was not written to /etc/shells or /etc/security/login.cfg.

2) Add the shells /bin/bash and /usr/bin/bash to the /etc/shells file.

3) Run "dacontrol -e"

The above steps have been known to resolve this issue in cases of the freeware version of bash on AIX. The DA agent relies on these files to know what shells are installed on the system and it adds these shells to /bin/cdax. For some reason this version of bash does not add itself to /etc/shells.  

Resolution:
Since this issue stems from the freeware version of bash shell on AIX which we don't develop for the best we can do is provide this workaround to resolve the issue. 


 

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