Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sap_hana_install: Run the hdbuserstore command via su from superuser #847

Open
berndfinger opened this issue Aug 30, 2024 · 0 comments
Open
Assignees

Comments

@berndfinger
Copy link
Member

When running the sap_hana_install role using a non-root user, the task Create and Store Connection Info in hdbuserstore fails with Missing sudo password if the credentials for connecting to the <sid>adm user have not been provided before, because the task is running with <sid>adm as the become_user.

This can be avoided by calling the hdbuserstore command via su from the <sid>adm user.

@berndfinger berndfinger self-assigned this Aug 30, 2024
berndfinger added a commit to berndfinger/community.sap_install that referenced this issue Aug 30, 2024
... when running the hdbuserstore command.

Fixes sap-linuxlab#847.

Signed-off-by: Bernd Finger <bfinger@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant