summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Ortega2023-11-17 23:50:06 -0600
committerMartin Ortega2023-11-17 23:50:06 -0600
commitef351bd252ab3c9c36c99c56ca5145652c43c75f (patch)
tree1e87deac1e3d1e9f10fbc025efc6224e97157b7c
parentf2d908a2a9eb7f456b17ee58685a31f86e1a5f06 (diff)
downloadaur-ef351bd252ab3c9c36c99c56ca5145652c43c75f.tar.gz
correcting user wazuh
-rw-r--r--wazuh-manager.install2
1 files changed, 1 insertions, 1 deletions
diff --git a/wazuh-manager.install b/wazuh-manager.install
index d2b73df3a5ee..28cdc5b9dbb2 100644
--- a/wazuh-manager.install
+++ b/wazuh-manager.install
@@ -2,7 +2,7 @@ post_install()
{
echo "creating wazuh user and group"
groupadd -f wazuh
- usuario="wazuh" && id "$usuario" &>/dev/null || useradd wazuh -g wazuh
+ usuario="wazuh" && id "$usuario" &>/dev/null || useradd -g wazuh -d /var/ossec -s /usr/bin/nologin wazuh
echo "Done!"
echo "Visit https://documentation.wazuh.com/current/installation-guide/wazuh-dashboard/step-by-step.html and follow the configure instructions"
}