Implement a role for detecting the SAPCAR executable #979
Replies: 1 comment 1 reply
-
Few ideas I've already implemented in sap.sap_operations.sapcar role Ideas:
In regards to your questions:
"Detecting" binary and running it from download directory does not look like a good security practice to me. If application is not installed on the host, should any one run it on the host - I would argue not. Customers should really have noexec set for all the download directories, not to care what someone downloaded and is it safe to run. See point 1 above about installing sapcar as an application.
Why does it matter if it is symlink, shell script, or something else? When you run any command do you care if it is symlink? You care if it is installed and can be executed. Same with sapcar - just run it, without any parameters it will just print out help. See for instance All above is just personal opinion. |
Beta Was this translation helpful? Give feedback.
-
Let's collect ideas for the functionality of a dedicated sapcar role in the collection
community.sap_install
, replacing the sapcar related logic in the roles:See sap_hana_install: Add individual path for SAPCAR executable #91 (comment)
Questions:
SAPCAR*EXE
file from a directory which has more than oneSAPCAR*EXE
file (e.g. one for each processor architecture), just as in the role sap_hana_install (roles/sap_hana_install/tasks/pre_install/prepare_sapcar.yml)?Beta Was this translation helpful? Give feedback.
All reactions