Browse Source

removed admin from sudo as already covered with custom config

Toastie 5 months ago
parent
commit
979b954258
1 changed files with 0 additions and 1 deletions
  1. 0 1
      bootstrap-bookworm.sh

+ 0 - 1
bootstrap-bookworm.sh

@@ -208,7 +208,6 @@ apt-get clean --yes
 [ -z $pwdAdmin ] && pwdAdmin=`pwgen --capitalize --numerals --ambiguous 12 1`
 useradd admin --create-home --shell /bin/bash
 echo "admin:$pwdAdmin" | chpasswd
-usermod -a -G sudo admin
 echo -e "\e[1;33;4;44m🔐 Password for the user admin: $pwdAdmin\e[0m"
 pass=`pwgen --capitalize --numerals --ambiguous 12 1`
 [ -z $pwdRoot ] && pwdRoot=`pwgen --capitalize --numerals --ambiguous 12 1`