-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Basically we partitially revert 793b120 and improve the hawk_invoke so that it works as non-root. To try: 1) install expect zypper in expect 2) add new user, for example alice useradd -m -s /bin/bash -N -g 90 alice passwd alice 3) enable /usr/sbin/ for both alice and hacluster echo 'export PATH=$PATH:/usr/sbin/' >> ~/.bashrc . ~/.bashrc 4) copy the hawk_invoke.sh into /usr/bin To test if all setup correctly do su - alice hawk_invoke.sh alice <pass> 'cibadmin -Ql' su - hacluster hawk_invoke.sh hacluster linux 'cibadmin -Ql' 5) Do the usual routine (start hawk-apiserver and hawk). For example like $ hawk-apiserver -key /etc/hawk/hawk.key -cert /etc/hawk/hawk.pem \ -port7630 -config /etc/hawk/server.json $ HAWK_ENV=development puma -C hawk/config/puma.rb
- Loading branch information
Aleksei Burlakov
committed
Sep 15, 2023
1 parent
1ff135e
commit e81ee7d
Showing
5 changed files
with
56 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters