From 19f8d740b4f267254c502bbe5d3fdeb3d7402a28 Mon Sep 17 00:00:00 2001 From: "Justin Terry (VM)" Date: Fri, 2 Mar 2018 09:56:26 -0800 Subject: [PATCH] Remove sudo and added root check for 16.04 config user --- ubuntu/16.04/config-user.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ubuntu/16.04/config-user.sh b/ubuntu/16.04/config-user.sh index 2c3d110..f0fcd09 100644 --- a/ubuntu/16.04/config-user.sh +++ b/ubuntu/16.04/config-user.sh @@ -7,7 +7,12 @@ # Major thanks to: http://c-nergy.be/blog/?p=10752 for the tips. # -sudo bash -c "cat >~/.xsession <&2 + exit 1 +fi + +bash -c "cat >~/.xsession <