aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolden Rohrer <hr@hrhr.dev>2020-05-03 01:03:55 -0400
committerHolden Rohrer <hr@hrhr.dev>2020-05-03 01:03:55 -0400
commita1776ca6cf875bd534197516f47362fbf8512eb3 (patch)
treeb841b50f112b46d49400e2c04dc5311f80594895
parentc6d893aa8cd802eb27be79fa512843ffdeac2194 (diff)
removed /etc/skel (includes bash stuff by default)
-rwxr-xr-xbuild.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index c4f066d..e73cab9 100755
--- a/build.sh
+++ b/build.sh
@@ -10,6 +10,8 @@ sed 's:#.*$::' services | xargs systemctl enable
ip link
export USE=czar
+rm -r /etc/skel
+mkdir /etc/skel
grep "^$USE" /etc/passwd || useradd -m $USE
usermod $USE -aG wheel -s /bin/zsh
usermod $USE -aG video