diff options
author | Martin Ortega | 2023-11-17 23:21:49 -0600 |
---|---|---|
committer | Martin Ortega | 2023-11-17 23:21:49 -0600 |
commit | f2d908a2a9eb7f456b17ee58685a31f86e1a5f06 (patch) | |
tree | b817546cc7bb59718b1bdaba3fbedecc5f0e7dae | |
parent | de1a29be105bbc24a9ca1aba451791228cf99c3e (diff) | |
download | aur-f2d908a2a9eb7f456b17ee58685a31f86e1a5f06.tar.gz |
adding creation of user and group wazuh
-rw-r--r-- | wazuh-manager.install | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/wazuh-manager.install b/wazuh-manager.install index e6b053dbc2da..d2b73df3a5ee 100644 --- a/wazuh-manager.install +++ b/wazuh-manager.install @@ -1,4 +1,8 @@ post_install() { + echo "creating wazuh user and group" + groupadd -f wazuh + usuario="wazuh" && id "$usuario" &>/dev/null || useradd wazuh -g wazuh + echo "Done!" echo "Visit https://documentation.wazuh.com/current/installation-guide/wazuh-dashboard/step-by-step.html and follow the configure instructions" } |