home · contact · privacy
Add sudo and add user plom to sudo group.
authorChristian Heller <c.heller@plomlompom.de>
Sun, 7 Apr 2019 01:47:02 +0000 (03:47 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Sun, 7 Apr 2019 01:47:02 +0000 (03:47 +0200)
buster/apt-mark/eeepc
buster/setup_scripts/setup_eeepc.sh

index bcdce2a5057a120ce1e8871f86ba653f3fca2a0e..5181ac4c62b3603bdcbcd3aaa7cfd97b6ef5cc5d 100644 (file)
@@ -20,16 +20,18 @@ libpam-systemd
 i3
 i3status
 suckless-tools
+xterm
 # to get sleepy at night
 redshift
 # for alsamixer
 alsa-utils
 # browser
 firefox-esr
+# for xterm and browser unicode display
+ttf-unifont
 # also useful
+sudo
 less
 man-db
 manpages
-# for xterm and browser unicode display
-ttf-unifont
 
index 86023781a320f246dbd9136eb1e79f62d10c6e44..f7710b5c319486708c8a677b79a037f411fb59c9 100755 (executable)
@@ -16,6 +16,7 @@ cd "${setup_scripts_dir}"
 
 if [ ! -d "/home/plom" ]; then
     adduser --disabled-password --gecos "" plom
+    usermod -a -G sudo plom
     su -c "cd && git clone https://plomlompom.com/repos/clone/config" plom
     su -c "~/config/buster/setup_scripts/copy_dirtree.sh ~/config/buster/home_files ~ eeepc" plom
 fi