mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Setup Script - Fix chown master function
This commit is contained in:
@@ -58,6 +58,10 @@ add_socore_user_notmaster() {
|
||||
|
||||
}
|
||||
|
||||
chown_salt_master() {
|
||||
# Chown the salt dirs
|
||||
chown -R socore:socore /opt/so
|
||||
}
|
||||
configure_minion() {
|
||||
local TYPE=$1
|
||||
|
||||
@@ -401,11 +405,11 @@ if (whiptail_you_sure) then
|
||||
echo "Creating Master Directories"
|
||||
salt_master_directories
|
||||
echo "Adding socore user"
|
||||
add_socore_user
|
||||
add_socore_user_master
|
||||
echo "Updating sudoers file"
|
||||
update_sudoers
|
||||
echo "chmodding salt dirs"
|
||||
chmod_salt
|
||||
echo "chown salt dirs"
|
||||
chown_salt_master
|
||||
echo "calculating es heap size"
|
||||
es_heapsize
|
||||
echo "calculating LS heap size"
|
||||
|
||||
Reference in New Issue
Block a user