From 6bbe5877d76eba086f30d6645f5e0a511b5c625f Mon Sep 17 00:00:00 2001 From: MrDoobPG <46342172+MrDoobPG@users.noreply.github.com> Date: Wed, 23 Oct 2019 21:06:58 +0200 Subject: [PATCH] Update ptsadd --- menu/alias/templates/ptsadd | 2 ++ 1 file changed, 2 insertions(+) diff --git a/menu/alias/templates/ptsadd b/menu/alias/templates/ptsadd index acf15498..4eb0b822 100644 --- a/menu/alias/templates/ptsadd +++ b/menu/alias/templates/ptsadd @@ -4,6 +4,7 @@ if [ $(grep "1000" /etc/passwd | cut -d: -f1 | awk '{print $1}') ]; then usermod -aG sudo $(grep "1000" /etc/passwd | cut -d: -f1 | awk '{print $1}') sudo usermod -s /bin/bash $(grep "1000" /etc/passwd | cut -d: -f1 | awk '{print $1}') sudo usermod -aG video $(grep "1000" /etc/passwd | cut -d: -f1 | awk '{print $1}') + sudo usermod -aG docker $(grep "1000" /etc/passwd | cut -d: -f1 | awk '{print $1}') echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━" echo "" echo " ✅ PASSED ! We found the user UID " $(grep "1000" /etc/passwd | cut -d: -f1 | awk '{print $1}') @@ -26,6 +27,7 @@ else usermod -aG sudo $username sudo usermod -s /bin/bash $username usermod -aG video $username + usermod -aG docker $username echo "" echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━" echo " ✅ PASSED ! User has been added to system!"