Skip to content

Commit

Permalink
Fixed useradd command, disabled debug
Browse files Browse the repository at this point in the history
  • Loading branch information
strick-j committed Apr 14, 2023
1 parent 31b3ee5 commit 9303ee4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ AUTOPSMP_VERSION="0.0.2-alpha"
VAR_TMP_D="/var/tmp"
VAR_INSTALL_LOG_F=$VAR_TMP_D/autopsmp_install.log
SHOULD_SHOW_LOGS=1
CYBR_DEBUG=1
CYBR_DEBUG=0
DEBUG=0

# Generic Variables
Expand Down Expand Up @@ -664,7 +664,7 @@ function check_maintenance_user() {

function create_user() {
write_to_terminal "Creating ${1} user and setting permissions"
adduser "$1" >/dev/null 2>&1
useradd "$1" >/dev/null 2>&1

local usergroup_array=("wheel" "admin" "PSMConnectUsers")

Expand Down

0 comments on commit 9303ee4

Please sign in to comment.