Skip to content

Commit e7cbd5f

Browse files
author
Marges, RSY (Rick)
committed
Make sudo rule more lenient
1 parent 471daba commit e7cbd5f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/templates/20-saphana-rhel.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Cmnd_Alias SOK = /usr/sbin/crm_attribute -n hana_{{ db_sid | lower }}_glob_srHook -v SOK -t crm_config -s SAPHanaSR
66
Cmnd_Alias SFAIL = /usr/sbin/crm_attribute -n hana_{{ db_sid | lower }}_glob_srHook -v SFAIL -t crm_config -s SAPHanaSR
7-
Cmnd_Alias SRREBOOT = /usr/sbin/crm_attribute -n hana_{{ db_sid | lower }}_gsh -v * -l reboot -t crm_config -s SAPHanaSR
7+
Cmnd_Alias SRREBOOT = /usr/sbin/crm_attribute -n hana_{{ db_sid | lower }}_gsh -v * -l reboot
88

99
{{ db_sid | lower }}adm ALL=(ALL) NOPASSWD: SOK, SFAIL, SRREBOOT
1010
Defaults!SOK, SFAIL, SRREBOOT !requiretty

0 commit comments

Comments
 (0)