From 48087dc98e2767b01ba8e2487f1c1ccd1e02bf4d Mon Sep 17 00:00:00 2001 From: Xavier Petit <32063953+xpetit@users.noreply.github.com> Date: Thu, 12 Sep 2019 18:51:32 +0100 Subject: [PATCH] Remove more user rights --- scripts/install_client.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/install_client.sh b/scripts/install_client.sh index a344dcc24..88c8c83e9 100755 --- a/scripts/install_client.sh +++ b/scripts/install_client.sh @@ -110,7 +110,9 @@ passwd -d root passwd -d student cp /etc/shadow /etc/shadow- -# Remove user ability to use sudo +# Remove user abilities gpasswd -d student sudo +gpasswd -d student lpadmin +gpasswd -d student sambashare . clean.sh