While running the Authentication Services Installer, the install.sh script may fail with an unexpected error similar to these:
One Identity Safeguard Authentication Services Installation Script
Usage: set [-sabefhkmnprtuvxBCGH] [-A name] [-o[option]] [arg ...]
The Authentication Services tar.gz. the package was extracted in a Windows Computer and then moved or copied to the destination Unix/Linux system.
The scripts (*.sh) had a control character (^M) at the end of each line thus preventing the Unix interpreter to execute properly.
Also, all the *.sh scripts were missing the executable bit (+x) because Windows does not have such an equivalent attribute.
Please make sure that you always unpack the compressed packages made for Unix/Linux environments in the corresponding operating systems and not onto a windows operating system. This will ensure proper extraction and restoration of Unix/Linux style attributes and permissions.
If you have a similar issue with packages coming from a Windows system you can always use
# dos2unix
# chmod +x
Example:
# for f in `find . -name "*.sh"`; do echo $f; dos2unix $f $f; chmod +x $f; echo; done
© 2024 One Identity LLC. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center