From 6e8ec8713e508e75e2b43a09cec5e99d5d24de19 Mon Sep 17 00:00:00 2001 From: Xavier Petit <32063953+xpetit@users.noreply.github.com> Date: Thu, 12 Sep 2019 11:50:33 +0100 Subject: [PATCH] Remove sudo rights for session --- scripts/install_client.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/install_client.sh b/scripts/install_client.sh index 32727d84d..36dd4d3b0 100755 --- a/scripts/install_client.sh +++ b/scripts/install_client.sh @@ -103,4 +103,7 @@ passwd -d root passwd -d student cp /etc/shadow /etc/shadow- +# Remove user ability to use sudo +gpasswd -d student sudo + . clean.sh