Archived
1
0
Fork 0
This commit is contained in:
Luca Bilke 2024-01-31 08:13:41 +01:00
commit 8573304646

View file

@ -118,7 +118,7 @@ create_user() {
if id -u "$username" >/dev/null 2>&1; then
warn "User \"$username\" already exists, Skipping user creation!"
usermod -aG "$USER_GROUPS" "$username"
usermod -G "$USER_GROUPS" "$username"
else
info "Creating user \"$username\" with the following groups: \"$USER_GROUPS\"..."
useradd -m -G "$USER_GROUPS" "$username"