|
|
@@ -1028,6 +1028,12 @@ echo "[ * ] Configuring system settings..."
|
|
|
# Create user for php-fpm configs
|
|
|
/usr/sbin/useradd "hestiamail" -c "$email" --no-create-home
|
|
|
# Ensures proper permissions for Hestia service interactions.
|
|
|
+
|
|
|
+# Add a general group for normal users created by Hestia
|
|
|
+if [ -z "$(grep ^hestia-users: /etc/group)" ]; then
|
|
|
+ groupadd --system "hestia-users"
|
|
|
+fi
|
|
|
+
|
|
|
/usr/sbin/adduser hestiamail hestia-users
|
|
|
|
|
|
# Enable SFTP subsystem for SSH
|