Skip to content

Commit aff5eb4

Browse files
committed
Fix: keep hestia-users group id outside normal user id range
1 parent 419506b commit aff5eb4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bin/v-add-user

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ echo "$user:$password" | /usr/sbin/chpasswd
6363

6464
# Add a general group for normal users created by Hestia
6565
if [ -z "$(grep ^hestia-users: /etc/group)" ]; then
66-
groupadd "hestia-users"
66+
groupadd --system "hestia-users"
6767
fi
6868

6969
# Add membership to hestia-users group to non-admin users

install/upgrade/0.10.0-190430.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ fi
182182

183183
# Add a general group for normal users created by Hestia
184184
if [ -z "$(grep ^hestia-users: /etc/group)" ]; then
185-
groupadd "hestia-users"
185+
groupadd --system "hestia-users"
186186
fi
187187

188188
# Make sure non-admin users belong to correct Hestia group

0 commit comments

Comments
 (0)