Yes, you can run SearchBlox service as a non-root user.
Please refer to our installation instructions for Linux on the same.
It is recommended to run searchblox as a non root user since running any application under root user is a security risk.
SearchBlox installation requires a user with sudo permission. Any user with sudo permission can install and configure it. Once it is installed and configured the user ‘searchblox’ or any user to be assigned for the installed SearchBlox home directory and necessary permissions to be given to specific SearchBlox directories.
Any user with sudo privileges can run/execute SearchBlox service and make the configuration changes as required.
If you don’t want to use searchblox user to be created, we can create any other user with non-root access and post installation we need to update the user in service files under ‘Path: /lib/systemd/system/’
[searchblox.service, sbelastic.service, sbanalytics.service to be updated with created non-root user and user group]
We recommend SearchBlox to be installed under /opt/ directory. Users should have install permissions to install the SearchBlox application.
Note: If you don't use searchblox user, installation will be done using searchblox user which is not created. But later after successful installation, we can change the users in service files as mentioned.
https://developer.searchblox.com/docs/installing-on-linux-centos
Comments
0 comments
Please sign in to leave a comment.