Jelajahi Sumber

Ensure permissions are set on new installs for admin account

Kristan Kenney 5 tahun lalu
induk
melakukan
8dd8e3fb42
2 mengubah file dengan 6 tambahan dan 0 penghapusan
  1. 3 0
      install/hst-install-debian.sh
  2. 3 0
      install/hst-install-ubuntu.sh

+ 3 - 0
install/hst-install-debian.sh

@@ -1813,6 +1813,9 @@ $HESTIA/bin/v-change-sys-port $port > /dev/null 2>&1
 # Set default theme
 $HESTIA/bin/v-change-sys-theme 'dark'
 
+# Set user account permissions for default 'admin' account
+$HESTIA/bin/v-change-user-role admin admin
+
 # Update remaining packages since repositories have changed
 echo -ne "[ * ] Installing remaining software updates..."
 apt-get -qq update

+ 3 - 0
install/hst-install-ubuntu.sh

@@ -1865,6 +1865,9 @@ $HESTIA/bin/v-change-sys-port $port > /dev/null 2>&1
 # Set default theme
 $HESTIA/bin/v-change-sys-theme 'dark'
 
+# Set user account permissions for default 'admin' account
+$HESTIA/bin/v-change-user-role admin admin
+
 # Update remaining packages since repositories have changed
 echo -ne "[ * ] Installing remaining software updates..."
 apt-get -qq update