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

[doc] Issue in "ENTRY IN SUDO PERMISSIONS /ETC/SUDOERS.D/SAPHANASR FILE" #410

Closed
ksanjeet opened this issue Jan 10, 2024 · 2 comments
Closed
Assignees
Labels

Comments

@ksanjeet
Copy link

ksanjeet commented Jan 10, 2024

ENTRY IN SUDO PERMISSIONS /ETC/SUDOERS.D/SAPHANASR FILE:

https://documentation.suse.com/sbp/sap-15/html/SLES4SAP-hana-scaleout-multitarget-perfopt-15/index.html#id-1.10.12.4

In the example sudoers entry for susTakeover hook the SID should be in uppercase. I suggest we change the sudoer entry
from:
<sid>adm ALL=(ALL) NOPASSWD: /usr/sbin/SAPHanaSR-hookHelper --sid=<sid> *
to:
<sid>adm ALL=(ALL) NOPASSWD: /usr/sbin/SAPHanaSR-hookHelper --sid=<SID> *

When I tested with lowercase sid then takeover is blocked with RC=1. With uppercase SID takeover is permitted.

@chabowski
Copy link
Collaborator

@lpinne @fmherschel would you mind having a look, please? Thank you!

@lpinne
Copy link
Contributor

lpinne commented Jan 11, 2024

Hi,
the guide will be updated per pull request #411.
Thanks for reporting this issue!
Regards,
Lars

@lpinne lpinne closed this as completed Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants