Merge branch 'main' of https://git.snaile.de/luca/bootstrapper
This commit is contained in:
commit
8573304646
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Reference in a new issue